claude-cook 1.10.8 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/agents/cook-pm.md +135 -59
  2. package/commands/cook/help.md +110 -417
  3. package/commands/cook/pm-start.md +73 -120
  4. package/cook/workflows/pm-check.md +9 -8
  5. package/cook/workflows/pm-cycle.md +87 -21
  6. package/package.json +1 -1
  7. package/scripts/pm-loop.sh +30 -10
  8. package/agents/cook-debugger.md +0 -1203
  9. package/agents/cook-executor.md +0 -784
  10. package/agents/cook-integration-checker.md +0 -423
  11. package/agents/cook-phase-researcher.md +0 -641
  12. package/agents/cook-verifier.md +0 -778
  13. package/commands/cook/add-todo.md +0 -193
  14. package/commands/cook/audit-milestone.md +0 -277
  15. package/commands/cook/check-todos.md +0 -228
  16. package/commands/cook/debug.md +0 -169
  17. package/commands/cook/discuss-phase.md +0 -86
  18. package/commands/cook/execute-phase.md +0 -339
  19. package/commands/cook/list-phase-assumptions.md +0 -50
  20. package/commands/cook/pause-work.md +0 -134
  21. package/commands/cook/plan-milestone-gaps.md +0 -295
  22. package/commands/cook/quick.md +0 -309
  23. package/commands/cook/research-phase.md +0 -200
  24. package/commands/cook/resume-work.md +0 -40
  25. package/commands/cook/verify-work.md +0 -219
  26. package/cook/references/checkpoints.md +0 -1078
  27. package/cook/references/tdd.md +0 -263
  28. package/cook/references/verification-patterns.md +0 -612
  29. package/cook/templates/DEBUG.md +0 -159
  30. package/cook/templates/UAT.md +0 -247
  31. package/cook/templates/debug-subagent-prompt.md +0 -91
  32. package/cook/templates/verification-report.md +0 -322
  33. package/cook/workflows/diagnose-issues.md +0 -231
  34. package/cook/workflows/discuss-phase.md +0 -433
  35. package/cook/workflows/execute-phase.md +0 -671
  36. package/cook/workflows/execute-plan.md +0 -1844
  37. package/cook/workflows/list-phase-assumptions.md +0 -178
  38. package/cook/workflows/verify-phase.md +0 -628
  39. package/cook/workflows/verify-work.md +0 -596
@@ -1,169 +0,0 @@
1
- ---
2
- name: cook:debug
3
- description: Systematic debugging with persistent state across context resets
4
- argument-hint: [issue description]
5
- allowed-tools:
6
- - Read
7
- - Bash
8
- - Task
9
- - AskUserQuestion
10
- ---
11
-
12
- <objective>
13
- Debug issues using scientific method with subagent isolation.
14
-
15
- **Orchestrator role:** Gather symptoms, spawn cook-debugger agent, handle checkpoints, spawn continuations.
16
-
17
- **Why subagent:** Investigation burns context fast (reading files, forming hypotheses, testing). Fresh 200k context per investigation. Main context stays lean for user interaction.
18
- </objective>
19
-
20
- <context>
21
- User's issue: $ARGUMENTS
22
-
23
- Check for active sessions:
24
- ```bash
25
- ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
26
- ```
27
- </context>
28
-
29
- <process>
30
-
31
- ## 0. Resolve Model Profile
32
-
33
- Read model profile for agent spawning:
34
-
35
- ```bash
36
- MODEL_PROFILE=$(cat .planning/config.json 2>/dev/null | grep -o '"model_profile"[[:space:]]*:[[:space:]]*"[^"]*"' | grep -o '"[^"]*"$' | tr -d '"' || echo "balanced")
37
- ```
38
-
39
- Default to "balanced" if not set.
40
-
41
- **Model lookup table:**
42
-
43
- | Agent | quality | balanced | budget |
44
- |-------|---------|----------|--------|
45
- | cook-debugger | opus | sonnet | sonnet |
46
-
47
- Store resolved model for use in Task calls below.
48
-
49
- ## 1. Check Active Sessions
50
-
51
- If active sessions exist AND no $ARGUMENTS:
52
- - List sessions with status, hypothesis, next action
53
- - User picks number to resume OR describes new issue
54
-
55
- If $ARGUMENTS provided OR user describes new issue:
56
- - Continue to symptom gathering
57
-
58
- ## 2. Gather Symptoms (if new issue)
59
-
60
- Use AskUserQuestion for each:
61
-
62
- 1. **Expected behavior** - What should happen?
63
- 2. **Actual behavior** - What happens instead?
64
- 3. **Error messages** - Any errors? (paste or describe)
65
- 4. **Timeline** - When did this start? Ever worked?
66
- 5. **Reproduction** - How do you trigger it?
67
-
68
- After all gathered, confirm ready to investigate.
69
-
70
- ## 3. Spawn cook-debugger Agent
71
-
72
- Fill prompt and spawn:
73
-
74
- ```markdown
75
- <objective>
76
- Investigate issue: {slug}
77
-
78
- **Summary:** {trigger}
79
- </objective>
80
-
81
- <symptoms>
82
- expected: {expected}
83
- actual: {actual}
84
- errors: {errors}
85
- reproduction: {reproduction}
86
- timeline: {timeline}
87
- </symptoms>
88
-
89
- <mode>
90
- symptoms_prefilled: true
91
- goal: find_and_fix
92
- </mode>
93
-
94
- <debug_file>
95
- Create: .planning/debug/{slug}.md
96
- </debug_file>
97
- ```
98
-
99
- ```
100
- Task(
101
- prompt=filled_prompt,
102
- subagent_type="cook-debugger",
103
- model="{debugger_model}",
104
- description="Debug {slug}"
105
- )
106
- ```
107
-
108
- ## 4. Handle Agent Return
109
-
110
- **If `## ROOT CAUSE FOUND`:**
111
- - Display root cause and evidence summary
112
- - Offer options:
113
- - "Fix now" - spawn fix subagent
114
- - "Plan fix" - suggest /cook:plan-phase --gaps
115
- - "Manual fix" - done
116
-
117
- **If `## CHECKPOINT REACHED`:**
118
- - Present checkpoint details to user
119
- - Get user response
120
- - Spawn continuation agent (see step 5)
121
-
122
- **If `## INVESTIGATION INCONCLUSIVE`:**
123
- - Show what was checked and eliminated
124
- - Offer options:
125
- - "Continue investigating" - spawn new agent with additional context
126
- - "Manual investigation" - done
127
- - "Add more context" - gather more symptoms, spawn again
128
-
129
- ## 5. Spawn Continuation Agent (After Checkpoint)
130
-
131
- When user responds to checkpoint, spawn fresh agent:
132
-
133
- ```markdown
134
- <objective>
135
- Continue debugging {slug}. Evidence is in the debug file.
136
- </objective>
137
-
138
- <prior_state>
139
- Debug file: @.planning/debug/{slug}.md
140
- </prior_state>
141
-
142
- <checkpoint_response>
143
- **Type:** {checkpoint_type}
144
- **Response:** {user_response}
145
- </checkpoint_response>
146
-
147
- <mode>
148
- goal: find_and_fix
149
- </mode>
150
- ```
151
-
152
- ```
153
- Task(
154
- prompt=continuation_prompt,
155
- subagent_type="cook-debugger",
156
- model="{debugger_model}",
157
- description="Continue debug {slug}"
158
- )
159
- ```
160
-
161
- </process>
162
-
163
- <success_criteria>
164
- - [ ] Active sessions checked
165
- - [ ] Symptoms gathered (if new)
166
- - [ ] cook-debugger spawned with context
167
- - [ ] Checkpoints handled correctly
168
- - [ ] Root cause confirmed before fixing
169
- </success_criteria>
@@ -1,86 +0,0 @@
1
- ---
2
- name: cook:discuss-phase
3
- description: Gather phase context through adaptive questioning before planning
4
- argument-hint: "<phase>"
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Bash
9
- - Glob
10
- - Grep
11
- - AskUserQuestion
12
- ---
13
-
14
- <objective>
15
- Extract implementation decisions that downstream agents need — researcher and planner will use CONTEXT.md to know what to investigate and what choices are locked.
16
-
17
- **How it works:**
18
- 1. Analyze the phase to identify gray areas (UI, UX, behavior, etc.)
19
- 2. Present gray areas — user selects which to discuss
20
- 3. Deep-dive each selected area until satisfied
21
- 4. Create CONTEXT.md with decisions that guide research and planning
22
-
23
- **Output:** `{phase}-CONTEXT.md` — decisions clear enough that downstream agents can act without asking the user again
24
- </objective>
25
-
26
- <execution_context>
27
- @~/.claude/cook/workflows/discuss-phase.md
28
- @~/.claude/cook/templates/context.md
29
- </execution_context>
30
-
31
- <context>
32
- Phase number: $ARGUMENTS (required)
33
-
34
- **Load project state:**
35
- @.planning/STATE.md
36
-
37
- **Load roadmap:**
38
- @.planning/ROADMAP.md
39
- </context>
40
-
41
- <process>
42
- 1. Validate phase number (error if missing or not in roadmap)
43
- 2. Check if CONTEXT.md exists (offer update/view/skip if yes)
44
- 3. **Analyze phase** — Identify domain and generate phase-specific gray areas
45
- 4. **Present gray areas** — Multi-select: which to discuss? (NO skip option)
46
- 5. **Deep-dive each area** — 4 questions per area, then offer more/next
47
- 6. **Write CONTEXT.md** — Sections match areas discussed
48
- 7. Offer next steps (research or plan)
49
-
50
- **CRITICAL: Scope guardrail**
51
- - Phase boundary from ROADMAP.md is FIXED
52
- - Discussion clarifies HOW to implement, not WHETHER to add more
53
- - If user suggests new capabilities: "That's its own phase. I'll note it for later."
54
- - Capture deferred ideas — don't lose them, don't act on them
55
-
56
- **Domain-aware gray areas:**
57
- Gray areas depend on what's being built. Analyze the phase goal:
58
- - Something users SEE → layout, density, interactions, states
59
- - Something users CALL → responses, errors, auth, versioning
60
- - Something users RUN → output format, flags, modes, error handling
61
- - Something users READ → structure, tone, depth, flow
62
- - Something being ORGANIZED → criteria, grouping, naming, exceptions
63
-
64
- Generate 3-4 **phase-specific** gray areas, not generic categories.
65
-
66
- **Probing depth:**
67
- - Ask 4 questions per area before checking
68
- - "More questions about [area], or move to next?"
69
- - If more → ask 4 more, check again
70
- - After all areas → "Ready to create context?"
71
-
72
- **Do NOT ask about (Claude handles these):**
73
- - Technical implementation
74
- - Architecture choices
75
- - Performance concerns
76
- - Scope expansion
77
- </process>
78
-
79
- <success_criteria>
80
- - Gray areas identified through intelligent analysis
81
- - User chose which areas to discuss
82
- - Each selected area explored until satisfied
83
- - Scope creep redirected to deferred ideas
84
- - CONTEXT.md captures decisions, not vague vision
85
- - User knows next steps
86
- </success_criteria>
@@ -1,339 +0,0 @@
1
- ---
2
- name: cook:execute-phase
3
- description: Execute all plans in a phase with wave-based parallelization
4
- argument-hint: "<phase-number> [--gaps-only]"
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Edit
9
- - Glob
10
- - Grep
11
- - Bash
12
- - Task
13
- - TodoWrite
14
- - AskUserQuestion
15
- ---
16
-
17
- <objective>
18
- Execute all plans in a phase using wave-based parallel execution.
19
-
20
- Orchestrator stays lean: discover plans, analyze dependencies, group into waves, spawn subagents, collect results. Each subagent loads the full execute-plan context and handles its own plan.
21
-
22
- Context budget: ~15% orchestrator, 100% fresh per subagent.
23
- </objective>
24
-
25
- <execution_context>
26
- @~/.claude/cook/references/ui-brand.md
27
- @~/.claude/cook/workflows/execute-phase.md
28
- </execution_context>
29
-
30
- <context>
31
- Phase: $ARGUMENTS
32
-
33
- **Flags:**
34
- - `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
35
-
36
- @.planning/ROADMAP.md
37
- @.planning/STATE.md
38
- </context>
39
-
40
- <process>
41
- 0. **Resolve Model Profile**
42
-
43
- Read model profile for agent spawning:
44
- ```bash
45
- MODEL_PROFILE=$(cat .planning/config.json 2>/dev/null | grep -o '"model_profile"[[:space:]]*:[[:space:]]*"[^"]*"' | grep -o '"[^"]*"$' | tr -d '"' || echo "balanced")
46
- ```
47
-
48
- Default to "balanced" if not set.
49
-
50
- **Model lookup table:**
51
-
52
- | Agent | quality | balanced | budget |
53
- |-------|---------|----------|--------|
54
- | cook-executor | opus | sonnet | sonnet |
55
- | cook-verifier | sonnet | sonnet | haiku |
56
-
57
- Store resolved models for use in Task calls below.
58
-
59
- 1. **Validate phase exists**
60
- - Find phase directory matching argument
61
- - Count PLAN.md files
62
- - Error if no plans found
63
-
64
- 2. **Discover plans**
65
- - List all *-PLAN.md files in phase directory
66
- - Check which have *-SUMMARY.md (already complete)
67
- - If `--gaps-only`: filter to only plans with `gap_closure: true`
68
- - Build list of incomplete plans
69
-
70
- 3. **Group by wave**
71
- - Read `wave` from each plan's frontmatter
72
- - Group plans by wave number
73
- - Report wave structure to user
74
-
75
- 4. **Execute waves**
76
- For each wave in order:
77
- - Spawn `cook-executor` for each plan in wave (parallel Task calls)
78
- - Wait for completion (Task blocks)
79
- - Verify SUMMARYs created
80
- - Proceed to next wave
81
-
82
- 5. **Aggregate results**
83
- - Collect summaries from all plans
84
- - Report phase completion status
85
-
86
- 6. **Commit any orchestrator corrections**
87
- Check for uncommitted changes before verification:
88
- ```bash
89
- git status --porcelain
90
- ```
91
-
92
- **If changes exist:** Orchestrator made corrections between executor completions. Commit them:
93
- ```bash
94
- git add -u && git commit -m "fix({phase}): orchestrator corrections"
95
- ```
96
-
97
- **If clean:** Continue to verification.
98
-
99
- 7. **Verify phase goal**
100
- Check config: `WORKFLOW_VERIFIER=$(cat .planning/config.json 2>/dev/null | grep -o '"verifier"[[:space:]]*:[[:space:]]*[^,}]*' | grep -o 'true\|false' || echo "true")`
101
-
102
- **If `workflow.verifier` is `false`:** Skip to step 8 (treat as passed).
103
-
104
- **Otherwise:**
105
- - Spawn `cook-verifier` subagent with phase directory and goal
106
- - Verifier checks must_haves against actual codebase (not SUMMARY claims)
107
- - Creates VERIFICATION.md with detailed report
108
- - Route by status:
109
- - `passed` → continue to step 8
110
- - `human_needed` → present items, get approval or feedback
111
- - `gaps_found` → present gaps, offer `/cook:plan-phase {X} --gaps`
112
-
113
- 8. **Update roadmap and state**
114
- - Update ROADMAP.md, STATE.md
115
-
116
- 9. **Update requirements**
117
- Mark phase requirements as Complete:
118
- - Read ROADMAP.md, find this phase's `Requirements:` line (e.g., "AUTH-01, AUTH-02")
119
- - Read REQUIREMENTS.md traceability table
120
- - For each REQ-ID in this phase: change Status from "Pending" to "Complete"
121
- - Write updated REQUIREMENTS.md
122
- - Skip if: REQUIREMENTS.md doesn't exist, or phase has no Requirements line
123
-
124
- 10. **Commit phase completion**
125
- Check `COMMIT_PLANNING_DOCS` from config.json (default: true).
126
- If false: Skip git operations for .planning/ files.
127
- If true: Bundle all phase metadata updates in one commit:
128
- - Stage: `git add .planning/ROADMAP.md .planning/STATE.md`
129
- - Stage REQUIREMENTS.md if updated: `git add .planning/REQUIREMENTS.md`
130
- - Commit: `docs({phase}): complete {phase-name} phase`
131
-
132
- 11. **Offer next steps**
133
- - Route to next action (see `<offer_next>`)
134
- </process>
135
-
136
- <offer_next>
137
- Output this markdown directly (not as a code block). Route based on status:
138
-
139
- | Status | Route |
140
- |--------|-------|
141
- | `gaps_found` | Route C (gap closure) |
142
- | `human_needed` | Present checklist, then re-route based on approval |
143
- | `passed` + more phases | Route A (next phase) |
144
- | `passed` + last phase | Route B (milestone complete) |
145
-
146
- ---
147
-
148
- **Route A: Phase verified, more phases remain**
149
-
150
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
151
- COOK ► PHASE {Z} COMPLETE ✓
152
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
153
-
154
- **Phase {Z}: {Name}**
155
-
156
- {Y} plans executed
157
- Goal verified ✓
158
-
159
- ───────────────────────────────────────────────────────────────
160
-
161
- ## ▶ Next Up
162
-
163
- **Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
164
-
165
- /cook:discuss-phase {Z+1} — gather context and clarify approach
166
-
167
- <sub>/clear first → fresh context window</sub>
168
-
169
- ───────────────────────────────────────────────────────────────
170
-
171
- **Also available:**
172
- - /cook:plan-phase {Z+1} — skip discussion, plan directly
173
- - /cook:verify-work {Z} — manual acceptance testing before continuing
174
-
175
- ───────────────────────────────────────────────────────────────
176
-
177
- ---
178
-
179
- **Route B: Phase verified, milestone complete**
180
-
181
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
182
- COOK ► MILESTONE COMPLETE 🎉
183
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
184
-
185
- **v1.0**
186
-
187
- {N} phases completed
188
- All phase goals verified ✓
189
-
190
- ───────────────────────────────────────────────────────────────
191
-
192
- ## ▶ Next Up
193
-
194
- **Audit milestone** — verify requirements, cross-phase integration, E2E flows
195
-
196
- /cook:audit-milestone
197
-
198
- <sub>/clear first → fresh context window</sub>
199
-
200
- ───────────────────────────────────────────────────────────────
201
-
202
- **Also available:**
203
- - /cook:verify-work — manual acceptance testing
204
- - /cook:complete-milestone — skip audit, archive directly
205
-
206
- ───────────────────────────────────────────────────────────────
207
-
208
- ---
209
-
210
- **Route C: Gaps found — need additional planning**
211
-
212
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
213
- COOK ► PHASE {Z} GAPS FOUND ⚠
214
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
215
-
216
- **Phase {Z}: {Name}**
217
-
218
- Score: {N}/{M} must-haves verified
219
- Report: .planning/phases/{phase_dir}/{phase}-VERIFICATION.md
220
-
221
- ### What's Missing
222
-
223
- {Extract gap summaries from VERIFICATION.md}
224
-
225
- ───────────────────────────────────────────────────────────────
226
-
227
- ## ▶ Next Up
228
-
229
- **Plan gap closure** — create additional plans to complete the phase
230
-
231
- /cook:plan-phase {Z} --gaps
232
-
233
- <sub>/clear first → fresh context window</sub>
234
-
235
- ───────────────────────────────────────────────────────────────
236
-
237
- **Also available:**
238
- - cat .planning/phases/{phase_dir}/{phase}-VERIFICATION.md — see full report
239
- - /cook:verify-work {Z} — manual testing before planning
240
-
241
- ───────────────────────────────────────────────────────────────
242
-
243
- ---
244
-
245
- After user runs /cook:plan-phase {Z} --gaps:
246
- 1. Planner reads VERIFICATION.md gaps
247
- 2. Creates plans 04, 05, etc. to close gaps
248
- 3. User runs /cook:execute-phase {Z} again
249
- 4. Execute-phase runs incomplete plans (04, 05...)
250
- 5. Verifier runs again → loop until passed
251
- </offer_next>
252
-
253
- <wave_execution>
254
- **Parallel spawning:**
255
-
256
- Before spawning, read file contents. The `@` syntax does not work across Task() boundaries.
257
-
258
- ```bash
259
- # Read each plan and STATE.md
260
- PLAN_01_CONTENT=$(cat "{plan_01_path}")
261
- PLAN_02_CONTENT=$(cat "{plan_02_path}")
262
- PLAN_03_CONTENT=$(cat "{plan_03_path}")
263
- STATE_CONTENT=$(cat .planning/STATE.md)
264
- ```
265
-
266
- Spawn all plans in a wave with a single message containing multiple Task calls, with inlined content:
267
-
268
- ```
269
- Task(prompt="Execute plan at {plan_01_path}\n\nPlan:\n{plan_01_content}\n\nProject state:\n{state_content}", subagent_type="cook-executor", model="{executor_model}")
270
- Task(prompt="Execute plan at {plan_02_path}\n\nPlan:\n{plan_02_content}\n\nProject state:\n{state_content}", subagent_type="cook-executor", model="{executor_model}")
271
- Task(prompt="Execute plan at {plan_03_path}\n\nPlan:\n{plan_03_content}\n\nProject state:\n{state_content}", subagent_type="cook-executor", model="{executor_model}")
272
- ```
273
-
274
- All three run in parallel. Task tool blocks until all complete.
275
-
276
- **No polling.** No background agents. No TaskOutput loops.
277
- </wave_execution>
278
-
279
- <checkpoint_handling>
280
- Plans with `autonomous: false` have checkpoints. The execute-phase.md workflow handles the full checkpoint flow:
281
- - Subagent pauses at checkpoint, returns structured state
282
- - Orchestrator presents to user, collects response
283
- - Spawns fresh continuation agent (not resume)
284
-
285
- See `@~/.claude/cook/workflows/execute-phase.md` step `checkpoint_handling` for complete details.
286
- </checkpoint_handling>
287
-
288
- <deviation_rules>
289
- During execution, handle discoveries automatically:
290
-
291
- 1. **Auto-fix bugs** - Fix immediately, document in Summary
292
- 2. **Auto-add critical** - Security/correctness gaps, add and document
293
- 3. **Auto-fix blockers** - Can't proceed without fix, do it and document
294
- 4. **Ask about architectural** - Major structural changes, stop and ask user
295
-
296
- Only rule 4 requires user intervention.
297
- </deviation_rules>
298
-
299
- <commit_rules>
300
- **Per-Task Commits:**
301
-
302
- After each task completes:
303
- 1. Stage only files modified by that task
304
- 2. Commit with format: `{type}({phase}-{plan}): {task-name}`
305
- 3. Types: feat, fix, test, refactor, perf, chore
306
- 4. Record commit hash for SUMMARY.md
307
-
308
- **Plan Metadata Commit:**
309
-
310
- After all tasks in a plan complete:
311
- 1. Stage plan artifacts only: PLAN.md, SUMMARY.md
312
- 2. Commit with format: `docs({phase}-{plan}): complete [plan-name] plan`
313
- 3. NO code files (already committed per-task)
314
-
315
- **Phase Completion Commit:**
316
-
317
- After all plans in phase complete (step 7):
318
- 1. Stage: ROADMAP.md, STATE.md, REQUIREMENTS.md (if updated), VERIFICATION.md
319
- 2. Commit with format: `docs({phase}): complete {phase-name} phase`
320
- 3. Bundles all phase-level state updates in one commit
321
-
322
- **NEVER use:**
323
- - `git add .`
324
- - `git add -A`
325
- - `git add src/` or any broad directory
326
-
327
- **Always stage files individually.**
328
- </commit_rules>
329
-
330
- <success_criteria>
331
- - [ ] All incomplete plans in phase executed
332
- - [ ] Each plan has SUMMARY.md
333
- - [ ] Phase goal verified (must_haves checked against codebase)
334
- - [ ] VERIFICATION.md created in phase directory
335
- - [ ] STATE.md reflects phase completion
336
- - [ ] ROADMAP.md updated
337
- - [ ] REQUIREMENTS.md updated (phase requirements marked Complete)
338
- - [ ] User informed of next steps
339
- </success_criteria>
@@ -1,50 +0,0 @@
1
- ---
2
- name: cook:list-phase-assumptions
3
- description: Surface Claude's assumptions about a phase approach before planning
4
- argument-hint: "[phase]"
5
- allowed-tools:
6
- - Read
7
- - Bash
8
- - Grep
9
- - Glob
10
- ---
11
-
12
- <objective>
13
- Analyze a phase and present Claude's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
14
-
15
- Purpose: Help users see what Claude thinks BEFORE planning begins - enabling course correction early when assumptions are wrong.
16
- Output: Conversational output only (no file creation) - ends with "What do you think?" prompt
17
- </objective>
18
-
19
- <execution_context>
20
- @~/.claude/cook/workflows/list-phase-assumptions.md
21
- </execution_context>
22
-
23
- <context>
24
- Phase number: $ARGUMENTS (required)
25
-
26
- **Load project state first:**
27
- @.planning/STATE.md
28
-
29
- **Load roadmap:**
30
- @.planning/ROADMAP.md
31
- </context>
32
-
33
- <process>
34
- 1. Validate phase number argument (error if missing or invalid)
35
- 2. Check if phase exists in roadmap
36
- 3. Follow list-phase-assumptions.md workflow:
37
- - Analyze roadmap description
38
- - Surface assumptions about: technical approach, implementation order, scope, risks, dependencies
39
- - Present assumptions clearly
40
- - Prompt "What do you think?"
41
- 4. Gather feedback and offer next steps
42
- </process>
43
-
44
- <success_criteria>
45
-
46
- - Phase validated against roadmap
47
- - Assumptions surfaced across five areas
48
- - User prompted for feedback
49
- - User knows next steps (discuss context, plan phase, or correct assumptions)
50
- </success_criteria>