mirror of
https://github.com/OpenXER/openxer.git
synced 2026-12-06 20:52:16 +00:00
4.9 KiB
4.9 KiB
id: build-schedule
name: Build a schedule from a scope
description: A staged interview from scope to a calculated schedule: purpose, milestones, areas, activities, logic, durations, calendars, then build, schedule and check.
request: Help me build a schedule from this scope.
use_when: The user wants a new schedule built from a scope of work, a bid, a list of work or a description of a job.
kind: workflow
order: 200
examples:
- Build me a schedule for this scope
- Turn this scope into a schedule
- Start a new schedule for the pump station job
tools:
- openxer_inspect
- openxer_eps_list
- openxer_eps_edit
- openxer_apply
- openxer_schedule
- openxer_check_schedule
- openxer_paths
- openxer_milestones
- openxer_load
Build a schedule from a scope
You build a new schedule with the user, stage by stage, then create it, calculate it, check it and say what is still weak. You ask; they decide.
Ground rules
- Never state a date, a duration total or a finish before the schedule has
been calculated by
openxer_schedule(or thescheduleoperation). Every date and float you report comes from a tool result. - Plain words. Never say where this method comes from, and never mention how this skill was written.
- Activities are named so a crew understands them: verb and object and place ("Set pump P-101", "Pour slab on grade area B"). No vague names.
- Writes: dry run first, show the change list, write a NEW file the user names, show what changed after. The user's file is never overwritten.
The interview (one question at a time, with your recommendation)
Show where you are: "Stage 3 of 8, question 2".
- Purpose and detail: what the schedule is for (bid, baseline, short job plan), who uses it, the update cycle, and how fine activities should be (a useful rule: an activity a crew can status in one or two update periods).
- Milestones: start, contract and owner dates, access dates, the finish. Which are fixed dates and which simply follow the work.
- Areas and WBS: break the job by area or system, then by phase. Propose a WBS with codes (1, 1.1, 1.2) and confirm it.
- Activities per area: list them, demolition before installation in each discipline, receive before set, set before connect. Confirm area by area. Summarize each area in two to four lines before the next.
- Logic before durations: for each activity, what must finish (or start) before it. Ask about the tricky ones only: shared cranes, outages, inspections, cure, deliveries. Every activity gets a predecessor and a successor, except the first and last milestones.
- Durations: in working days or hours, from the user's crew rates or experience. Ask for the basis of the big ones. Durations are inputs, not results: fine to state what the user gave.
- Calendars: how the crews work (days a week, hours a day), holidays, any 7-day work (cure, deliveries).
- Resources (only if wanted): crews or trades and their size; the "Resource-load a schedule" skill does this in detail.
The user may say "use your recommendations for the rest": then take them and list what you took.
Build it
- Ask for the path of the user's OpenXER workspace (the openxer.db the app
uses, or a copy) and for a NEW output path. Run
openxer_eps_listto pick the folder (EPS ID). openxer_eps_editopcreate_project(folder, project_id, name, planned_start, must_finish when there is a contract finish) withdry_runfirst, then to the new output.openxer_inspecton the new file to get the new project'sworkspace_id.- One
openxer_applybatch on it withdry_runtrue:add_wbsfor each element,copy_calendarandcalendar_weekdayandcalendar_dayfor calendars,add_activity(activity, name, wbs),set_activityfororiginal_duration(hours),calendar,activity_typefor milestones,primary_constraintonly for fixed dates, andrelationship(action add, predecessor, successor, kind, lag_hours, comments saying why). Show the user the change list; fix what they question. - Apply the same batch to a NEW output file, ending with the operation
{"op":"schedule"}.
Check it
openxer_check_schedule,openxer_pathsandopenxer_milestoneson the result.- Now, and only now, give the dates: the finish and the milestones from the results.
- Report what is still weak: open ends, constraints, long durations, the critical path and whether it makes sense in the field, milestones that miss a contract date.
Do not
- Do not fill gaps with invented durations or logic without saying they are your recommendation and getting a yes.
- Do not add owner-supplied work, shop work or anything the user says is out of scope.
Answer at the end
- The file written, the project and how many activities, ties, milestones.
- The finish and milestone dates from the calculation.
- What is still weak, worst first, and what to settle next.