opencode-goopspec 0.1.5 → 0.1.6

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 (90) hide show
  1. package/README.md +7 -7
  2. package/agents/goop-debugger.md +2 -2
  3. package/agents/goop-designer.md +2 -2
  4. package/agents/goop-executor.md +17 -7
  5. package/agents/goop-explorer.md +2 -2
  6. package/agents/goop-librarian.md +1 -1
  7. package/agents/goop-orchestrator.md +47 -5
  8. package/agents/goop-planner.md +3 -3
  9. package/agents/goop-researcher.md +2 -2
  10. package/agents/goop-tester.md +1 -1
  11. package/agents/goop-verifier.md +2 -2
  12. package/agents/goop-writer.md +1 -1
  13. package/agents/memory-distiller.md +2 -2
  14. package/commands/goop-accept.md +27 -401
  15. package/commands/goop-discuss.md +29 -393
  16. package/commands/goop-execute.md +22 -356
  17. package/commands/goop-map-codebase.md +44 -478
  18. package/commands/goop-plan.md +23 -499
  19. package/commands/goop-quick.md +58 -31
  20. package/commands/goop-setup.md +7 -4
  21. package/commands/goop-specify.md +26 -291
  22. package/commands/goop-status.md +26 -261
  23. package/dist/index.js +808 -182
  24. package/dist/worker/index.js +1 -1
  25. package/package.json +2 -1
  26. package/references/accept-process.md +402 -0
  27. package/references/context-injection.md +1 -1
  28. package/references/discovery-interview.md +1 -1
  29. package/references/discuss-process.md +383 -0
  30. package/references/dispatch-patterns.md +46 -21
  31. package/references/enforcement-system.md +1 -1
  32. package/references/execute-process.md +358 -0
  33. package/references/git-workflow.md +349 -0
  34. package/references/handoff-protocol.md +1 -1
  35. package/references/map-codebase-process.md +353 -0
  36. package/references/model-profiles.md +16 -16
  37. package/references/orchestrator-philosophy.md +1 -1
  38. package/references/phase-gates.md +1 -1
  39. package/references/plan-process.md +397 -0
  40. package/references/plugin-architecture.md +1 -1
  41. package/references/quick-process.md +343 -0
  42. package/references/response-format.md +2 -2
  43. package/references/specify-process.md +251 -0
  44. package/references/status-process.md +253 -0
  45. package/references/subagent-protocol.md +2 -2
  46. package/references/team-coordination.md +183 -0
  47. package/references/xml-response-schema.md +5 -5
  48. package/skills/accessibility/skill.md +1 -1
  49. package/skills/accessibility-testing/skill.md +1 -1
  50. package/skills/api-docs/skill.md +1 -1
  51. package/skills/architecture-design/skill.md +1 -1
  52. package/skills/atomic-commits/skill.md +92 -15
  53. package/skills/code-review/skill.md +1 -1
  54. package/skills/codebase-mapping/skill.md +1 -1
  55. package/skills/convention-detection/skill.md +1 -1
  56. package/skills/debugging/skill.md +1 -1
  57. package/skills/deviation-handling/skill.md +1 -1
  58. package/skills/documentation/skill.md +1 -1
  59. package/skills/goop-core/skill.md +48 -11
  60. package/skills/memory-usage/skill.md +1 -1
  61. package/skills/parallel-planning/skill.md +1 -1
  62. package/skills/pattern-extraction/skill.md +1 -1
  63. package/skills/performance-optimization/skill.md +1 -1
  64. package/skills/playwright/skill.md +1 -1
  65. package/skills/playwright-testing/skill.md +1 -1
  66. package/skills/progress-tracking/skill.md +1 -1
  67. package/skills/readme-generation/skill.md +1 -1
  68. package/skills/research/skill.md +1 -1
  69. package/skills/responsive-design/skill.md +1 -1
  70. package/skills/scientific-method/skill.md +1 -1
  71. package/skills/security-audit/skill.md +1 -1
  72. package/skills/task-decomposition/skill.md +1 -1
  73. package/skills/task-delegation/skill.md +60 -34
  74. package/skills/technical-writing/skill.md +1 -1
  75. package/skills/testing/skill.md +1 -1
  76. package/skills/ui-design/skill.md +1 -1
  77. package/skills/ux-patterns/skill.md +1 -1
  78. package/skills/verification/skill.md +1 -1
  79. package/skills/visual-regression/skill.md +1 -1
  80. package/templates/blueprint.md +1 -1
  81. package/templates/chronicle.md +1 -1
  82. package/templates/handoff.md +1 -1
  83. package/templates/milestone.md +1 -1
  84. package/templates/project.md +1 -1
  85. package/templates/requirements.md +1 -1
  86. package/templates/research.md +1 -1
  87. package/templates/retrospective.md +1 -1
  88. package/templates/spec.md +1 -1
  89. package/templates/state.md +1 -1
  90. package/templates/summary.md +1 -1
@@ -18,438 +18,39 @@ alternatives:
18
18
 
19
19
  **Create Specification and Blueprint.** Transform discovery interview into executable plans.
20
20
 
21
- ## Usage
21
+ ## Immediate Action
22
22
 
23
- ```bash
24
- /goop-plan
23
+ **STOP. Execute this tool call NOW before reading anything else:**
25
24
  ```
26
-
27
- ## Gate Requirement
28
-
29
- ```
30
- +================================================================+
31
- | DISCOVERY GATE: Interview must be complete before planning. |
32
- | This ensures we build the RIGHT thing. |
33
- +================================================================+
25
+ goop_reference({ name: "plan-process" })
34
26
  ```
35
27
 
36
- **Required before this command:**
37
- - `interviewComplete: true` (check via `goop_state({ action: "get" })`)
38
- - `.goopspec/REQUIREMENTS.md` exists
28
+ **Then execute the gate checks from that reference.** Do not process user messages until gates are checked.
39
29
 
40
- **If not satisfied:** Refuse and redirect to `/goop-discuss`
30
+ ## Quick Summary
41
31
 
42
- **CRITICAL: Never read or edit .goopspec/state.json directly. Always use `goop_state` tool.**
43
-
44
- ## Orchestrator Role
32
+ **Gate:** `interviewComplete: true` required. Check via `goop_state({ action: "get" })`.
45
33
 
46
34
  **You check the gate, then spawn the planner.** The planner creates SPEC.md and BLUEPRINT.md.
47
35
 
48
- ## Tools Used
36
+ ### Tools Used
49
37
 
50
- | Tool | Purpose in This Command |
51
- |------|------------------------|
38
+ | Tool | Purpose |
39
+ |------|---------|
52
40
  | `goop_status` | Check current phase and gate requirements |
41
+ | `goop_state` | Check/update workflow state (NEVER edit state.json directly) |
53
42
  | `goop_spec` | Validate interview complete, load existing specs |
54
43
  | `memory_search` | Find prior architecture decisions |
55
- | `memory_decision` | Record new planning decisions |
56
- | `goop_reference` | Load spec/blueprint templates |
57
-
58
- **Hook Support:** `tool.execute.after` may auto-transition to specify phase.
59
-
60
- ---
61
-
62
- ## Process
63
-
64
- ### Phase 1: Gate Check
65
-
66
- **Execute BEFORE anything else:**
67
-
68
- ```
69
- goop_status()
70
- goop_state({ action: "get" }) # NEVER read state.json directly
71
- Read(".goopspec/REQUIREMENTS.md")
72
- ```
73
-
74
- **1.1 Check interviewComplete:**
75
-
76
- ```
77
- IF state.interviewComplete != true:
78
- REFUSE with:
79
-
80
- ## 🔮 GoopSpec · Gate Blocked
81
-
82
- ✗ Discovery interview required before planning.
83
-
84
- → Run: `/goop-discuss`
85
-
86
- ---
87
-
88
- EXIT command.
89
- ```
90
-
91
- **1.2 Check REQUIREMENTS.md exists:**
92
-
93
- ```
94
- IF .goopspec/REQUIREMENTS.md does not exist:
95
- REFUSE with:
96
-
97
- ## 🔮 GoopSpec · Gate Blocked
98
-
99
- ✗ No discovery output found.
100
-
101
- → Run: `/goop-discuss`
102
-
103
- ---
104
-
105
- EXIT command.
106
- ```
107
-
108
- **1.3 Gate passed:**
109
-
110
- ```
111
- ## 🔮 GoopSpec · Planning
112
-
113
- ✓ Discovery gate passed
114
-
115
- ⏳ Creating specification and blueprint...
116
-
117
- ---
118
- ```
119
-
120
- ### Phase 2: Check for Existing Documents
121
-
122
- **2.1 Check for existing SPEC.md/BLUEPRINT.md:**
123
-
124
- ```
125
- Read(".goopspec/SPEC.md")
126
- Read(".goopspec/BLUEPRINT.md")
127
- ```
128
-
129
- **2.2 If documents exist:**
130
-
131
- Use `question` tool:
132
- - header: "Existing Project"
133
- - question: "I found existing project documents. How would you like to proceed?"
134
- - options:
135
- - "Archive and start fresh (Recommended)" — Move current docs to archive, create new
136
- - "Continue existing project" — Resume work (exit, run /goop-status)
137
- - "Overwrite without archiving" — Replace documents (loses history)
138
-
139
- **On "Archive":** Spawn writer to archive, then continue.
140
- **On "Continue":** Exit, suggest `/goop-status`.
141
- **On "Overwrite":** Warn, then continue.
142
-
143
- ### Phase 3: Load Context
144
-
145
- **3.1 Load discovery interview:**
146
-
147
- ```
148
- Read(".goopspec/REQUIREMENTS.md")
149
- ```
150
-
151
- Extract:
152
- - Vision
153
- - Must-haves (with acceptance criteria)
154
- - Constraints
155
- - Out of scope
156
- - Assumptions
157
- - Risks
158
-
159
- **3.2 Search memory:**
44
+ | `goop_reference` | Load detailed process |
160
45
 
161
- ```
162
- memory_search({ query: "[feature] architecture decisions patterns", limit: 5 })
163
- ```
164
-
165
- **3.3 Create or load project knowledge:**
166
-
167
- ```
168
- Read(".goopspec/PROJECT_KNOWLEDGE_BASE.md")
169
- ```
170
-
171
- **If PROJECT_KNOWLEDGE_BASE.md does not exist, CREATE IT:**
172
-
173
- This file is required by subagents throughout the workflow. Extract stack/convention info from REQUIREMENTS.md constraints section and create a minimal knowledge base:
174
-
175
- ```markdown
176
- # Project Knowledge Base
177
-
178
- **Last Updated:** [timestamp]
179
- **Updated By:** orchestrator (auto-generated from discovery)
180
-
181
- ---
182
-
183
- ## Project Identity
184
-
185
- **Name:** [From REQUIREMENTS.md vision]
186
- **Type:** [Inferred from constraints]
187
- **Stage:** Active
188
-
189
- ---
190
-
191
- ## Stack (Non-Negotiable)
192
-
193
- [Extract from REQUIREMENTS.md Constraints section]
194
-
195
- ### Runtime & Language
196
- - **Runtime:** [e.g., Node.js / Bun / Browser]
197
- - **Language:** [e.g., TypeScript]
198
-
199
- ### Frameworks & Libraries
200
- - **Framework:** [From constraints]
201
- - **Testing:** [From constraints or infer from package.json]
202
-
203
- ---
204
-
205
- ## Conventions
46
+ ### Process Overview
206
47
 
207
- [Extract from REQUIREMENTS.md or infer from codebase]
208
-
209
- ### File Naming
210
- - **Files:** [kebab-case / camelCase]
211
- - **Tests:** [*.test.ts / *.spec.ts]
212
-
213
- ### Code Style
214
- - **Exports:** [Named / Default]
215
-
216
- ---
217
-
218
- ## Architecture Decisions
219
-
220
- *To be populated during planning and execution.*
221
-
222
- ---
223
-
224
- ## Known Gotchas
225
-
226
- *To be populated as issues are discovered.*
227
-
228
- ---
229
-
230
- *Auto-generated from discovery interview. Update as project evolves.*
231
- ```
232
-
233
- Write to `.goopspec/PROJECT_KNOWLEDGE_BASE.md` before proceeding.
234
-
235
- ### Phase 4: Spawn Planner
236
-
237
- **Display banner:**
238
- ```
239
- ## 🔮 GoopSpec · Creating Documents
240
-
241
- ⏳ Spawning planner to create SPEC.md and BLUEPRINT.md...
242
-
243
- ---
244
- ```
245
-
246
- **Spawn goop-planner with full context:**
247
-
248
- ```
249
- task({
250
- subagent_type: "goop-planner",
251
- description: "Create SPEC and BLUEPRINT",
252
- prompt: `
253
- ## TASK
254
- Create specification and blueprint from discovery interview.
255
-
256
- ## PROJECT CONTEXT
257
- [From PROJECT_KNOWLEDGE_BASE.md if exists]
258
- - Stack: [technologies]
259
- - Conventions: [naming, patterns]
260
-
261
- ## DISCOVERY INTERVIEW OUTPUT
262
- [Full content of REQUIREMENTS.md]
263
-
264
- ### Vision
265
- [Vision section]
266
-
267
- ### Must-Haves
268
- [Must-haves with acceptance criteria]
269
-
270
- ### Constraints
271
- [Technical and practical constraints]
272
-
273
- ### Out of Scope
274
- [Explicit exclusions]
275
-
276
- ### Assumptions
277
- [Baseline assumptions]
278
-
279
- ### Risks
280
- [Identified risks with mitigations]
281
-
282
- ## INSTRUCTIONS
283
-
284
- 1. **Verify discovery completeness:**
285
- - Vision defined?
286
- - Must-haves listed with acceptance criteria?
287
- - Out of scope defined?
288
- - Risks identified?
289
-
290
- If missing critical info, return BLOCKED.
291
-
292
- 2. **Create .goopspec/SPEC.md:**
293
- - Transform must-haves into formal requirements (MH1, MH2, etc.)
294
- - Include acceptance criteria for each
295
- - Add traceability section (will be filled after blueprint)
296
- - Mark status as "Draft"
297
-
298
- 3. **Create .goopspec/BLUEPRINT.md:**
299
- - Design wave architecture
300
- - Create tasks that cover ALL must-haves
301
- - Add spec coverage to each task
302
- - Build traceability matrix
303
-
304
- 4. **Update .goopspec/SPEC.md:**
305
- - Fill traceability matrix (must-have → tasks)
306
- - Verify 100% coverage
307
-
308
- 5. **Initialize .goopspec/CHRONICLE.md:**
309
- - Phase: plan → ready for specify
310
- - Documents created with timestamps
311
-
312
- 6. **Save to memory:**
313
- - Key architectural decisions
314
- - Technology choices with rationale
315
-
316
- 7. **Return XML response envelope** with:
317
- - BLUEPRINT COMPLETE status
318
- - Wave summary
319
- - Traceability summary
320
- - Handoff instructions
321
-
322
- ## VERIFICATION
323
- Before returning COMPLETE:
324
- - [ ] Every must-have has mapped tasks
325
- - [ ] Every task has spec coverage
326
- - [ ] Traceability matrix shows 100%
327
- - [ ] SPEC.md has all sections filled
328
- - [ ] BLUEPRINT.md has verification commands
329
- `
330
- })
331
- ```
332
-
333
- ### Phase 5: Handle Response
334
-
335
- **Parse XML response from planner.**
336
-
337
- **On `COMPLETE` status:**
338
-
339
- Read created documents:
340
- ```
341
- Read(".goopspec/SPEC.md")
342
- Read(".goopspec/BLUEPRINT.md")
343
- ```
344
-
345
- Display completion:
346
- ```
347
- ## 🔮 GoopSpec · Planning Complete
348
-
349
- ✨ Blueprint created successfully
350
-
351
- **Feature:** [Name from SPEC.md]
352
-
353
- | Document | Status | Location |
354
- |----------|--------|----------|
355
- | Spec | ✓ Created | .goopspec/SPEC.md |
356
- | Blueprint | ✓ Created | .goopspec/BLUEPRINT.md |
357
- | Chronicle | ✓ Created | .goopspec/CHRONICLE.md |
358
-
359
- **[N] must-haves** | **[M] waves** | **[P] tasks**
360
-
361
- ### Traceability
362
- | Must-Have | Covered By |
363
- |-----------|------------|
364
- | MH1 | Wave X, Tasks Y |
365
- | MH2 | Wave X, Tasks Y |
366
-
367
- ✓ Coverage: 100%
368
-
369
- ### Next Step
370
-
371
- **Lock the specification** — Confirm requirements before execution
372
-
373
- → `/goop-specify`
374
-
375
- ---
376
-
377
- Start a **new session** for fresh context, then run the command.
378
-
379
- **Also available:**
380
- - `cat .goopspec/SPEC.md` — Review specification
381
- - `cat .goopspec/BLUEPRINT.md` — Review execution plan
382
- - `/goop-research [topic]` — Investigate unknowns first
383
- ```
384
-
385
- **Generate HANDOFF.md:**
386
-
387
- ```
388
- Write(".goopspec/HANDOFF.md", `
389
- # Session Handoff
390
-
391
- **Generated:** [timestamp]
392
- **Phase:** plan
393
-
394
- ## Accomplished
395
- - [x] Discovery interview completed
396
- - [x] SPEC.md created with [N] must-haves
397
- - [x] BLUEPRINT.md created with [M] waves, [P] tasks
398
- - [x] 100% traceability achieved
399
-
400
- ## Current State
401
- - Phase: plan
402
- - Interview: complete
403
- - Spec: draft (not locked)
404
-
405
- ## Next Session
406
- Run: /goop-specify
407
-
408
- ## Files to Read
409
- 1. .goopspec/SPEC.md — Requirements
410
- 2. .goopspec/BLUEPRINT.md — Execution plan
411
-
412
- ## Context Summary
413
- Planning complete for [feature]. [N] must-haves mapped to [P] tasks
414
- across [M] waves. Ready to lock specification.
415
- `)
416
- ```
417
-
418
- **On `BLOCKED` status:**
419
-
420
- ```
421
- ## 🔮 GoopSpec · Planning Blocked
422
-
423
- ✗ Cannot proceed
424
-
425
- **Blocker:** [From planner response]
426
-
427
- **Options:**
428
- 1. Provide more context → `/goop-discuss`
429
- 2. Research the unknown → `/goop-research [topic]`
430
-
431
- ---
432
- ```
433
-
434
- Use `question` tool to get user choice.
435
-
436
- **On `PARTIAL` status:**
437
-
438
- Present what was created, explain gaps, offer to continue or restart.
439
-
440
- ### Phase 6: Memory Persistence
441
-
442
- After successful planning:
443
-
444
- ```
445
- memory_save({
446
- type: "note",
447
- title: "Plan: [Feature Name]",
448
- content: "Created [N]-wave blueprint. Key decisions: [list]. Must-haves: [summary].",
449
- concepts: ["planning", "blueprint", "[domain]"],
450
- importance: 0.7
451
- })
452
- ```
48
+ 1. **Gate Check** — Verify `interviewComplete` and REQUIREMENTS.md exist
49
+ 2. **Handle Existing** — Archive or continue if docs already exist
50
+ 3. **Load Context** — Read REQUIREMENTS.md, search memory
51
+ 4. **Create PROJECT_KNOWLEDGE_BASE.md** If missing, generate from constraints
52
+ 5. **Spawn goop-planner** With full discovery context
53
+ 6. **Generate HANDOFF.md** — For session continuity
453
54
 
454
55
  ## Output
455
56
 
@@ -459,98 +60,21 @@ memory_save({
459
60
  | `.goopspec/BLUEPRINT.md` | Wave-based execution plan |
460
61
  | `.goopspec/CHRONICLE.md` | Progress tracking |
461
62
  | `.goopspec/HANDOFF.md` | Session handoff |
462
- | `.goopspec/PROJECT_KNOWLEDGE_BASE.md` | Stack and conventions (created if missing) |
463
- | State (via goop_state) | Workflow state (phase transitions) |
464
-
465
- ## Transitions
466
-
467
- | Outcome | Next Step |
468
- |---------|-----------|
469
- | Planning complete | `/goop-specify` to lock |
470
- | Missing discovery | `/goop-discuss` to interview |
471
- | Unknowns remain | `/goop-research` to investigate |
472
- | Need to pause | `/goop-pause` to checkpoint |
473
-
474
- ## Examples
475
-
476
- **Gate Passed:**
477
- ```
478
- User: /goop-plan
479
-
480
- Orchestrator:
481
- +--------------------------------------------------------+
482
- | GOOPSPEC > PLANNING |
483
- +--------------------------------------------------------+
484
- | Discovery gate: PASSED |
485
- | Creating specification and blueprint... |
486
- +--------------------------------------------------------+
487
-
488
- [Spawns goop-planner]
489
-
490
- ...
491
-
492
- +--------------------------------------------------------+
493
- | GOOPSPEC > PLANNING COMPLETE |
494
- +--------------------------------------------------------+
495
-
496
- **Feature:** Dark Mode Toggle
497
-
498
- | Document | Status |
499
- |------------|---------|
500
- | Spec | Created |
501
- | Blueprint | Created |
502
-
503
- **3 must-haves** | **2 waves** | **5 tasks**
504
-
505
- ## > Next Step
506
- `/goop-specify`
507
- ```
508
-
509
- **Gate Blocked:**
510
- ```
511
- User: /goop-plan
512
-
513
- Orchestrator:
514
- +--------------------------------------------------------+
515
- | GOOPSPEC > GATE BLOCKED |
516
- +--------------------------------------------------------+
517
- | Discovery interview required before planning. |
518
- | |
519
- | Run: /goop-discuss |
520
- +--------------------------------------------------------+
521
- ```
63
+ | `.goopspec/PROJECT_KNOWLEDGE_BASE.md` | Stack and conventions |
522
64
 
523
65
  ## Success Criteria
524
66
 
525
67
  - [ ] Gate check performed (interview_complete + REQUIREMENTS.md)
526
- - [ ] If gate fails, refused with clear redirect to /goop-discuss
527
- - [ ] Existing documents handled (archive/continue/overwrite)
528
- - [ ] PROJECT_KNOWLEDGE_BASE.md created if missing (from REQUIREMENTS.md constraints)
68
+ - [ ] PROJECT_KNOWLEDGE_BASE.md created if missing
529
69
  - [ ] goop-planner spawned with full discovery context
530
- - [ ] SPEC.md created with traceability
531
- - [ ] BLUEPRINT.md created with spec coverage
532
70
  - [ ] 100% must-have coverage achieved
533
- - [ ] HANDOFF.md generated
534
71
  - [ ] User knows next step is `/goop-specify`
535
- - [ ] Suggested to start new session for fresh context
536
72
 
537
73
  ## Anti-Patterns
538
74
 
539
- **DON'T:**
540
- - Skip the discovery gate check
541
- - Conduct interview in /goop-plan (that's /goop-discuss)
542
- - Create documents without traceability
543
- - Leave user without next steps
544
- - Skip handoff generation
545
-
546
- **DO:**
547
- - Enforce the gate strictly
548
- - Spawn planner with complete context
549
- - Verify 100% traceability
550
- - Generate HANDOFF.md
551
- - Suggest new session for clean context
75
+ **DON'T:** Skip gate check, conduct interview here, create docs without traceability
76
+ **DO:** Enforce gate strictly, spawn planner with complete context, verify 100% traceability
552
77
 
553
78
  ---
554
79
 
555
- *Planning Protocol v0.1.5*
556
- *"Every must-have traces to tasks."*
80
+ *Load `goop_reference({ name: "plan-process" })` for full process details.*
@@ -1,6 +1,14 @@
1
1
  ---
2
2
  name: goop-quick
3
3
  description: Fast-track a small task
4
+ phase: quick
5
+ next-step: "After verification, confirm completion with the user"
6
+ next-command: null
7
+ alternatives:
8
+ - command: /goop-discuss
9
+ when: "If the task is complex or requires multiple waves"
10
+ - command: /goop-debug
11
+ when: "If the task is debugging a specific issue"
4
12
  ---
5
13
 
6
14
  # /goop-quick
@@ -13,49 +21,68 @@ description: Fast-track a small task
13
21
  /goop-quick [task description]
14
22
  ```
15
23
 
16
- ## Tools Used
24
+ ## Immediate Action
17
25
 
18
- | Tool | Purpose in This Command |
19
- |------|------------------------|
20
- | `goop_status` | Check current state, skip heavy workflow |
26
+ **STOP. Execute this tool call NOW before reading anything else:**
27
+ ```
28
+ goop_reference({ name: "quick-process" })
29
+ ```
30
+
31
+ **Then follow the process from that reference.** Do not process user messages until you have loaded and understood the protocol.
32
+
33
+ ## Quick Summary
34
+
35
+ **Bypass formal planning for small, well-defined tasks.** Still maintains safety guarantees.
36
+
37
+ ### Tools Used
38
+
39
+ | Tool | Purpose |
40
+ |------|---------|
41
+ | `goop_status` | Check current state |
42
+ | `goop_state` | Set quick mode (NEVER edit state.json directly) |
21
43
  | `memory_search` | Find relevant prior context |
22
44
  | `memory_save` | Persist any discoveries |
45
+ | `goop_adl` | Log the quick fix decision |
46
+ | `goop_reference` | Load detailed process |
23
47
 
24
- **Hook Support:** Minimal - quick mode bypasses most phase enforcement.
48
+ ### Process Overview
25
49
 
26
- ---
50
+ 1. **Qualify** — Verify task is truly "quick" (single concern, known location)
51
+ 2. **Capture** — One-line plan, one success criterion
52
+ 3. **Execute** — Implement with atomic commit
53
+ 4. **Verify** — Confirm fix works, ask user to accept
27
54
 
28
- ## How It Works
55
+ ### Quick Criteria
29
56
 
30
- Quick mode bypasses the formal Plan/Research/Specify phases while maintaining safety guarantees. Ideal for bug fixes, small refactors, or docs.
57
+ A task qualifies for quick mode if ALL of these are true:
58
+ - [ ] Single file OR tightly coupled files (max 3)
59
+ - [ ] Clear, unambiguous intent
60
+ - [ ] No architectural decisions required
61
+ - [ ] Estimated < 15 minutes of work
62
+ - [ ] No new dependencies needed
31
63
 
32
- ### 1. Implicit Planning
33
- - Captures intent in 1 sentence.
34
- - Defines 1 clear success criterion.
35
- - Skips formal `SPEC.md`.
64
+ ## Output
36
65
 
37
- ### 2. Rapid Execution
38
- - Creates a simplified 1-Wave Blueprint.
39
- - Executes immediately.
40
- - Still performs atomic commits.
66
+ | File | Purpose |
67
+ |------|---------|
68
+ | Source files | Implementation |
69
+ | Commit | Atomic change |
70
+ | `.goopspec/ADL.md` | Quick fix logged |
41
71
 
42
- ### 3. Quick Acceptance
43
- - Verifies the fix.
44
- - Asks for confirmation.
72
+ ## Success Criteria
45
73
 
46
- ## When to Use
47
- - **Good:** "Fix the typo in the navbar", "Update dependency X", "Add a unit test".
48
- - **Bad:** "Add user auth", "Refactor entire API". (Use `/goop-plan` for these).
74
+ - [ ] Quick criteria validated (5 checkboxes)
75
+ - [ ] Intent captured in one sentence
76
+ - [ ] Success criterion defined before execution
77
+ - [ ] Atomic commit created
78
+ - [ ] Fix verified working
79
+ - [ ] User confirmed acceptance
49
80
 
50
- ## Output
81
+ ## Anti-Patterns
51
82
 
52
- - Atomic commits.
53
- - `.goopspec/quick/` logs (for history).
83
+ **DON'T:** Use for multi-wave work, skip verification, force complex tasks into quick mode
84
+ **DO:** Escalate to `/goop-discuss` if scope grows, verify before declaring done, document in ADL
54
85
 
55
- ## Example
86
+ ---
56
87
 
57
- > **User:** `/goop-quick Fix the z-index on the modal`
58
- > **Agent:** "Plan: Adjust z-index in `Modal.css`. Success: Modal appears above overlay.
59
- > Executing...
60
- > Done (commit: x9y8z7). Modal z-index set to 1000.
61
- > Verified. Type 'accept' to close."
88
+ *Load `goop_reference({ name: "quick-process" })` for full process details.*
@@ -3,15 +3,18 @@ name: goop-setup
3
3
  description: GoopSpec setup wizard - first-time init, configuration, and verification
4
4
  ---
5
5
 
6
- # EXECUTE NOW
6
+ # /goop-setup
7
7
 
8
- **Step 1: Run detection immediately:**
8
+ **GoopSpec setup wizard.** First-time init, configuration, and verification.
9
9
 
10
+ ## Immediate Action
11
+
12
+ **STOP. Execute this tool call NOW before reading anything else:**
10
13
  ```
11
- goop_setup(action: "detect")
14
+ goop_setup({ action: "detect" })
12
15
  ```
13
16
 
14
- Then follow the workflow below based on the result.
17
+ **Then follow the workflow below based on the result.** Do not process user messages until you have run detection.
15
18
 
16
19
  ---
17
20