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.
- package/agents/cook-pm.md +135 -59
- package/commands/cook/help.md +110 -417
- package/commands/cook/pm-start.md +73 -120
- package/cook/workflows/pm-check.md +9 -8
- package/cook/workflows/pm-cycle.md +87 -21
- package/package.json +1 -1
- package/scripts/pm-loop.sh +30 -10
- package/agents/cook-debugger.md +0 -1203
- package/agents/cook-executor.md +0 -784
- package/agents/cook-integration-checker.md +0 -423
- package/agents/cook-phase-researcher.md +0 -641
- package/agents/cook-verifier.md +0 -778
- package/commands/cook/add-todo.md +0 -193
- package/commands/cook/audit-milestone.md +0 -277
- package/commands/cook/check-todos.md +0 -228
- package/commands/cook/debug.md +0 -169
- package/commands/cook/discuss-phase.md +0 -86
- package/commands/cook/execute-phase.md +0 -339
- package/commands/cook/list-phase-assumptions.md +0 -50
- package/commands/cook/pause-work.md +0 -134
- package/commands/cook/plan-milestone-gaps.md +0 -295
- package/commands/cook/quick.md +0 -309
- package/commands/cook/research-phase.md +0 -200
- package/commands/cook/resume-work.md +0 -40
- package/commands/cook/verify-work.md +0 -219
- package/cook/references/checkpoints.md +0 -1078
- package/cook/references/tdd.md +0 -263
- package/cook/references/verification-patterns.md +0 -612
- package/cook/templates/DEBUG.md +0 -159
- package/cook/templates/UAT.md +0 -247
- package/cook/templates/debug-subagent-prompt.md +0 -91
- package/cook/templates/verification-report.md +0 -322
- package/cook/workflows/diagnose-issues.md +0 -231
- package/cook/workflows/discuss-phase.md +0 -433
- package/cook/workflows/execute-phase.md +0 -671
- package/cook/workflows/execute-plan.md +0 -1844
- package/cook/workflows/list-phase-assumptions.md +0 -178
- package/cook/workflows/verify-phase.md +0 -628
- package/cook/workflows/verify-work.md +0 -596
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: cook:verify-work
|
|
3
|
-
description: Validate built features through conversational UAT
|
|
4
|
-
argument-hint: "[phase number, e.g., '4']"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Glob
|
|
9
|
-
- Grep
|
|
10
|
-
- Edit
|
|
11
|
-
- Write
|
|
12
|
-
- Task
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
<objective>
|
|
16
|
-
Validate built features through conversational testing with persistent state.
|
|
17
|
-
|
|
18
|
-
Purpose: Confirm what Claude built actually works from user's perspective. One test at a time, plain text responses, no interrogation. When issues are found, automatically diagnose, plan fixes, and prepare for execution.
|
|
19
|
-
|
|
20
|
-
Output: {phase}-UAT.md tracking all test results. If issues found: diagnosed gaps, verified fix plans ready for /cook:execute-phase
|
|
21
|
-
</objective>
|
|
22
|
-
|
|
23
|
-
<execution_context>
|
|
24
|
-
@~/.claude/cook/workflows/verify-work.md
|
|
25
|
-
@~/.claude/cook/templates/UAT.md
|
|
26
|
-
</execution_context>
|
|
27
|
-
|
|
28
|
-
<context>
|
|
29
|
-
Phase: $ARGUMENTS (optional)
|
|
30
|
-
- If provided: Test specific phase (e.g., "4")
|
|
31
|
-
- If not provided: Check for active sessions or prompt for phase
|
|
32
|
-
|
|
33
|
-
@.planning/STATE.md
|
|
34
|
-
@.planning/ROADMAP.md
|
|
35
|
-
</context>
|
|
36
|
-
|
|
37
|
-
<process>
|
|
38
|
-
1. Check for active UAT sessions (resume or start new)
|
|
39
|
-
2. Find SUMMARY.md files for the phase
|
|
40
|
-
3. Extract testable deliverables (user-observable outcomes)
|
|
41
|
-
4. Create {phase}-UAT.md with test list
|
|
42
|
-
5. Present tests one at a time:
|
|
43
|
-
- Show expected behavior
|
|
44
|
-
- Wait for plain text response
|
|
45
|
-
- "yes/y/next" = pass, anything else = issue (severity inferred)
|
|
46
|
-
6. Update UAT.md after each response
|
|
47
|
-
7. On completion: commit, present summary
|
|
48
|
-
8. If issues found:
|
|
49
|
-
- Spawn parallel debug agents to diagnose root causes
|
|
50
|
-
- Spawn cook-planner in --gaps mode to create fix plans
|
|
51
|
-
- Spawn cook-plan-checker to verify fix plans
|
|
52
|
-
- Iterate planner ↔ checker until plans pass (max 3)
|
|
53
|
-
- Present ready status with `/clear` then `/cook:execute-phase`
|
|
54
|
-
</process>
|
|
55
|
-
|
|
56
|
-
<anti_patterns>
|
|
57
|
-
- Don't use AskUserQuestion for test responses — plain text conversation
|
|
58
|
-
- Don't ask severity — infer from description
|
|
59
|
-
- Don't present full checklist upfront — one test at a time
|
|
60
|
-
- Don't run automated tests — this is manual user validation
|
|
61
|
-
- Don't fix issues during testing — log as gaps, diagnose after all tests complete
|
|
62
|
-
</anti_patterns>
|
|
63
|
-
|
|
64
|
-
<offer_next>
|
|
65
|
-
Output this markdown directly (not as a code block). Route based on UAT results:
|
|
66
|
-
|
|
67
|
-
| Status | Route |
|
|
68
|
-
|--------|-------|
|
|
69
|
-
| All tests pass + more phases | Route A (next phase) |
|
|
70
|
-
| All tests pass + last phase | Route B (milestone complete) |
|
|
71
|
-
| Issues found + fix plans ready | Route C (execute fixes) |
|
|
72
|
-
| Issues found + planning blocked | Route D (manual intervention) |
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
**Route A: All tests pass, more phases remain**
|
|
77
|
-
|
|
78
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
79
|
-
COOK ► PHASE {Z} VERIFIED ✓
|
|
80
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
81
|
-
|
|
82
|
-
**Phase {Z}: {Name}**
|
|
83
|
-
|
|
84
|
-
{N}/{N} tests passed
|
|
85
|
-
UAT complete ✓
|
|
86
|
-
|
|
87
|
-
───────────────────────────────────────────────────────────────
|
|
88
|
-
|
|
89
|
-
## ▶ Next Up
|
|
90
|
-
|
|
91
|
-
**Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
|
|
92
|
-
|
|
93
|
-
/cook:discuss-phase {Z+1} — gather context and clarify approach
|
|
94
|
-
|
|
95
|
-
<sub>/clear first → fresh context window</sub>
|
|
96
|
-
|
|
97
|
-
───────────────────────────────────────────────────────────────
|
|
98
|
-
|
|
99
|
-
**Also available:**
|
|
100
|
-
- /cook:plan-phase {Z+1} — skip discussion, plan directly
|
|
101
|
-
- /cook:execute-phase {Z+1} — skip to execution (if already planned)
|
|
102
|
-
|
|
103
|
-
───────────────────────────────────────────────────────────────
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
**Route B: All tests pass, milestone complete**
|
|
108
|
-
|
|
109
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
110
|
-
COOK ► PHASE {Z} VERIFIED ✓
|
|
111
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
112
|
-
|
|
113
|
-
**Phase {Z}: {Name}**
|
|
114
|
-
|
|
115
|
-
{N}/{N} tests passed
|
|
116
|
-
Final phase verified ✓
|
|
117
|
-
|
|
118
|
-
───────────────────────────────────────────────────────────────
|
|
119
|
-
|
|
120
|
-
## ▶ Next Up
|
|
121
|
-
|
|
122
|
-
**Audit milestone** — verify requirements, cross-phase integration, E2E flows
|
|
123
|
-
|
|
124
|
-
/cook:audit-milestone
|
|
125
|
-
|
|
126
|
-
<sub>/clear first → fresh context window</sub>
|
|
127
|
-
|
|
128
|
-
───────────────────────────────────────────────────────────────
|
|
129
|
-
|
|
130
|
-
**Also available:**
|
|
131
|
-
- /cook:complete-milestone — skip audit, archive directly
|
|
132
|
-
|
|
133
|
-
───────────────────────────────────────────────────────────────
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
**Route C: Issues found, fix plans ready**
|
|
138
|
-
|
|
139
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
140
|
-
COOK ► PHASE {Z} ISSUES FOUND ⚠
|
|
141
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
142
|
-
|
|
143
|
-
**Phase {Z}: {Name}**
|
|
144
|
-
|
|
145
|
-
{N}/{M} tests passed
|
|
146
|
-
{X} issues diagnosed
|
|
147
|
-
Fix plans verified ✓
|
|
148
|
-
|
|
149
|
-
### Issues Found
|
|
150
|
-
|
|
151
|
-
{List issues with severity from UAT.md}
|
|
152
|
-
|
|
153
|
-
───────────────────────────────────────────────────────────────
|
|
154
|
-
|
|
155
|
-
## ▶ Next Up
|
|
156
|
-
|
|
157
|
-
**Execute fix plans** — run diagnosed fixes
|
|
158
|
-
|
|
159
|
-
/cook:execute-phase {Z} --gaps-only
|
|
160
|
-
|
|
161
|
-
<sub>/clear first → fresh context window</sub>
|
|
162
|
-
|
|
163
|
-
───────────────────────────────────────────────────────────────
|
|
164
|
-
|
|
165
|
-
**Also available:**
|
|
166
|
-
- cat .planning/phases/{phase_dir}/*-PLAN.md — review fix plans
|
|
167
|
-
- /cook:plan-phase {Z} --gaps — regenerate fix plans
|
|
168
|
-
|
|
169
|
-
───────────────────────────────────────────────────────────────
|
|
170
|
-
|
|
171
|
-
---
|
|
172
|
-
|
|
173
|
-
**Route D: Issues found, planning blocked**
|
|
174
|
-
|
|
175
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
176
|
-
COOK ► PHASE {Z} BLOCKED ✗
|
|
177
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
178
|
-
|
|
179
|
-
**Phase {Z}: {Name}**
|
|
180
|
-
|
|
181
|
-
{N}/{M} tests passed
|
|
182
|
-
Fix planning blocked after {X} iterations
|
|
183
|
-
|
|
184
|
-
### Unresolved Issues
|
|
185
|
-
|
|
186
|
-
{List blocking issues from planner/checker output}
|
|
187
|
-
|
|
188
|
-
───────────────────────────────────────────────────────────────
|
|
189
|
-
|
|
190
|
-
## ▶ Next Up
|
|
191
|
-
|
|
192
|
-
**Manual intervention required**
|
|
193
|
-
|
|
194
|
-
Review the issues above and either:
|
|
195
|
-
1. Provide guidance for fix planning
|
|
196
|
-
2. Manually address blockers
|
|
197
|
-
3. Accept current state and continue
|
|
198
|
-
|
|
199
|
-
───────────────────────────────────────────────────────────────
|
|
200
|
-
|
|
201
|
-
**Options:**
|
|
202
|
-
- /cook:plan-phase {Z} --gaps — retry fix planning with guidance
|
|
203
|
-
- /cook:discuss-phase {Z} — gather more context before replanning
|
|
204
|
-
|
|
205
|
-
───────────────────────────────────────────────────────────────
|
|
206
|
-
</offer_next>
|
|
207
|
-
|
|
208
|
-
<success_criteria>
|
|
209
|
-
- [ ] UAT.md created with tests from SUMMARY.md
|
|
210
|
-
- [ ] Tests presented one at a time with expected behavior
|
|
211
|
-
- [ ] Plain text responses (no structured forms)
|
|
212
|
-
- [ ] Severity inferred, never asked
|
|
213
|
-
- [ ] Batched writes: on issue, every 5 passes, or completion
|
|
214
|
-
- [ ] Committed on completion
|
|
215
|
-
- [ ] If issues: parallel debug agents diagnose root causes
|
|
216
|
-
- [ ] If issues: cook-planner creates fix plans from diagnosed gaps
|
|
217
|
-
- [ ] If issues: cook-plan-checker verifies fix plans (max 3 iterations)
|
|
218
|
-
- [ ] Ready for `/cook:execute-phase` when complete
|
|
219
|
-
</success_criteria>
|