opencode-goopspec 0.1.4 → 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.
- package/README.md +7 -8
- package/agents/goop-debugger.md +2 -2
- package/agents/goop-designer.md +2 -2
- package/agents/goop-executor.md +17 -7
- package/agents/goop-explorer.md +2 -2
- package/agents/goop-librarian.md +1 -1
- package/agents/goop-orchestrator.md +47 -5
- package/agents/goop-planner.md +3 -3
- package/agents/goop-researcher.md +2 -2
- package/agents/goop-tester.md +1 -1
- package/agents/goop-verifier.md +2 -2
- package/agents/goop-writer.md +1 -1
- package/agents/memory-distiller.md +2 -2
- package/commands/goop-accept.md +27 -401
- package/commands/goop-discuss.md +29 -393
- package/commands/goop-execute.md +22 -356
- package/commands/goop-map-codebase.md +44 -478
- package/commands/goop-plan.md +23 -433
- package/commands/goop-quick.md +58 -31
- package/commands/goop-setup.md +35 -278
- package/commands/goop-specify.md +26 -291
- package/commands/goop-status.md +26 -261
- package/dist/index.js +34981 -239
- package/dist/worker/index.js +35883 -0
- package/package.json +5 -2
- package/references/accept-process.md +402 -0
- package/references/context-injection.md +1 -1
- package/references/discovery-interview.md +1 -1
- package/references/discuss-process.md +383 -0
- package/references/dispatch-patterns.md +46 -21
- package/references/enforcement-system.md +1 -1
- package/references/execute-process.md +358 -0
- package/references/git-workflow.md +349 -0
- package/references/handoff-protocol.md +1 -1
- package/references/map-codebase-process.md +353 -0
- package/references/model-profiles.md +16 -16
- package/references/orchestrator-philosophy.md +155 -223
- package/references/phase-gates.md +1 -1
- package/references/plan-process.md +397 -0
- package/references/plugin-architecture.md +1 -1
- package/references/quick-process.md +343 -0
- package/references/response-format.md +2 -2
- package/references/specify-process.md +251 -0
- package/references/status-process.md +253 -0
- package/references/subagent-protocol.md +2 -2
- package/references/team-coordination.md +183 -0
- package/references/xml-response-schema.md +5 -5
- package/skills/accessibility/skill.md +1 -1
- package/skills/accessibility-testing/skill.md +1 -1
- package/skills/api-docs/skill.md +1 -1
- package/skills/architecture-design/skill.md +1 -1
- package/skills/atomic-commits/skill.md +92 -15
- package/skills/code-review/skill.md +1 -1
- package/skills/codebase-mapping/skill.md +1 -1
- package/skills/convention-detection/skill.md +1 -1
- package/skills/debugging/skill.md +1 -1
- package/skills/deviation-handling/skill.md +1 -1
- package/skills/documentation/skill.md +1 -1
- package/skills/goop-core/skill.md +48 -11
- package/skills/memory-usage/skill.md +1 -1
- package/skills/parallel-planning/skill.md +1 -1
- package/skills/pattern-extraction/skill.md +1 -1
- package/skills/performance-optimization/skill.md +1 -1
- package/skills/playwright/skill.md +1 -1
- package/skills/playwright-testing/skill.md +1 -1
- package/skills/progress-tracking/skill.md +1 -1
- package/skills/readme-generation/skill.md +1 -1
- package/skills/research/skill.md +1 -1
- package/skills/responsive-design/skill.md +1 -1
- package/skills/scientific-method/skill.md +1 -1
- package/skills/security-audit/skill.md +1 -1
- package/skills/task-decomposition/skill.md +1 -1
- package/skills/task-delegation/skill.md +60 -34
- package/skills/technical-writing/skill.md +1 -1
- package/skills/testing/skill.md +1 -1
- package/skills/ui-design/skill.md +1 -1
- package/skills/ux-patterns/skill.md +1 -1
- package/skills/verification/skill.md +1 -1
- package/skills/visual-regression/skill.md +1 -1
- package/templates/blueprint.md +1 -1
- package/templates/chronicle.md +1 -1
- package/templates/handoff.md +1 -1
- package/templates/milestone.md +1 -1
- package/templates/project-knowledge-base.md +93 -0
- package/templates/project.md +1 -1
- package/templates/requirements.md +1 -1
- package/templates/research.md +1 -1
- package/templates/retrospective.md +1 -1
- package/templates/spec.md +1 -1
- package/templates/state.md +1 -1
- package/templates/summary.md +1 -1
package/commands/goop-plan.md
CHANGED
|
@@ -18,374 +18,39 @@ alternatives:
|
|
|
18
18
|
|
|
19
19
|
**Create Specification and Blueprint.** Transform discovery interview into executable plans.
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## Immediate Action
|
|
22
22
|
|
|
23
|
-
|
|
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
|
-
**
|
|
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
|
-
|
|
30
|
+
## Quick Summary
|
|
41
31
|
|
|
42
|
-
**
|
|
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
|
-
|
|
36
|
+
### Tools Used
|
|
49
37
|
|
|
50
|
-
| Tool | Purpose
|
|
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
|
-
| `
|
|
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:**
|
|
160
|
-
|
|
161
|
-
```
|
|
162
|
-
memory_search({ query: "[feature] architecture decisions patterns", limit: 5 })
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
**3.3 Load project knowledge:**
|
|
166
|
-
|
|
167
|
-
```
|
|
168
|
-
Read(".goopspec/PROJECT_KNOWLEDGE_BASE.md") # If exists
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### Phase 4: Spawn Planner
|
|
172
|
-
|
|
173
|
-
**Display banner:**
|
|
174
|
-
```
|
|
175
|
-
## 🔮 GoopSpec · Creating Documents
|
|
176
|
-
|
|
177
|
-
⏳ Spawning planner to create SPEC.md and BLUEPRINT.md...
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
**Spawn goop-planner with full context:**
|
|
183
|
-
|
|
184
|
-
```
|
|
185
|
-
task({
|
|
186
|
-
subagent_type: "goop-planner",
|
|
187
|
-
description: "Create SPEC and BLUEPRINT",
|
|
188
|
-
prompt: `
|
|
189
|
-
## TASK
|
|
190
|
-
Create specification and blueprint from discovery interview.
|
|
191
|
-
|
|
192
|
-
## PROJECT CONTEXT
|
|
193
|
-
[From PROJECT_KNOWLEDGE_BASE.md if exists]
|
|
194
|
-
- Stack: [technologies]
|
|
195
|
-
- Conventions: [naming, patterns]
|
|
196
|
-
|
|
197
|
-
## DISCOVERY INTERVIEW OUTPUT
|
|
198
|
-
[Full content of REQUIREMENTS.md]
|
|
199
|
-
|
|
200
|
-
### Vision
|
|
201
|
-
[Vision section]
|
|
202
|
-
|
|
203
|
-
### Must-Haves
|
|
204
|
-
[Must-haves with acceptance criteria]
|
|
205
|
-
|
|
206
|
-
### Constraints
|
|
207
|
-
[Technical and practical constraints]
|
|
208
|
-
|
|
209
|
-
### Out of Scope
|
|
210
|
-
[Explicit exclusions]
|
|
211
|
-
|
|
212
|
-
### Assumptions
|
|
213
|
-
[Baseline assumptions]
|
|
214
|
-
|
|
215
|
-
### Risks
|
|
216
|
-
[Identified risks with mitigations]
|
|
217
|
-
|
|
218
|
-
## INSTRUCTIONS
|
|
219
|
-
|
|
220
|
-
1. **Verify discovery completeness:**
|
|
221
|
-
- Vision defined?
|
|
222
|
-
- Must-haves listed with acceptance criteria?
|
|
223
|
-
- Out of scope defined?
|
|
224
|
-
- Risks identified?
|
|
225
|
-
|
|
226
|
-
If missing critical info, return BLOCKED.
|
|
227
|
-
|
|
228
|
-
2. **Create .goopspec/SPEC.md:**
|
|
229
|
-
- Transform must-haves into formal requirements (MH1, MH2, etc.)
|
|
230
|
-
- Include acceptance criteria for each
|
|
231
|
-
- Add traceability section (will be filled after blueprint)
|
|
232
|
-
- Mark status as "Draft"
|
|
44
|
+
| `goop_reference` | Load detailed process |
|
|
233
45
|
|
|
234
|
-
|
|
235
|
-
- Design wave architecture
|
|
236
|
-
- Create tasks that cover ALL must-haves
|
|
237
|
-
- Add spec coverage to each task
|
|
238
|
-
- Build traceability matrix
|
|
46
|
+
### Process Overview
|
|
239
47
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
5. **
|
|
245
|
-
|
|
246
|
-
- Documents created with timestamps
|
|
247
|
-
|
|
248
|
-
6. **Save to memory:**
|
|
249
|
-
- Key architectural decisions
|
|
250
|
-
- Technology choices with rationale
|
|
251
|
-
|
|
252
|
-
7. **Return XML response envelope** with:
|
|
253
|
-
- BLUEPRINT COMPLETE status
|
|
254
|
-
- Wave summary
|
|
255
|
-
- Traceability summary
|
|
256
|
-
- Handoff instructions
|
|
257
|
-
|
|
258
|
-
## VERIFICATION
|
|
259
|
-
Before returning COMPLETE:
|
|
260
|
-
- [ ] Every must-have has mapped tasks
|
|
261
|
-
- [ ] Every task has spec coverage
|
|
262
|
-
- [ ] Traceability matrix shows 100%
|
|
263
|
-
- [ ] SPEC.md has all sections filled
|
|
264
|
-
- [ ] BLUEPRINT.md has verification commands
|
|
265
|
-
`
|
|
266
|
-
})
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
### Phase 5: Handle Response
|
|
270
|
-
|
|
271
|
-
**Parse XML response from planner.**
|
|
272
|
-
|
|
273
|
-
**On `COMPLETE` status:**
|
|
274
|
-
|
|
275
|
-
Read created documents:
|
|
276
|
-
```
|
|
277
|
-
Read(".goopspec/SPEC.md")
|
|
278
|
-
Read(".goopspec/BLUEPRINT.md")
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
Display completion:
|
|
282
|
-
```
|
|
283
|
-
## 🔮 GoopSpec · Planning Complete
|
|
284
|
-
|
|
285
|
-
✨ Blueprint created successfully
|
|
286
|
-
|
|
287
|
-
**Feature:** [Name from SPEC.md]
|
|
288
|
-
|
|
289
|
-
| Document | Status | Location |
|
|
290
|
-
|----------|--------|----------|
|
|
291
|
-
| Spec | ✓ Created | .goopspec/SPEC.md |
|
|
292
|
-
| Blueprint | ✓ Created | .goopspec/BLUEPRINT.md |
|
|
293
|
-
| Chronicle | ✓ Created | .goopspec/CHRONICLE.md |
|
|
294
|
-
|
|
295
|
-
**[N] must-haves** | **[M] waves** | **[P] tasks**
|
|
296
|
-
|
|
297
|
-
### Traceability
|
|
298
|
-
| Must-Have | Covered By |
|
|
299
|
-
|-----------|------------|
|
|
300
|
-
| MH1 | Wave X, Tasks Y |
|
|
301
|
-
| MH2 | Wave X, Tasks Y |
|
|
302
|
-
|
|
303
|
-
✓ Coverage: 100%
|
|
304
|
-
|
|
305
|
-
### Next Step
|
|
306
|
-
|
|
307
|
-
**Lock the specification** — Confirm requirements before execution
|
|
308
|
-
|
|
309
|
-
→ `/goop-specify`
|
|
310
|
-
|
|
311
|
-
---
|
|
312
|
-
|
|
313
|
-
Start a **new session** for fresh context, then run the command.
|
|
314
|
-
|
|
315
|
-
**Also available:**
|
|
316
|
-
- `cat .goopspec/SPEC.md` — Review specification
|
|
317
|
-
- `cat .goopspec/BLUEPRINT.md` — Review execution plan
|
|
318
|
-
- `/goop-research [topic]` — Investigate unknowns first
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
**Generate HANDOFF.md:**
|
|
322
|
-
|
|
323
|
-
```
|
|
324
|
-
Write(".goopspec/HANDOFF.md", `
|
|
325
|
-
# Session Handoff
|
|
326
|
-
|
|
327
|
-
**Generated:** [timestamp]
|
|
328
|
-
**Phase:** plan
|
|
329
|
-
|
|
330
|
-
## Accomplished
|
|
331
|
-
- [x] Discovery interview completed
|
|
332
|
-
- [x] SPEC.md created with [N] must-haves
|
|
333
|
-
- [x] BLUEPRINT.md created with [M] waves, [P] tasks
|
|
334
|
-
- [x] 100% traceability achieved
|
|
335
|
-
|
|
336
|
-
## Current State
|
|
337
|
-
- Phase: plan
|
|
338
|
-
- Interview: complete
|
|
339
|
-
- Spec: draft (not locked)
|
|
340
|
-
|
|
341
|
-
## Next Session
|
|
342
|
-
Run: /goop-specify
|
|
343
|
-
|
|
344
|
-
## Files to Read
|
|
345
|
-
1. .goopspec/SPEC.md — Requirements
|
|
346
|
-
2. .goopspec/BLUEPRINT.md — Execution plan
|
|
347
|
-
|
|
348
|
-
## Context Summary
|
|
349
|
-
Planning complete for [feature]. [N] must-haves mapped to [P] tasks
|
|
350
|
-
across [M] waves. Ready to lock specification.
|
|
351
|
-
`)
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
**On `BLOCKED` status:**
|
|
355
|
-
|
|
356
|
-
```
|
|
357
|
-
## 🔮 GoopSpec · Planning Blocked
|
|
358
|
-
|
|
359
|
-
✗ Cannot proceed
|
|
360
|
-
|
|
361
|
-
**Blocker:** [From planner response]
|
|
362
|
-
|
|
363
|
-
**Options:**
|
|
364
|
-
1. Provide more context → `/goop-discuss`
|
|
365
|
-
2. Research the unknown → `/goop-research [topic]`
|
|
366
|
-
|
|
367
|
-
---
|
|
368
|
-
```
|
|
369
|
-
|
|
370
|
-
Use `question` tool to get user choice.
|
|
371
|
-
|
|
372
|
-
**On `PARTIAL` status:**
|
|
373
|
-
|
|
374
|
-
Present what was created, explain gaps, offer to continue or restart.
|
|
375
|
-
|
|
376
|
-
### Phase 6: Memory Persistence
|
|
377
|
-
|
|
378
|
-
After successful planning:
|
|
379
|
-
|
|
380
|
-
```
|
|
381
|
-
memory_save({
|
|
382
|
-
type: "note",
|
|
383
|
-
title: "Plan: [Feature Name]",
|
|
384
|
-
content: "Created [N]-wave blueprint. Key decisions: [list]. Must-haves: [summary].",
|
|
385
|
-
concepts: ["planning", "blueprint", "[domain]"],
|
|
386
|
-
importance: 0.7
|
|
387
|
-
})
|
|
388
|
-
```
|
|
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
|
|
389
54
|
|
|
390
55
|
## Output
|
|
391
56
|
|
|
@@ -395,96 +60,21 @@ memory_save({
|
|
|
395
60
|
| `.goopspec/BLUEPRINT.md` | Wave-based execution plan |
|
|
396
61
|
| `.goopspec/CHRONICLE.md` | Progress tracking |
|
|
397
62
|
| `.goopspec/HANDOFF.md` | Session handoff |
|
|
398
|
-
|
|
|
399
|
-
|
|
400
|
-
## Transitions
|
|
401
|
-
|
|
402
|
-
| Outcome | Next Step |
|
|
403
|
-
|---------|-----------|
|
|
404
|
-
| Planning complete | `/goop-specify` to lock |
|
|
405
|
-
| Missing discovery | `/goop-discuss` to interview |
|
|
406
|
-
| Unknowns remain | `/goop-research` to investigate |
|
|
407
|
-
| Need to pause | `/goop-pause` to checkpoint |
|
|
408
|
-
|
|
409
|
-
## Examples
|
|
410
|
-
|
|
411
|
-
**Gate Passed:**
|
|
412
|
-
```
|
|
413
|
-
User: /goop-plan
|
|
414
|
-
|
|
415
|
-
Orchestrator:
|
|
416
|
-
+--------------------------------------------------------+
|
|
417
|
-
| GOOPSPEC > PLANNING |
|
|
418
|
-
+--------------------------------------------------------+
|
|
419
|
-
| Discovery gate: PASSED |
|
|
420
|
-
| Creating specification and blueprint... |
|
|
421
|
-
+--------------------------------------------------------+
|
|
422
|
-
|
|
423
|
-
[Spawns goop-planner]
|
|
424
|
-
|
|
425
|
-
...
|
|
426
|
-
|
|
427
|
-
+--------------------------------------------------------+
|
|
428
|
-
| GOOPSPEC > PLANNING COMPLETE |
|
|
429
|
-
+--------------------------------------------------------+
|
|
430
|
-
|
|
431
|
-
**Feature:** Dark Mode Toggle
|
|
432
|
-
|
|
433
|
-
| Document | Status |
|
|
434
|
-
|------------|---------|
|
|
435
|
-
| Spec | Created |
|
|
436
|
-
| Blueprint | Created |
|
|
437
|
-
|
|
438
|
-
**3 must-haves** | **2 waves** | **5 tasks**
|
|
439
|
-
|
|
440
|
-
## > Next Step
|
|
441
|
-
`/goop-specify`
|
|
442
|
-
```
|
|
443
|
-
|
|
444
|
-
**Gate Blocked:**
|
|
445
|
-
```
|
|
446
|
-
User: /goop-plan
|
|
447
|
-
|
|
448
|
-
Orchestrator:
|
|
449
|
-
+--------------------------------------------------------+
|
|
450
|
-
| GOOPSPEC > GATE BLOCKED |
|
|
451
|
-
+--------------------------------------------------------+
|
|
452
|
-
| Discovery interview required before planning. |
|
|
453
|
-
| |
|
|
454
|
-
| Run: /goop-discuss |
|
|
455
|
-
+--------------------------------------------------------+
|
|
456
|
-
```
|
|
63
|
+
| `.goopspec/PROJECT_KNOWLEDGE_BASE.md` | Stack and conventions |
|
|
457
64
|
|
|
458
65
|
## Success Criteria
|
|
459
66
|
|
|
460
67
|
- [ ] Gate check performed (interview_complete + REQUIREMENTS.md)
|
|
461
|
-
- [ ]
|
|
462
|
-
- [ ] Existing documents handled (archive/continue/overwrite)
|
|
68
|
+
- [ ] PROJECT_KNOWLEDGE_BASE.md created if missing
|
|
463
69
|
- [ ] goop-planner spawned with full discovery context
|
|
464
|
-
- [ ] SPEC.md created with traceability
|
|
465
|
-
- [ ] BLUEPRINT.md created with spec coverage
|
|
466
70
|
- [ ] 100% must-have coverage achieved
|
|
467
|
-
- [ ] HANDOFF.md generated
|
|
468
71
|
- [ ] User knows next step is `/goop-specify`
|
|
469
|
-
- [ ] Suggested to start new session for fresh context
|
|
470
72
|
|
|
471
73
|
## Anti-Patterns
|
|
472
74
|
|
|
473
|
-
**DON'T:**
|
|
474
|
-
|
|
475
|
-
- Conduct interview in /goop-plan (that's /goop-discuss)
|
|
476
|
-
- Create documents without traceability
|
|
477
|
-
- Leave user without next steps
|
|
478
|
-
- Skip handoff generation
|
|
479
|
-
|
|
480
|
-
**DO:**
|
|
481
|
-
- Enforce the gate strictly
|
|
482
|
-
- Spawn planner with complete context
|
|
483
|
-
- Verify 100% traceability
|
|
484
|
-
- Generate HANDOFF.md
|
|
485
|
-
- 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
|
|
486
77
|
|
|
487
78
|
---
|
|
488
79
|
|
|
489
|
-
*
|
|
490
|
-
*"Every must-have traces to tasks."*
|
|
80
|
+
*Load `goop_reference({ name: "plan-process" })` for full process details.*
|
package/commands/goop-quick.md
CHANGED
|
@@ -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
|
-
##
|
|
24
|
+
## Immediate Action
|
|
17
25
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
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
|
-
|
|
55
|
+
### Quick Criteria
|
|
29
56
|
|
|
30
|
-
|
|
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
|
-
|
|
33
|
-
- Captures intent in 1 sentence.
|
|
34
|
-
- Defines 1 clear success criterion.
|
|
35
|
-
- Skips formal `SPEC.md`.
|
|
64
|
+
## Output
|
|
36
65
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
66
|
+
| File | Purpose |
|
|
67
|
+
|------|---------|
|
|
68
|
+
| Source files | Implementation |
|
|
69
|
+
| Commit | Atomic change |
|
|
70
|
+
| `.goopspec/ADL.md` | Quick fix logged |
|
|
41
71
|
|
|
42
|
-
|
|
43
|
-
- Verifies the fix.
|
|
44
|
-
- Asks for confirmation.
|
|
72
|
+
## Success Criteria
|
|
45
73
|
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
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
|
-
##
|
|
81
|
+
## Anti-Patterns
|
|
51
82
|
|
|
52
|
-
-
|
|
53
|
-
-
|
|
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
|
-
|
|
86
|
+
---
|
|
56
87
|
|
|
57
|
-
|
|
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.*
|