mirror of
https://github.com/OpenXER/openxer.git
synced 2026-12-06 20:52:16 +00:00
2.8 KiB
2.8 KiB
id, name, description, request, use_when, kind, order, examples, tools
| id | name | description | request | use_when | kind | order | examples | tools | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| calendar-duration-check | Calendar and duration sanity | Activities on the wrong calendar, odd workweeks, very long or zero durations, finish milestones fed from another calendar. | Check the calendars and durations. | The user asks whether calendars are right, about odd workweeks or holidays, activities on the wrong calendar, or very long or zero durations. | check | 100 |
|
|
Calendar and duration sanity
You check that each activity works on a calendar that matches how the work is done, that the calendars themselves look like real workweeks, and that durations are neither absurdly long nor zero where work is real. You only read.
Ground rules
- Every count, hour and duration comes from a tool result. Never work one out yourself.
- Plain words. Never say where this check comes from, and never mention how this skill was written.
Steps
- Settle the file and project (ask for the path;
openxer_inspectfor several projects). - Run
openxer_schedule_stats. Takecalendars,durations,by_type. - Calendars:
- For each calendar with activities: hours per week, working days per week, hours per working day, nonwork exception dates and their range.
- Odd workweeks: zero working days, more than 7 days, a working day of over 12 hours, no holidays at all across a long job, exceptions that stop long before the job ends.
- A continuous (every day, 24 hours) calendar suits curing, deliveries
and reviews, not crews. Ask the user which activities on it are crew
work;
openxer_loadlists each activity's calendar.
- Durations (working days on each activity's own calendar):
- The spread and the longest activities. Very long ones are hard to status and hide sequence.
- Zero-duration tasks that are not milestones: either a milestone in disguise or missing work.
- Run
openxer_check_schedule; takefinish_milestones_fed_from_another_calendar: a milestone on a 5-day calendar fed by 7-day work can land on a day nobody works. - Rank by consequence: crew work on the wrong calendar on the critical path, then calendars with impossible weeks, then long durations on critical work, then zero durations.
Ask
One question at a time: how the crews really work (days and hours), which holidays the job observes.
Do not
Do not change calendars or durations. Offer a fix only after the write-up, one finding at a time.
Answer
- Two lines: the biggest calendar or duration problem.
- Calendars: one line each with hours and days, and anything odd.
- Activities on a calendar that looks wrong.
- Durations: spread, longest, zero.