| name | dev-workflow |
| description | Feature development workflow. Propose a change, plan implementation, execute with gates, and verify. |
Development Workflow
End-to-end workflow for implementing changes: propose, plan, execute, verify, and optionally archive.
Phase A - Propose
-
Determine the change tier:
- Full: cross-module, architecture, new capabilities, breaking changes
- Light: single-module, well-scoped, limited blast radius
-
Create a change document:
- Full tier: copy
docs/changes/template.md to docs/changes/YYYY-MM-DD-<slug>/README.md
- Light tier: copy
docs/changes/template-light.md to docs/changes/YYYY-MM-DD-<slug>/README.md
-
Fill in the document and set status to Proposed
Phase B - Plan
After the change proposal is accepted:
- Consult relevant module specs in
docs/modules/<module>/spec.md
- Identify affected files, contracts, and tests
- Break the implementation into concrete, ordered steps
- Present the plan for confirmation before proceeding
Phase C - Execute
Implement with quality gates:
- Build gate: ensure the code compiles after each logical unit of work
- Test gate: run existing tests after each unit; add new tests for new behavior
- Review gate: check for determinism violations, memory safety, and spec compliance
Mark each step complete as you go.
Phase D - Verify and Archive
- Run the full build and test suite
- Update affected module specs in
docs/modules/ if contracts changed
- Update the change document status to
Implemented
- Optionally use the
archive skill to move the completed change to docs/_archive/
Notes
- If the change is a simple bug fix or typo, skip to Phase C directly
- Always consult module specs before modifying code in unfamiliar areas
- When code conflicts with specs, code takes precedence, but update specs afterward