This file defines binding runtime behavior for agents in this workspace.
Goal: keep execution deterministic and lightweight while preserving bootstrap artifacts for future reuse.
Applies to this template project only.
- Filesystem state
03_LEVITICUS/Contracts/project_charter.md- Canonical project artifacts (latest
03_LEVITICUS/PROJECT_ROADMAP_v<INTEGER>.md,03_LEVITICUS/STATE_SUMMARY.md, canonical phase receipts under03_LEVITICUS/Execution/) - Chat output
Chat is never authoritative over repository state.
Scaffold placeholders may exist at canonical generated-output paths in a fresh clone. Scaffold placeholders do not count as generated artifacts.
Bootstrap is complete when any generated roadmap artifact matching
03_LEVITICUS/PROJECT_ROADMAP_v<INTEGER>.md exists.
A roadmap artifact counts as generated only when it contains at least one phase
block heading matching:
### PHASE <IDENTIFIER> - <TITLE>
- If roadmap exists: Execution Mode
- If roadmap does not exist: Bootstrap Mode
No manual flags are required.
- latest
03_LEVITICUS/PROJECT_ROADMAP_v<INTEGER>.md 03_LEVITICUS/STATE_SUMMARY.md03_LEVITICUS/Contracts/project_charter.md
03_LEVITICUS/Core/STATE_SUMMARY_SCHEMA_v1.md03_LEVITICUS/Core/RESUME_PROTOCOL_v1.md03_LEVITICUS/Core/PHASE_COMPLETION_RECEIPT_SCHEMA_v1.md03_LEVITICUS/Core/FAILURE_CODES_v1.md03_LEVITICUS/Prompts/Runtime/resume.md03_LEVITICUS/Prompts/Runtime/resume_phase.md03_LEVITICUS/Prompts/Runtime/record_phase_completion.md03_LEVITICUS/Prompts/Runtime/status_sync.md03_LEVITICUS/Prompts/Runtime/validate_phase.md
03_LEVITICUS/Core/REQUIREMENTS_LEDGER_SCHEMA_v1.md- Required for
/derive_requirements,/create_map_v2,/validate_map_v2, and repair operations on the seed-to-roadmap planning bridge.
- Required for
03_LEVITICUS/Core/ROADMAP_SCHEMA_v2.md- Required for create/restructure/repair/validate operations on the active roadmap structure.
- Not required for normal task execution or routine state updates.
03_LEVITICUS/Core/SLASH_COMMAND_SPECS_v1.md- Read only when command contract behavior is being changed or validated.
03_LEVITICUS/Core/DRIFT_FAILURE_RULES_v1.md- Read when drift is suspected, during audits, or while enforcing recovery behavior.
01_GENESIS/*IDEA*.md(original ideation source files)03_LEVITICUS/Core/GENESIS_SEED_PROMPT_v1.md03_LEVITICUS/Core/REQUIREMENTS_DERIVATION_PROMPT_v1.md03_LEVITICUS/Core/COMPONENT_REALIZATION_MAP_SCHEMA_v1.md03_LEVITICUS/Core/COMPONENT_REALIZATION_PROMPT_v1.md03_LEVITICUS/Prompts/Bootstrap/seed.md03_LEVITICUS/Prompts/Bootstrap/derive_requirements.md03_LEVITICUS/Prompts/Bootstrap/realize_components.md03_LEVITICUS/Core/PLANNER_TO_ROADMAP_TRANSFORMATION_PROMPT_v2.md03_LEVITICUS/Prompts/Bootstrap/create_map_v2.md
When roadmap does not exist, read and use:
01_GENESIS/*IDEA*.md(if present)01_GENESIS/PROJECT_SEED.md- If present only as a scaffold placeholder, overwrite it with generated seed
content before
/derive_requirements.
- If present only as a scaffold placeholder, overwrite it with generated seed
content before
01_GENESIS/REQUIREMENTS_LEDGER.md- If present only as a scaffold placeholder, overwrite it with generated
requirements content before
/create_map_v2.
- If present only as a scaffold placeholder, overwrite it with generated
requirements content before
01_GENESIS/COMPONENT_REALIZATION_MAP.md- If present only as a scaffold placeholder, overwrite it with generated
realization content before
/create_map_v2.
- If present only as a scaffold placeholder, overwrite it with generated
realization content before
03_LEVITICUS/Core/GENESIS_SEED_PROMPT_v1.md03_LEVITICUS/Core/REQUIREMENTS_LEDGER_SCHEMA_v1.md03_LEVITICUS/Core/REQUIREMENTS_DERIVATION_PROMPT_v1.md03_LEVITICUS/Core/COMPONENT_REALIZATION_MAP_SCHEMA_v1.md03_LEVITICUS/Core/COMPONENT_REALIZATION_PROMPT_v1.md03_LEVITICUS/Prompts/Bootstrap/seed.md03_LEVITICUS/Prompts/Bootstrap/derive_requirements.md03_LEVITICUS/Prompts/Bootstrap/realize_components.md03_LEVITICUS/Core/PLANNER_TO_ROADMAP_TRANSFORMATION_PROMPT_v2.md03_LEVITICUS/Prompts/Bootstrap/create_map_v2.md03_LEVITICUS/Core/ROADMAP_SCHEMA_v2.md
Output of bootstrap phase:
01_GENESIS/PROJECT_SEED.mdon seed generation01_GENESIS/REQUIREMENTS_LEDGER.mdon requirements derivation01_GENESIS/COMPONENT_REALIZATION_MAP.mdon component realization03_LEVITICUS/PROJECT_ROADMAP_v1.mdon initial generation03_LEVITICUS/PROJECT_ROADMAP_v<INTEGER+1>.mdon explicit revision
After roadmap creation, return to Execution Mode automatically.
Expected bootstrap sequence:
/seed/derive_requirements/realize_components/create_map_v2
Project-defining bootstrap semantics originate from 01_GENESIS/IDEA.md and
approved bootstrap contracts only.
The following are derived artifacts:
01_GENESIS/PROJECT_SEED.md01_GENESIS/REQUIREMENTS_LEDGER.md01_GENESIS/COMPONENT_REALIZATION_MAP.md03_LEVITICUS/PROJECT_ROADMAP_v<INTEGER>.md
Rules:
- During an active bootstrap run, an agent may scaffold, backfill, and rewrite bounded sections inside the artifact currently being produced.
- During an active bootstrap run, an agent may correct bootstrap prompt or schema artifacts and rerun the earliest affected bootstrap stage until a schema-valid downstream output is reached.
- Once a derived artifact has been successfully emitted by its producing bootstrap command, semantic repair of that artifact must occur by rerunning the earliest affected bootstrap stage rather than hand-editing the completed derived artifact.
- Write order inside a producing bootstrap command is not semantically authoritative; only the final emitted artifact is authoritative.
- Do not bypass regeneration by manually repairing downstream derived artifacts.
Roadmap updates are allowed only with explicit revision intent.
Valid reasons:
- Missing requirement from seed discovered
- Dependency or constraint changes ordering/scope
- Scope correction required for feasibility
- New mandatory work introduced
Rules:
- No silent structural edits
- Record revision reason in the superseding roadmap metadata block
- Record execution impact in
03_LEVITICUS/STATE_SUMMARY.mdonly when the revision changes active execution risks or deferrals - Preserve prior intent when superseding sections
- Do not treat chat memory as canonical state.
- Do not auto-promote bootstrap artifacts into runtime context.
- Do not rewrite evidence/log intent without explicit instruction.
- Detect mode by generated roadmap existence, not raw file presence.
- Load only files allowed by that mode.
- In Execution Mode, run
/status_syncfirst. - Execute work from roadmap phases via
/resume,/record_phase_completion, and/resume_phaseas required by roadmap exit criteria. - Update state summary with progress and decisions.