| name | spec-pipeline |
| description | Explains the required sequence and success signals for each stage. |
Spec pipeline (ADR → PRD → SDS → SEA → Codegen)
Sequence
- ADR (decisions + constraints)
- PRD (requirements satisfying ADR IDs)
- SDS YAML (design satisfying PRD IDs)
- SEA (domain + flows, Flow-only CQRS tagging)
- Run
nx run workspace:check
Success signals
- Specs include correct IDs and traceability
- SEA passes flow lint
- Repo remains clean after generation
Common failure signals
- Missing
@cqrson Flow → flow lint fails - Wrong namespace → compiler rejects
- Regeneration changes files every run → determinism failure (fix generator ordering)