Execute the next runnable phase
Pick up and execute the next phase in the development plan.
Procedure
Follow the BUILD loop defined in AGENTS.md:
- Read first (mandatory before any work):
.unpack/docs/index.md.unpack/docs/_meta/workflow.md.unpack/docs/_meta/project-memory.md(if it exists).unpack/docs/practices/*(loaded standards for this project)- All phase files in
.unpack/docs/phases/
- Select the next runnable phase:
- Status is NOT
doneorabandoned - All
depends_onphases aredone - If multiple phases are runnable, pick the lowest-numbered one
- If no phase is runnable (all blocked or done), report that to the user
- If the phase has open questions: ask the user, set status to
blocked, record the questions.
- Execute the phase:
- Work through the ordered work items
- Check off each item as completed
- Follow loaded standards in
.unpack/docs/practices/*for code style, naming, structure - Implement only what is in-scope for this phase
- Run the test plan specified in the phase file. If tests fail, fix and re-run.
- Update everything:
- Phase file: status, checkboxes, timestamps
.unpack/docs/index.md: phase status table, current focus- Any affected specs (if behavior/architecture changed)
.unpack/docs/_meta/project-memory.md: append new decisions- Create ADRs for significant decisions
- Steering check: if during implementation you discover scope/architecture/constraint changes:
- Stop at the smallest safe boundary
- Create a new
kind: steeringphase - Update dependencies and
.unpack/docs/index.md - Add a decision entry in project-memory.md
- Report the steering to the user
- Report what was done, what passed, and what's next.