fix(spec): stop the turn after writing the spec

Closes #622.
This commit is contained in:
Joan Leon committed 2026-10-02 17:30:42 +02:00
1 parent 9d0c60d406
commit 7ade9d30f2
1 file changed
+8
+8
View File
@@ -167,6 +167,12 @@ REFRAMED SUCCESS CRITERIA:
This lets you loop, retry, and problem-solve toward a clear goal rather than guessing what "faster" means.
**Stop after writing the spec (CRITICAL).** Once the spec is saved:
1. Summarize it and list any Open Questions.
2. Ask the human to approve it or request changes.
3. **STOP YOUR TURN IMMEDIATELY.** Do NOT start Phase 2, invoke `planning-and-task-breakdown`, or write code in this turn. Planning starts only after the human approves the spec in a later turn.
### Phase 2: Plan
With the validated spec, generate a technical implementation plan:
@@ -235,6 +241,7 @@ The spec is a living document, not a one-time artifact:
- Implementing features not mentioned in any spec or task list
- Making architectural decisions without documenting them
- Skipping the spec because "it's obvious what to build"
- Writing the spec and starting the plan or code in the same turn
- One spec whose requirements span several independently testable capabilities
- Module boundaries or build order decided implicitly during implementation because no capability map was approved up front
@@ -244,6 +251,7 @@ Before proceeding to implementation, confirm:
- [ ] The spec covers all six core areas
- [ ] The human has reviewed and approved the spec
- [ ] The turn ended after saving the spec; approval came in a later turn
- [ ] Success criteria are specific and testable
- [ ] Boundaries (Always/Ask First/Never) are defined
- [ ] The spec is saved to a file in the repository