opencode-goopspec 0.1.3 → 0.1.4
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/README.md +253 -331
- package/agents/goop-debugger.md +175 -172
- package/agents/goop-designer.md +232 -160
- package/agents/goop-executor.md +197 -127
- package/agents/goop-explorer.md +148 -150
- package/agents/goop-librarian.md +218 -164
- package/agents/goop-orchestrator.md +364 -338
- package/agents/goop-planner.md +331 -153
- package/agents/goop-researcher.md +198 -126
- package/agents/goop-tester.md +277 -202
- package/agents/goop-verifier.md +191 -201
- package/agents/goop-writer.md +241 -133
- package/agents/memory-distiller.md +228 -136
- package/commands/goop-accept.md +430 -36
- package/commands/goop-amend.md +13 -0
- package/commands/goop-complete.md +13 -0
- package/commands/goop-debug.md +13 -0
- package/commands/goop-discuss.md +419 -7
- package/commands/goop-execute.md +386 -37
- package/commands/goop-help.md +11 -0
- package/commands/goop-map-codebase.md +13 -0
- package/commands/goop-memory.md +11 -0
- package/commands/goop-milestone.md +13 -0
- package/commands/goop-pause.md +12 -0
- package/commands/goop-plan.md +320 -266
- package/commands/goop-quick.md +12 -0
- package/commands/goop-recall.md +11 -0
- package/commands/goop-remember.md +12 -0
- package/commands/goop-research.md +13 -0
- package/commands/goop-resume.md +12 -0
- package/commands/goop-setup.md +18 -8
- package/commands/goop-specify.md +315 -39
- package/commands/goop-status.md +276 -28
- package/dist/index.js +328 -15
- package/package.json +1 -1
- package/references/context-injection.md +307 -0
- package/references/discovery-interview.md +278 -0
- package/references/enforcement-system.md +213 -0
- package/references/handoff-protocol.md +290 -0
- package/references/model-profiles.md +1 -1
- package/references/phase-gates.md +360 -0
- package/references/plugin-architecture.md +212 -0
- package/references/response-format.md +41 -9
- package/references/subagent-protocol.md +83 -33
- package/references/visual-style.md +199 -0
- package/references/xml-response-schema.md +236 -0
- package/templates/blueprint.md +88 -41
- package/templates/chronicle.md +130 -16
- package/templates/handoff.md +140 -0
- package/templates/project.md +114 -0
- package/templates/requirements.md +121 -0
- package/templates/spec.md +85 -20
- package/templates/state.md +103 -0
package/commands/goop-accept.md
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
name: goop-accept
|
|
3
3
|
description: Verify work and request acceptance
|
|
4
4
|
phase: accept
|
|
5
|
-
|
|
5
|
+
requires: execution_complete
|
|
6
|
+
next-step: "Once accepted, complete the milestone and archive"
|
|
6
7
|
next-command: /goop-complete
|
|
7
8
|
alternatives:
|
|
8
9
|
- command: /goop-execute
|
|
9
10
|
when: "If issues are found that need to be fixed"
|
|
10
|
-
- command: /goop-
|
|
11
|
-
when: "
|
|
11
|
+
- command: /goop-amend
|
|
12
|
+
when: "If spec needs modification before acceptance"
|
|
12
13
|
---
|
|
13
14
|
|
|
14
15
|
# /goop-accept
|
|
@@ -21,43 +22,436 @@ alternatives:
|
|
|
21
22
|
/goop-accept
|
|
22
23
|
```
|
|
23
24
|
|
|
24
|
-
##
|
|
25
|
+
## Gate Requirement
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
```
|
|
28
|
+
+================================================================+
|
|
29
|
+
| ACCEPTANCE GATE: All tasks must be complete before acceptance. |
|
|
30
|
+
| Verification must pass. User must explicitly accept. |
|
|
31
|
+
+================================================================+
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
**Required before this command:**
|
|
35
|
+
- All waves complete in CHRONICLE.md
|
|
36
|
+
- No unresolved blockers
|
|
37
|
+
- Verification passing
|
|
38
|
+
|
|
39
|
+
**If not satisfied:** Refuse and show what's missing
|
|
40
|
+
|
|
41
|
+
## Tools Used
|
|
42
|
+
|
|
43
|
+
| Tool | Purpose in This Command |
|
|
44
|
+
|------|------------------------|
|
|
45
|
+
| `goop_status` | Check execution complete status |
|
|
46
|
+
| `goop_spec` | Load must-haves for verification |
|
|
47
|
+
| `goop_reference` | Load security-checklist, verification protocols |
|
|
48
|
+
| `memory_search` | Find relevant prior issues |
|
|
49
|
+
| `memory_decision` | Record accept/reject decision with evidence |
|
|
50
|
+
| `goop_adl` | Log verification gaps |
|
|
51
|
+
|
|
52
|
+
**Hook Support:** `tool.execute.after` may trigger archive phase on acceptance.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Process
|
|
57
|
+
|
|
58
|
+
### Phase 1: Gate Check
|
|
59
|
+
|
|
60
|
+
**Execute BEFORE anything else:**
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
goop_status()
|
|
64
|
+
Read(".goopspec/CHRONICLE.md")
|
|
65
|
+
Read(".goopspec/SPEC.md")
|
|
66
|
+
Read(".goopspec/BLUEPRINT.md")
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**1.1 Check execution complete:**
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
IF CHRONICLE shows incomplete waves:
|
|
73
|
+
REFUSE with:
|
|
74
|
+
|
|
75
|
+
+--------------------------------------------------------+
|
|
76
|
+
| GOOPSPEC > GATE BLOCKED |
|
|
77
|
+
+--------------------------------------------------------+
|
|
78
|
+
| Execution incomplete. |
|
|
79
|
+
| |
|
|
80
|
+
| Remaining: |
|
|
81
|
+
| - Wave [N]: [X] tasks pending |
|
|
82
|
+
| |
|
|
83
|
+
| Run: /goop-execute |
|
|
84
|
+
+--------------------------------------------------------+
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**1.2 Check for blockers:**
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
IF unresolved blockers exist:
|
|
91
|
+
REFUSE with:
|
|
92
|
+
|
|
93
|
+
+--------------------------------------------------------+
|
|
94
|
+
| GOOPSPEC > BLOCKERS UNRESOLVED |
|
|
95
|
+
+--------------------------------------------------------+
|
|
96
|
+
| Cannot accept with active blockers: |
|
|
97
|
+
| |
|
|
98
|
+
| - [Blocker 1] |
|
|
99
|
+
| - [Blocker 2] |
|
|
100
|
+
| |
|
|
101
|
+
| Resolve blockers, then retry. |
|
|
102
|
+
+--------------------------------------------------------+
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**1.3 Gate passed:**
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
+--------------------------------------------------------+
|
|
109
|
+
| GOOPSPEC > ACCEPTANCE |
|
|
110
|
+
+--------------------------------------------------------+
|
|
111
|
+
| Execution gate: PASSED |
|
|
112
|
+
| Running verification... |
|
|
113
|
+
+--------------------------------------------------------+
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Phase 2: Run Verification
|
|
117
|
+
|
|
118
|
+
**Spawn goop-verifier:**
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
task({
|
|
122
|
+
subagent_type: "goop-verifier",
|
|
123
|
+
description: "Verify against specification",
|
|
124
|
+
prompt: `
|
|
125
|
+
## TASK
|
|
126
|
+
Verify implementation against SPEC.md
|
|
127
|
+
|
|
128
|
+
## REQUIREMENTS
|
|
129
|
+
[Full SPEC.md content]
|
|
130
|
+
|
|
131
|
+
## BLUEPRINT
|
|
132
|
+
[Full BLUEPRINT.md content - for traceability]
|
|
133
|
+
|
|
134
|
+
## CHRONICLE
|
|
135
|
+
[Progress log - what was built]
|
|
136
|
+
|
|
137
|
+
## INSTRUCTIONS
|
|
138
|
+
1. Verify every must-have has:
|
|
139
|
+
- Implementation (code exists)
|
|
140
|
+
- Tests (coverage)
|
|
141
|
+
- Acceptance criteria met
|
|
142
|
+
|
|
143
|
+
2. Build requirement matrix:
|
|
144
|
+
| Must-Have | Status | Evidence |
|
|
145
|
+
|
|
146
|
+
3. Run security checklist
|
|
147
|
+
|
|
148
|
+
4. Check for regressions
|
|
149
|
+
|
|
150
|
+
5. Return XML with VERIFICATION PASSED/FAILED
|
|
151
|
+
`
|
|
152
|
+
})
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Spawn goop-tester (parallel):**
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
task({
|
|
159
|
+
subagent_type: "goop-tester",
|
|
160
|
+
description: "Run test suite",
|
|
161
|
+
prompt: `
|
|
162
|
+
## TASK
|
|
163
|
+
Run complete test suite and report results
|
|
164
|
+
|
|
165
|
+
## INSTRUCTIONS
|
|
166
|
+
1. Run: bun test
|
|
167
|
+
2. Run: bun run typecheck
|
|
168
|
+
3. Report coverage
|
|
169
|
+
4. Flag any failures
|
|
170
|
+
5. Return XML with test results
|
|
171
|
+
`
|
|
172
|
+
})
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Phase 3: Present Verification Report
|
|
176
|
+
|
|
177
|
+
**Parse XML responses and present:**
|
|
178
|
+
|
|
179
|
+
```
|
|
180
|
+
+--------------------------------------------------------+
|
|
181
|
+
| GOOPSPEC > VERIFICATION REPORT |
|
|
182
|
+
+--------------------------------------------------------+
|
|
183
|
+
|
|
184
|
+
## Requirement Matrix
|
|
185
|
+
|
|
186
|
+
| Must-Have | Status | Evidence |
|
|
187
|
+
|-----------|--------|----------|
|
|
188
|
+
| MH1: [Title] | PASS | Tests: 5/5, Commit: abc123 |
|
|
189
|
+
| MH2: [Title] | PASS | Tests: 3/3, Commit: def456 |
|
|
190
|
+
| MH3: [Title] | PASS | Manual: UI verified |
|
|
191
|
+
|
|
192
|
+
## Test Results
|
|
193
|
+
|
|
194
|
+
| Suite | Passed | Failed | Coverage |
|
|
195
|
+
|-------|--------|--------|----------|
|
|
196
|
+
| Unit | 42 | 0 | 87% |
|
|
197
|
+
| Integration | 8 | 0 | 92% |
|
|
198
|
+
|
|
199
|
+
## Security Check
|
|
200
|
+
|
|
201
|
+
| Check | Status |
|
|
202
|
+
|-------|--------|
|
|
203
|
+
| No hardcoded secrets | PASS |
|
|
204
|
+
| Input validation | PASS |
|
|
205
|
+
| Auth on protected routes | PASS |
|
|
206
|
+
|
|
207
|
+
## Overall: [PASSED/FAILED]
|
|
208
|
+
|
|
209
|
+
+--------------------------------------------------------+
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
**If FAILED:**
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
+--------------------------------------------------------+
|
|
216
|
+
| GOOPSPEC > VERIFICATION FAILED |
|
|
217
|
+
+--------------------------------------------------------+
|
|
218
|
+
|
|
219
|
+
**Failures:**
|
|
220
|
+
|
|
221
|
+
| Must-Have | Issue | Resolution |
|
|
222
|
+
|-----------|-------|------------|
|
|
223
|
+
| MH2 | Test failing | Fix auth edge case |
|
|
224
|
+
| MH3 | Missing feature | Implement retry logic |
|
|
225
|
+
|
|
226
|
+
+--------------------------------------------------------+
|
|
227
|
+
|
|
228
|
+
**Options:**
|
|
229
|
+
1. Fix issues → /goop-execute to continue
|
|
230
|
+
2. Amend spec → /goop-amend to change requirements
|
|
231
|
+
3. Accept anyway → Type "accept-with-issues"
|
|
232
|
+
|
|
233
|
+
+--------------------------------------------------------+
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### Phase 4: Request Acceptance
|
|
237
|
+
|
|
238
|
+
**If PASSED:**
|
|
239
|
+
|
|
240
|
+
```
|
|
241
|
+
+--------------------------------------------------------+
|
|
242
|
+
| GOOPSPEC > ACCEPTANCE GATE |
|
|
243
|
+
+--------------------------------------------------------+
|
|
244
|
+
|
|
245
|
+
**Verification:** PASSED
|
|
246
|
+
**Must-Haves:** [N/N] complete
|
|
247
|
+
**Tests:** [X] passing
|
|
248
|
+
|
|
249
|
+
+--------------------------------------------------------+
|
|
250
|
+
|
|
251
|
+
Type **"accept"** to complete this milestone.
|
|
252
|
+
Type **"issues"** to report problems.
|
|
253
|
+
Type **"cancel"** to return to execution.
|
|
254
|
+
|
|
255
|
+
+--------------------------------------------------------+
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### Phase 5: Handle Response
|
|
259
|
+
|
|
260
|
+
**On "accept":**
|
|
261
|
+
|
|
262
|
+
1. Update state.json:
|
|
263
|
+
```json
|
|
264
|
+
{
|
|
265
|
+
"phase": "accept",
|
|
266
|
+
"verification_passed": true,
|
|
267
|
+
"user_accepted": true,
|
|
268
|
+
"accepted_at": "[timestamp]"
|
|
269
|
+
}
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
2. Save to memory:
|
|
273
|
+
```
|
|
274
|
+
memory_save({
|
|
275
|
+
type: "decision",
|
|
276
|
+
title: "Accepted: [Feature]",
|
|
277
|
+
content: "User accepted [feature] with [N] must-haves verified",
|
|
278
|
+
importance: 0.8
|
|
279
|
+
})
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
3. Generate HANDOFF.md:
|
|
283
|
+
```markdown
|
|
284
|
+
# Session Handoff
|
|
27
285
|
|
|
28
|
-
|
|
29
|
-
The `goop-verifier` agent runs:
|
|
30
|
-
- **Automated Checks:** `bun test`, `bun run build`.
|
|
31
|
-
- **Spec Compliance:** Verifies "Must Haves" against evidence.
|
|
32
|
-
- **Security Scan:** Checks for common vulnerabilities.
|
|
286
|
+
**Phase:** accept
|
|
33
287
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
288
|
+
## Accomplished
|
|
289
|
+
- All must-haves verified
|
|
290
|
+
- Tests passing
|
|
291
|
+
- User accepted
|
|
38
292
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
293
|
+
## Next Session
|
|
294
|
+
Run: /goop-complete
|
|
295
|
+
|
|
296
|
+
## Context
|
|
297
|
+
Verification passed. Ready to archive.
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
4. Display completion:
|
|
301
|
+
```
|
|
302
|
+
+--------------------------------------------------------+
|
|
303
|
+
| GOOPSPEC > ACCEPTED |
|
|
304
|
+
+--------------------------------------------------------+
|
|
305
|
+
|
|
306
|
+
**Feature:** [Name]
|
|
307
|
+
**Status:** Accepted
|
|
308
|
+
**Verified:** [timestamp]
|
|
309
|
+
|
|
310
|
+
+--------------------------------------------------------+
|
|
311
|
+
|
|
312
|
+
## > Next Step
|
|
313
|
+
|
|
314
|
+
**Complete the milestone** — Archive and extract learnings
|
|
315
|
+
|
|
316
|
+
`/goop-complete`
|
|
317
|
+
|
|
318
|
+
Start a new session for clean archive.
|
|
319
|
+
|
|
320
|
+
+--------------------------------------------------------+
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
**On "issues":**
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
What issues did you find?
|
|
327
|
+
|
|
328
|
+
[Use question tool or text input]
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
Then:
|
|
332
|
+
1. Log issues in CHRONICLE.md
|
|
333
|
+
2. Return to execution phase
|
|
334
|
+
3. Suggest `/goop-execute` to fix
|
|
335
|
+
|
|
336
|
+
**On "accept-with-issues":**
|
|
337
|
+
|
|
338
|
+
1. Log that acceptance was with known issues
|
|
339
|
+
2. Document issues in CHRONICLE.md
|
|
340
|
+
3. Proceed to acceptance
|
|
341
|
+
|
|
342
|
+
```
|
|
343
|
+
+--------------------------------------------------------+
|
|
344
|
+
| GOOPSPEC > ACCEPTED WITH ISSUES |
|
|
345
|
+
+--------------------------------------------------------+
|
|
346
|
+
|
|
347
|
+
**Known Issues:**
|
|
348
|
+
- [Issue 1]
|
|
349
|
+
- [Issue 2]
|
|
350
|
+
|
|
351
|
+
These will be documented in the retrospective.
|
|
352
|
+
|
|
353
|
+
## > Next Step
|
|
354
|
+
`/goop-complete`
|
|
355
|
+
+--------------------------------------------------------+
|
|
356
|
+
```
|
|
42
357
|
|
|
43
358
|
## Output
|
|
44
359
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
360
|
+
| File | Purpose |
|
|
361
|
+
|------|---------|
|
|
362
|
+
| `.goopspec/state.json` | Updated with acceptance |
|
|
363
|
+
| `.goopspec/CHRONICLE.md` | Verification results |
|
|
364
|
+
| `.goopspec/HANDOFF.md` | Session handoff |
|
|
365
|
+
|
|
366
|
+
## Transitions
|
|
367
|
+
|
|
368
|
+
| Outcome | Next Step |
|
|
369
|
+
|---------|-----------|
|
|
370
|
+
| Accepted | `/goop-complete` to archive |
|
|
371
|
+
| Verification failed | `/goop-execute` to fix |
|
|
372
|
+
| Issues reported | `/goop-execute` to address |
|
|
373
|
+
| Spec needs change | `/goop-amend` to modify |
|
|
374
|
+
|
|
375
|
+
## Examples
|
|
376
|
+
|
|
377
|
+
**Successful Acceptance:**
|
|
378
|
+
```
|
|
379
|
+
User: /goop-accept
|
|
380
|
+
|
|
381
|
+
Orchestrator:
|
|
382
|
+
+--------------------------------------------------------+
|
|
383
|
+
| GOOPSPEC > VERIFICATION REPORT |
|
|
384
|
+
+--------------------------------------------------------+
|
|
385
|
+
|
|
386
|
+
| Must-Have | Status | Evidence |
|
|
387
|
+
|-----------|--------|----------|
|
|
388
|
+
| MH1: Toggle UI | PASS | Tests: 3/3 |
|
|
389
|
+
| MH2: Theme switch | PASS | Tests: 5/5 |
|
|
390
|
+
| MH3: Persist pref | PASS | Tests: 2/2 |
|
|
391
|
+
|
|
392
|
+
## Overall: PASSED
|
|
393
|
+
|
|
394
|
+
Type "accept" to complete.
|
|
395
|
+
|
|
396
|
+
User: accept
|
|
397
|
+
|
|
398
|
+
Orchestrator:
|
|
399
|
+
+--------------------------------------------------------+
|
|
400
|
+
| GOOPSPEC > ACCEPTED |
|
|
401
|
+
+--------------------------------------------------------+
|
|
402
|
+
|
|
403
|
+
## > Next Step
|
|
404
|
+
`/goop-complete`
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
**Verification Failed:**
|
|
408
|
+
```
|
|
409
|
+
User: /goop-accept
|
|
410
|
+
|
|
411
|
+
Orchestrator:
|
|
412
|
+
+--------------------------------------------------------+
|
|
413
|
+
| GOOPSPEC > VERIFICATION FAILED |
|
|
414
|
+
+--------------------------------------------------------+
|
|
415
|
+
|
|
416
|
+
**Failures:**
|
|
417
|
+
| MH2 | Test failing | edge case in theme switch |
|
|
418
|
+
|
|
419
|
+
**Options:**
|
|
420
|
+
1. Fix issues → /goop-execute
|
|
421
|
+
2. Accept anyway → "accept-with-issues"
|
|
422
|
+
|
|
423
|
+
User: Let's fix it
|
|
424
|
+
|
|
425
|
+
Orchestrator: Run `/goop-execute` to continue.
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
## Success Criteria
|
|
429
|
+
|
|
430
|
+
- [ ] Gate check performed (execution complete, no blockers)
|
|
431
|
+
- [ ] goop-verifier spawned with full context
|
|
432
|
+
- [ ] goop-tester spawned for test suite
|
|
433
|
+
- [ ] Verification report presented clearly
|
|
434
|
+
- [ ] Requirement matrix shows all must-haves
|
|
435
|
+
- [ ] User explicitly typed "accept"
|
|
436
|
+
- [ ] state.json updated with acceptance
|
|
437
|
+
- [ ] HANDOFF.md generated
|
|
438
|
+
- [ ] User knows next step is `/goop-complete`
|
|
439
|
+
|
|
440
|
+
## Anti-Patterns
|
|
441
|
+
|
|
442
|
+
**DON'T:**
|
|
443
|
+
- Skip the execution completion check
|
|
444
|
+
- Accept without running verification
|
|
445
|
+
- Auto-accept without user confirmation
|
|
446
|
+
- Skip handoff generation
|
|
447
|
+
|
|
448
|
+
**DO:**
|
|
449
|
+
- Verify every must-have has evidence
|
|
450
|
+
- Present clear verification report
|
|
451
|
+
- Require explicit "accept" keyword
|
|
452
|
+
- Document any accepted issues
|
|
453
|
+
|
|
454
|
+
---
|
|
455
|
+
|
|
456
|
+
*Acceptance Protocol v0.1.4*
|
|
457
|
+
*"Verify everything. Accept explicitly."*
|
package/commands/goop-amend.md
CHANGED
|
@@ -13,6 +13,19 @@ description: Propose changes to a locked specification
|
|
|
13
13
|
/goop-amend [description of change]
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
## Tools Used
|
|
17
|
+
|
|
18
|
+
| Tool | Purpose in This Command |
|
|
19
|
+
|------|------------------------|
|
|
20
|
+
| `goop_status` | Check spec is locked |
|
|
21
|
+
| `goop_spec` | Load current spec for amendment |
|
|
22
|
+
| `goop_adl` | Log amendment decision |
|
|
23
|
+
| `memory_decision` | Record amendment rationale |
|
|
24
|
+
|
|
25
|
+
**Hook Support:** `tool.execute.after` updates spec lock state.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
16
29
|
## How It Works
|
|
17
30
|
|
|
18
31
|
Once a spec is locked via `/goop-specify`, it cannot be silently changed. `/goop-amend` provides a formal process to alter the contract.
|
|
@@ -13,6 +13,19 @@ description: Complete and archive the current milestone
|
|
|
13
13
|
/goop-complete
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
## Tools Used
|
|
17
|
+
|
|
18
|
+
| Tool | Purpose in This Command |
|
|
19
|
+
|------|------------------------|
|
|
20
|
+
| `goop_status` | Verify milestone is ready for completion |
|
|
21
|
+
| `goop_adl` | Log completion decision |
|
|
22
|
+
| `memory_save` | Persist milestone learnings |
|
|
23
|
+
| `goop_checkpoint` | Archive milestone state |
|
|
24
|
+
|
|
25
|
+
**Hook Support:** `tool.execute.after` triggers archive feature.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
16
29
|
## How It Works
|
|
17
30
|
|
|
18
31
|
Marks the end of a significant body of work (a Milestone). It focuses on cleanup, reflection, and memory persistence.
|
package/commands/goop-debug.md
CHANGED
|
@@ -13,6 +13,19 @@ description: Debug with a systematic workflow
|
|
|
13
13
|
/goop-debug [symptom description]
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
## Tools Used
|
|
17
|
+
|
|
18
|
+
| Tool | Purpose in This Command |
|
|
19
|
+
|------|------------------------|
|
|
20
|
+
| `goop_status` | Check current execution context |
|
|
21
|
+
| `goop_checkpoint` | Save state before risky fixes |
|
|
22
|
+
| `memory_search` | Find prior bugs, similar issues |
|
|
23
|
+
| `memory_decision` | Record fix decisions with evidence |
|
|
24
|
+
|
|
25
|
+
**Hook Support:** `system.transform` injects prior debugging context.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
16
29
|
## How It Works
|
|
17
30
|
|
|
18
31
|
Enters a specialized debugging mode that enforces scientific rigor to prevent "flailing."
|