- A phase is now a directory: 00_phase.md (overview + task index) plus small, quick NN_task.md task files; complete/ mirrors todo/ - Task is the unit of execution: run-task.sh (one unit), run-phase.sh (phase to completion incl. 00_phase.md final pass), auto-phase.sh (all units in order); validate.sh gate runs after every task - PHASE_COMMIT commits at phase boundaries (00_phase.md / legacy file moves) - Legacy flat todo/NN_name.md files still execute as a single unit; new migrate-phases-to-tasks.sh converts them to the directory layout - phase-status.sh reports per-task state and the next unit - New task-template.md; phase templates now carry a Tasks index
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# Phase {{NN}} — {{Short Title}}
|
||
|
||
**Feature:** `{{.agent/workflows/<name>.md | .agent/features/<name>.md | .agent/user_stories/<name>.md | "n/a"}}`
|
||
**Context:** `{{PLAN.md sections / files this phase builds on}}`
|
||
|
||
## Objective
|
||
{{1–3 sentences: what this phase delivers (the delta from current state to the contract)}}
|
||
|
||
## Dependencies
|
||
- `{{NN_name}}` ({{complete|todo}}) — {{what is needed from it}}
|
||
{{or "— (none)"}}
|
||
|
||
## Tasks
|
||
1. `01_{{short_name}}.md` — {{one-line summary}}
|
||
2. `02_{{short_name}}.md` — {{one-line summary}}
|
||
|
||
## Testing & Quality
|
||
- Unit/integration: {{tests required for all new/modified logic — name the behaviors to cover}}
|
||
- Coverage: **>90%** on new/modified code
|
||
{{project additions, e.g. the CLI Contract Execution Phase / Capability Execution Phase / Playwright Execution Phase block}}
|
||
|
||
## Completion Criteria
|
||
- [ ] {{observable check: command to run / endpoint to hit / artifact to exist}}
|
||
- [ ] test suite green, coverage >90%
|
||
- [ ] no behavior change in completed phases
|
||
{{project additions, e.g. a commit command per AGENTS.md conventions}}
|