Spec Coding Workflow Write specs first, then generate code. 5 phases, each producing artifacts that feed the next. Expert review gates between phases catch issues early. Session Start On every new session: 1. Read to identify current phase, active changes, and deferred items. 2. Read phase-relevant spec files — see Quick Reference table below for which artifacts each phase produces/consumes. 3. Confirm with the user which phase/gate to continue from. If mid-phase, summarize progress so far. 4. No ? This is a new project — start from Phase 0 (existing codebase) or Phase 1 (greenfield). Workflo…