976 B
976 B
| deferred_work_file |
|---|
| {implementation_artifacts}/deferred-work.md |
Step 2: Plan
Instructions
- Investigate the codebase and relevant context files.
- Read
./spec-template.mdfully. - Write
{spec_file}from the template. - Self-review the spec:
- one goal
- actionable tasks
- testable acceptance criteria
- no placeholders
- If intent is still unclear, write a
CRITICALescalation (type: intent-gap) and end the run. - If the scope is truly multi-goal or the spec exceeds 4000 tokens:
- keep the main goal in
{spec_file} - append each deferred secondary goal to
{deferred_work_file}using./deferred-work-format.md - rewrite the spec to match the narrowed scope
- keep the main goal in
- Re-read
{spec_file}from disk. - If it is missing or empty, write a
CRITICALescalation (type: spec-write-failure) and end the run. - Set the spec frontmatter
status:toready-for-dev.
Next
Read fully and follow ./step-03-implement.md.