How hamzaabduljabbar/autoconst-boq-schedule works
This Claude-assisted tool turns a text BOQ into a cost-loaded Primavera P6 draft. The main workflow extracts BOQ lines, has Claude classify them by trade and location, validates those decisions, gathers planner inputs, then builds activities and logic before exporting an XER for P6. The engine uses rates and link patterns learned from real schedules; the README also documents unit checks, duration calibration, location waves, and reporting. Edges reflect the README or shown source; the rates-file connection is unverified in the excerpts.
Main entry points: plan.py Schedule planner · apply_types.py Typing validator · export.py P6 XER exporter · questions.py Planner questions
Components 18
BOQ Intake
- BOQ reader
scripts/read_boq.py - BOQ brief
Typing Review
- Typing decisions
- Typing validator
scripts/apply_types.py - Work types
scripts/worktypes.py - Typed lines
Planner Inputs
- Planner questions
scripts/questions.py - Planner answers
Schedule Engine
- Schedule planner
scripts/plan.py - Schedule rates
data/rates.json - Draft schedule
P6 Delivery
- Build orchestrator
scripts/build.py - P6 XER exporter
scripts/export.py - XER template
data/xer_template.json
Other components
- BOQ file
- Claude
- Planner
- Primavera P6
Connections 21
- BOQ file → BOQ reader: provides BOQ
README.md - BOQ reader → BOQ brief: writes brief
README.md - BOQ brief → Claude: presents lines
README.md - Claude → Typing decisions: classifies lines
README.md - BOQ brief → Typing validator: reads lines
scripts/apply_types.py - Typing decisions → Typing validator: reads decisions
scripts/apply_types.py - Typing validator → Work types: uses types
scripts/apply_types.py - Typing validator → Typed lines: writes lines
scripts/apply_types.py - Typed lines → Planner questions: provides lines
scripts/questions.py - Planner questions → Schedule planner: runs draft
scripts/questions.py - Planner questions → Planner answers: writes questions
scripts/questions.py - Planner → Planner answers: fills answers
README.md - Planner answers → Build orchestrator: configures build
scripts/build.py - Build orchestrator → Schedule planner: invokes planner
scripts/build.py - Schedule planner → Work types: uses work types
scripts/plan.py - Schedule planner → Schedule rates: reads rates
- Schedule planner → Draft schedule: writes schedule
scripts/plan.py - Build orchestrator → P6 XER exporter: invokes exporter
scripts/build.py - Draft schedule → P6 XER exporter: reads schedule
scripts/export.py - P6 XER exporter → XER template: loads template
scripts/export.py - P6 XER exporter → Primavera P6: imports into P6
README.md