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.
- package/README.md +7 -7
- 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 -499
- package/commands/goop-quick.md +58 -31
- package/commands/goop-setup.md +7 -4
- package/commands/goop-specify.md +26 -291
- package/commands/goop-status.md +26 -261
- package/dist/index.js +808 -182
- package/dist/worker/index.js +1 -1
- package/package.json +2 -1
- 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 +1 -1
- 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.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-specify.md
CHANGED
|
@@ -16,217 +16,43 @@ alternatives:
|
|
|
16
16
|
|
|
17
17
|
**Lock the specification.** Create a binding contract between user and agent.
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Immediate Action
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
/goop-specify
|
|
21
|
+
**STOP. Execute this tool call NOW before reading anything else:**
|
|
23
22
|
```
|
|
24
|
-
|
|
25
|
-
## Gate Requirement
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
+================================================================+
|
|
29
|
-
| SPEC GATE: Planning must be complete before locking. |
|
|
30
|
-
| SPEC.md and BLUEPRINT.md must exist with full traceability. |
|
|
31
|
-
+================================================================+
|
|
23
|
+
goop_reference({ name: "specify-process" })
|
|
32
24
|
```
|
|
33
25
|
|
|
34
|
-
**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- Traceability matrix shows 100% coverage
|
|
26
|
+
**Then follow the process from that reference.** Do not process user messages until you have loaded and understood the protocol.
|
|
27
|
+
|
|
28
|
+
## Quick Summary
|
|
38
29
|
|
|
39
|
-
**
|
|
30
|
+
**Gate:** SPEC.md and BLUEPRINT.md must exist with 100% traceability.
|
|
40
31
|
|
|
41
|
-
|
|
32
|
+
### Tools Used
|
|
42
33
|
|
|
43
|
-
| Tool | Purpose
|
|
44
|
-
|
|
34
|
+
| Tool | Purpose |
|
|
35
|
+
|------|---------|
|
|
45
36
|
| `goop_status` | Check current phase and readiness |
|
|
46
|
-
| `goop_state` | **Lock the specification**
|
|
37
|
+
| `goop_state` | **Lock the specification** (NEVER edit state.json directly) |
|
|
47
38
|
| `goop_spec` | Validate spec structure |
|
|
48
39
|
| `memory_search` | Find relevant prior context |
|
|
49
40
|
| `goop_adl` | Log the spec lock decision |
|
|
41
|
+
| `goop_reference` | Load detailed process |
|
|
50
42
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## Process
|
|
56
|
-
|
|
57
|
-
### Phase 1: Gate Check
|
|
58
|
-
|
|
59
|
-
**Execute BEFORE anything else:**
|
|
60
|
-
|
|
61
|
-
```
|
|
62
|
-
goop_status()
|
|
63
|
-
Read(".goopspec/SPEC.md")
|
|
64
|
-
Read(".goopspec/BLUEPRINT.md")
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
**1.1 Check documents exist:**
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
IF .goopspec/SPEC.md does not exist:
|
|
71
|
-
REFUSE with:
|
|
72
|
-
|
|
73
|
-
## 🔮 GoopSpec · Gate Blocked
|
|
74
|
-
|
|
75
|
-
✗ No specification found.
|
|
76
|
-
|
|
77
|
-
→ Run: `/goop-plan`
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
**1.2 Check traceability:**
|
|
83
|
-
|
|
84
|
-
```
|
|
85
|
-
IF traceability matrix shows < 100%:
|
|
86
|
-
REFUSE with:
|
|
87
|
-
|
|
88
|
-
## 🔮 GoopSpec · Traceability Incomplete
|
|
89
|
-
|
|
90
|
-
✗ Not all must-haves have mapped tasks.
|
|
91
|
-
|
|
92
|
-
→ Update BLUEPRINT.md or re-run `/goop-plan`
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### Phase 2: Present Contract
|
|
98
|
-
|
|
99
|
-
**Display the contract for confirmation:**
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
## 🔮 GoopSpec · Contract Gate
|
|
103
|
-
|
|
104
|
-
📜 Review and confirm the specification
|
|
105
|
-
|
|
106
|
-
### SPECIFICATION: [Name]
|
|
43
|
+
### Process Overview
|
|
107
44
|
|
|
108
|
-
|
|
45
|
+
1. **Gate Check** — Verify SPEC.md, BLUEPRINT.md, 100% traceability
|
|
46
|
+
2. **Present Contract** — Show must-haves, out-of-scope, execution plan
|
|
47
|
+
3. **Handle Response** — "confirm" locks, "amend" modifies, "cancel" returns
|
|
109
48
|
|
|
110
|
-
|
|
111
|
-
|----|-------------|------------|
|
|
112
|
-
| MH1 | [Title] | Wave X, Tasks Y |
|
|
113
|
-
| MH2 | [Title] | Wave X, Tasks Y |
|
|
49
|
+
### Confirmation Keywords
|
|
114
50
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
#### Execution Plan
|
|
121
|
-
|
|
122
|
-
| Wave | Focus | Tasks |
|
|
123
|
-
|------|-------|-------|
|
|
124
|
-
| 1 | [Name] | [N] |
|
|
125
|
-
| 2 | [Name] | [M] |
|
|
126
|
-
|
|
127
|
-
✓ Traceability: 100%
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
⚠️ **Action Required:**
|
|
132
|
-
- Type **"confirm"** to lock the specification
|
|
133
|
-
- Type **"amend"** to modify requirements
|
|
134
|
-
- Type **"cancel"** to return to planning
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
### Phase 3: Handle Response
|
|
138
|
-
|
|
139
|
-
**On "confirm":**
|
|
140
|
-
|
|
141
|
-
1. Lock the spec using goop_state:
|
|
142
|
-
```
|
|
143
|
-
goop_state({ action: "lock-spec" })
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
This atomically updates the workflow state. **NEVER edit state.json directly.**
|
|
147
|
-
|
|
148
|
-
2. Update SPEC.md:
|
|
149
|
-
```markdown
|
|
150
|
-
**Status:** Locked
|
|
151
|
-
**Locked At:** [timestamp]
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
3. Save to memory:
|
|
155
|
-
```
|
|
156
|
-
memory_decision({
|
|
157
|
-
decision: "Spec locked for [feature]",
|
|
158
|
-
reasoning: "User confirmed requirements after review",
|
|
159
|
-
impact: "high"
|
|
160
|
-
})
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
4. Generate HANDOFF.md:
|
|
164
|
-
```
|
|
165
|
-
# Session Handoff
|
|
166
|
-
|
|
167
|
-
**Phase:** specify
|
|
168
|
-
|
|
169
|
-
## Accomplished
|
|
170
|
-
- Spec locked with [N] must-haves
|
|
171
|
-
- Traceability verified at 100%
|
|
172
|
-
|
|
173
|
-
## Next Session
|
|
174
|
-
Run: /goop-execute
|
|
175
|
-
|
|
176
|
-
## Context
|
|
177
|
-
Specification locked. Ready for execution.
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
5. Display completion:
|
|
181
|
-
```
|
|
182
|
-
## 🔮 GoopSpec · Specification Locked
|
|
183
|
-
|
|
184
|
-
🔒 The spec is now a binding contract
|
|
185
|
-
|
|
186
|
-
| Status | Value |
|
|
187
|
-
|--------|-------|
|
|
188
|
-
| Locked | ✓ Yes |
|
|
189
|
-
| Must-Haves | [N] |
|
|
190
|
-
| Waves | [M] |
|
|
191
|
-
| Tasks | [P] |
|
|
192
|
-
|
|
193
|
-
Changes now require `/goop-amend` with impact analysis.
|
|
194
|
-
|
|
195
|
-
### Next Step
|
|
196
|
-
|
|
197
|
-
**Begin execution** — Implement the blueprint
|
|
198
|
-
|
|
199
|
-
→ `/goop-execute`
|
|
200
|
-
|
|
201
|
-
---
|
|
202
|
-
|
|
203
|
-
Start a **new session** for fresh context, then run the command.
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
**On "amend":**
|
|
207
|
-
|
|
208
|
-
```
|
|
209
|
-
## 🔮 GoopSpec · Amendment Mode
|
|
210
|
-
|
|
211
|
-
What would you like to change?
|
|
212
|
-
|
|
213
|
-
1. Add a must-have
|
|
214
|
-
2. Remove a must-have
|
|
215
|
-
3. Modify acceptance criteria
|
|
216
|
-
4. Change out of scope
|
|
217
|
-
5. Cancel
|
|
218
|
-
|
|
219
|
-
---
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
Use `question` tool to get choice, then process amendment.
|
|
223
|
-
|
|
224
|
-
**On "cancel":**
|
|
225
|
-
|
|
226
|
-
```
|
|
227
|
-
Specification not locked. Returning to planning.
|
|
228
|
-
Run `/goop-plan` to modify or `/goop-discuss` to restart discovery.
|
|
229
|
-
```
|
|
51
|
+
| Keyword | Action |
|
|
52
|
+
|---------|--------|
|
|
53
|
+
| `confirm` | Lock specification, proceed to /goop-execute |
|
|
54
|
+
| `amend` | Enter amendment mode |
|
|
55
|
+
| `cancel` | Return to planning |
|
|
230
56
|
|
|
231
57
|
## Output
|
|
232
58
|
|
|
@@ -236,110 +62,19 @@ Run `/goop-plan` to modify or `/goop-discuss` to restart discovery.
|
|
|
236
62
|
| State (via goop_state) | `specLocked: true` |
|
|
237
63
|
| `.goopspec/HANDOFF.md` | Session handoff generated |
|
|
238
64
|
|
|
239
|
-
## Transitions
|
|
240
|
-
|
|
241
|
-
| Outcome | Next Step |
|
|
242
|
-
|---------|-----------|
|
|
243
|
-
| Spec locked | `/goop-execute` to begin implementation |
|
|
244
|
-
| Amendments requested | Process changes, re-present contract |
|
|
245
|
-
| Cancelled | `/goop-plan` to modify planning |
|
|
246
|
-
|
|
247
|
-
## Amendment Protocol (After Lock)
|
|
248
|
-
|
|
249
|
-
Once locked, changes require formal amendment:
|
|
250
|
-
|
|
251
|
-
1. **Propose change:** User describes modification
|
|
252
|
-
2. **Impact analysis:** Orchestrator assesses affected tasks
|
|
253
|
-
3. **Blueprint update:** Modify BLUEPRINT.md if needed
|
|
254
|
-
4. **Re-confirm:** User confirms amended spec
|
|
255
|
-
5. **Log amendment:** Add to SPEC.md amendment history
|
|
256
|
-
|
|
257
|
-
```markdown
|
|
258
|
-
## Amendment History
|
|
259
|
-
|
|
260
|
-
| Version | Date | Change | Impact | Approved |
|
|
261
|
-
|---------|------|--------|--------|----------|
|
|
262
|
-
| 1.1 | [date] | Added MH3 | +1 task | User |
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
## Examples
|
|
266
|
-
|
|
267
|
-
**Successful Lock:**
|
|
268
|
-
```
|
|
269
|
-
User: /goop-specify
|
|
270
|
-
|
|
271
|
-
Orchestrator:
|
|
272
|
-
+--------------------------------------------------------+
|
|
273
|
-
| GOOPSPEC > CONTRACT GATE |
|
|
274
|
-
+--------------------------------------------------------+
|
|
275
|
-
|
|
276
|
-
## SPECIFICATION: Dark Mode Toggle
|
|
277
|
-
|
|
278
|
-
### Must-Haves
|
|
279
|
-
| ID | Requirement | Covered By |
|
|
280
|
-
|----|-------------|------------|
|
|
281
|
-
| MH1 | Toggle UI | W1.T1 |
|
|
282
|
-
| MH2 | Theme switch | W1.T2, W2.T1 |
|
|
283
|
-
| MH3 | Persist preference | W2.T2 |
|
|
284
|
-
|
|
285
|
-
### Out of Scope
|
|
286
|
-
- Multiple themes (beyond light/dark)
|
|
287
|
-
- Per-component theming
|
|
288
|
-
|
|
289
|
-
### Traceability: 100%
|
|
290
|
-
|
|
291
|
-
Type "confirm" to lock.
|
|
292
|
-
|
|
293
|
-
User: confirm
|
|
294
|
-
|
|
295
|
-
Orchestrator:
|
|
296
|
-
+--------------------------------------------------------+
|
|
297
|
-
| GOOPSPEC > SPECIFICATION LOCKED |
|
|
298
|
-
+--------------------------------------------------------+
|
|
299
|
-
|
|
300
|
-
## > Next Step
|
|
301
|
-
`/goop-execute`
|
|
302
|
-
```
|
|
303
|
-
|
|
304
|
-
**Gate Blocked:**
|
|
305
|
-
```
|
|
306
|
-
User: /goop-specify
|
|
307
|
-
|
|
308
|
-
Orchestrator:
|
|
309
|
-
+--------------------------------------------------------+
|
|
310
|
-
| GOOPSPEC > GATE BLOCKED |
|
|
311
|
-
+--------------------------------------------------------+
|
|
312
|
-
| No specification found. |
|
|
313
|
-
| Run: /goop-plan |
|
|
314
|
-
+--------------------------------------------------------+
|
|
315
|
-
```
|
|
316
|
-
|
|
317
65
|
## Success Criteria
|
|
318
66
|
|
|
319
67
|
- [ ] Gate check performed (SPEC.md + BLUEPRINT.md exist)
|
|
320
68
|
- [ ] Traceability verified at 100%
|
|
321
|
-
- [ ] Contract presented
|
|
69
|
+
- [ ] Contract presented with must-haves and out-of-scope
|
|
322
70
|
- [ ] User explicitly confirmed with "confirm"
|
|
323
71
|
- [ ] State updated via `goop_state({ action: "lock-spec" })`
|
|
324
|
-
- [ ] SPEC.md updated with Locked status
|
|
325
|
-
- [ ] HANDOFF.md generated
|
|
326
|
-
- [ ] User knows next step is `/goop-execute`
|
|
327
72
|
|
|
328
73
|
## Anti-Patterns
|
|
329
74
|
|
|
330
|
-
**DON'T:**
|
|
331
|
-
|
|
332
|
-
- Lock without user confirmation
|
|
333
|
-
- Proceed with incomplete traceability
|
|
334
|
-
- Skip handoff generation
|
|
335
|
-
|
|
336
|
-
**DO:**
|
|
337
|
-
- Verify 100% traceability before presenting
|
|
338
|
-
- Require explicit "confirm" keyword
|
|
339
|
-
- Log the lock to memory
|
|
340
|
-
- Generate clear handoff
|
|
75
|
+
**DON'T:** Skip gate check, lock without confirmation, proceed with incomplete traceability
|
|
76
|
+
**DO:** Verify 100% traceability, require explicit "confirm", log to memory
|
|
341
77
|
|
|
342
78
|
---
|
|
343
79
|
|
|
344
|
-
*
|
|
345
|
-
*"The spec is a contract. Lock it before you build."*
|
|
80
|
+
*Load `goop_reference({ name: "specify-process" })` for full process details.*
|
package/commands/goop-status.md
CHANGED
|
@@ -7,293 +7,58 @@ description: Show current GoopSpec status and next steps
|
|
|
7
7
|
|
|
8
8
|
**Show project status.** View progress, active phase, gates, and suggested next command.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Immediate Action
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
/goop-status [--verbose]
|
|
12
|
+
**STOP. Execute this tool call NOW before reading anything else:**
|
|
14
13
|
```
|
|
15
|
-
|
|
16
|
-
## Tools Used
|
|
17
|
-
|
|
18
|
-
| Tool | Purpose in This Command |
|
|
19
|
-
|------|------------------------|
|
|
20
|
-
| `goop_status` | Primary tool - retrieves full workflow state |
|
|
21
|
-
| `memory_search` | Optionally find recent context |
|
|
22
|
-
|
|
23
|
-
**Hook Support:** None specific - read-only operation.
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Process
|
|
28
|
-
|
|
29
|
-
**Execute these reads:**
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
Read(".goopspec/state.json")
|
|
33
|
-
Read(".goopspec/REQUIREMENTS.md")
|
|
34
|
-
Read(".goopspec/SPEC.md")
|
|
35
|
-
Read(".goopspec/BLUEPRINT.md")
|
|
36
|
-
Read(".goopspec/CHRONICLE.md")
|
|
37
|
-
Read(".goopspec/HANDOFF.md")
|
|
14
|
+
goop_reference({ name: "status-process" })
|
|
38
15
|
```
|
|
39
16
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
Display a comprehensive status view:
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
+--------------------------------------------------------+
|
|
46
|
-
| GOOPSPEC STATUS |
|
|
47
|
-
+--------------------------------------------------------+
|
|
48
|
-
|
|
49
|
-
## Project State
|
|
50
|
-
|
|
51
|
-
| Attribute | Value |
|
|
52
|
-
|-----------|-------|
|
|
53
|
-
| Phase | [current phase] |
|
|
54
|
-
| Interview Complete | [Yes/No] |
|
|
55
|
-
| Spec Locked | [Yes/No] |
|
|
56
|
-
| Wave | [N of M] |
|
|
57
|
-
| Task | [X of Y] |
|
|
58
|
-
|
|
59
|
-
## Gate Status
|
|
60
|
-
|
|
61
|
-
| Gate | Status | Requirement |
|
|
62
|
-
|------|--------|-------------|
|
|
63
|
-
| Discovery | [PASSED/BLOCKED] | interview_complete |
|
|
64
|
-
| Spec | [PASSED/BLOCKED] | spec_locked |
|
|
65
|
-
| Execution | [PASSED/BLOCKED] | all_tasks_done |
|
|
66
|
-
| Acceptance | [PASSED/BLOCKED] | verification_passed |
|
|
67
|
-
|
|
68
|
-
## Progress
|
|
69
|
-
|
|
70
|
-
[Progress bar and completion percentage]
|
|
71
|
-
|
|
72
|
-
### Completed
|
|
73
|
-
- [x] [Item 1]
|
|
74
|
-
- [x] [Item 2]
|
|
75
|
-
|
|
76
|
-
### In Progress
|
|
77
|
-
- [ ] [Current item] <- **Current**
|
|
17
|
+
**Then display the status dashboard from that reference.** Do not process user messages until you have loaded and understood the protocol.
|
|
78
18
|
|
|
79
|
-
|
|
80
|
-
- [ ] [Item 3]
|
|
81
|
-
- [ ] [Item 4]
|
|
19
|
+
## Quick Summary
|
|
82
20
|
|
|
83
|
-
|
|
21
|
+
Read-only operation that shows current workflow state.
|
|
84
22
|
|
|
85
|
-
|
|
23
|
+
### Tools Used
|
|
86
24
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
| Time | Action | Agent |
|
|
94
|
-
|------|--------|-------|
|
|
95
|
-
| [time] | [action] | [agent] |
|
|
96
|
-
|
|
97
|
-
+--------------------------------------------------------+
|
|
98
|
-
|
|
99
|
-
## > Suggested Next Command
|
|
100
|
-
|
|
101
|
-
Based on current state: `/goop-[command]`
|
|
102
|
-
|
|
103
|
-
[Brief explanation of why this is suggested]
|
|
104
|
-
|
|
105
|
-
+--------------------------------------------------------+
|
|
106
|
-
```
|
|
25
|
+
| Tool | Purpose |
|
|
26
|
+
|------|---------|
|
|
27
|
+
| `goop_status` | Primary tool - retrieves full workflow state |
|
|
28
|
+
| `memory_search` | Optionally find recent context |
|
|
29
|
+
| `goop_reference` | Load detailed display templates |
|
|
107
30
|
|
|
108
|
-
|
|
31
|
+
### Data Sources
|
|
109
32
|
|
|
110
33
|
| Source | Information |
|
|
111
34
|
|--------|-------------|
|
|
112
|
-
| `
|
|
35
|
+
| `goop_state` | Phase, locks, timestamps |
|
|
113
36
|
| `REQUIREMENTS.md` | Interview status |
|
|
114
37
|
| `SPEC.md` | Must-haves, lock status |
|
|
115
38
|
| `BLUEPRINT.md` | Waves, tasks, traceability |
|
|
116
39
|
| `CHRONICLE.md` | Progress, decisions, blockers |
|
|
117
40
|
| `HANDOFF.md` | Last session context |
|
|
118
41
|
|
|
119
|
-
|
|
42
|
+
### Command Suggestions
|
|
120
43
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
IF SPEC.md exists AND spec_locked == true:
|
|
132
|
-
PASSED
|
|
133
|
-
ELSE:
|
|
134
|
-
BLOCKED - Run /goop-specify
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
### Execution Gate
|
|
138
|
-
```
|
|
139
|
-
IF CHRONICLE shows all waves complete:
|
|
140
|
-
PASSED
|
|
141
|
-
ELSE:
|
|
142
|
-
BLOCKED - Continue /goop-execute
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### Acceptance Gate
|
|
146
|
-
```
|
|
147
|
-
IF verification_passed == true AND user_accepted == true:
|
|
148
|
-
PASSED
|
|
149
|
-
ELSE:
|
|
150
|
-
BLOCKED - Run /goop-accept
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
## Suggested Commands
|
|
154
|
-
|
|
155
|
-
Based on current state, suggest the appropriate next command:
|
|
156
|
-
|
|
157
|
-
| State | Suggested Command |
|
|
158
|
-
|-------|-------------------|
|
|
159
|
-
| No project | `/goop-discuss` to start discovery |
|
|
160
|
-
| Interview incomplete | `/goop-discuss` to complete interview |
|
|
161
|
-
| Interview complete, no spec | `/goop-plan` to create blueprint |
|
|
162
|
-
| Spec draft, not locked | `/goop-specify` to lock |
|
|
163
|
-
| Spec locked, not executing | `/goop-execute` to start |
|
|
164
|
-
| Executing, tasks remaining | `/goop-execute` to continue |
|
|
165
|
-
| Executing, all done | `/goop-accept` to verify |
|
|
166
|
-
| Verified, not accepted | `/goop-accept` to accept |
|
|
167
|
-
| Accepted | `/goop-complete` to archive |
|
|
168
|
-
|
|
169
|
-
## Verbose Mode
|
|
170
|
-
|
|
171
|
-
With `--verbose`:
|
|
172
|
-
|
|
173
|
-
```
|
|
174
|
-
## Full Task History
|
|
175
|
-
|
|
176
|
-
| Wave | Task | Status | Commit | Time |
|
|
177
|
-
|------|------|--------|--------|------|
|
|
178
|
-
| 1 | 1.1 | Complete | abc123 | 10m |
|
|
179
|
-
| 1 | 1.2 | Complete | def456 | 15m |
|
|
180
|
-
| 2 | 2.1 | In Progress | - | - |
|
|
181
|
-
|
|
182
|
-
## Memory Stats
|
|
183
|
-
|
|
184
|
-
- Total memories: [N]
|
|
185
|
-
- Decisions: [M]
|
|
186
|
-
- Observations: [P]
|
|
187
|
-
- Recent: [list]
|
|
188
|
-
|
|
189
|
-
## Recent Deviations
|
|
190
|
-
|
|
191
|
-
| Rule | Description | Resolution |
|
|
192
|
-
|------|-------------|------------|
|
|
193
|
-
| [N] | [What happened] | [How resolved] |
|
|
194
|
-
|
|
195
|
-
## Checkpoint History
|
|
196
|
-
|
|
197
|
-
| ID | Phase | Wave | Created |
|
|
198
|
-
|----|-------|------|---------|
|
|
199
|
-
| [id] | [phase] | [wave] | [time] |
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
## Examples
|
|
203
|
-
|
|
204
|
-
**Fresh Project:**
|
|
205
|
-
```
|
|
206
|
-
User: /goop-status
|
|
207
|
-
|
|
208
|
-
+--------------------------------------------------------+
|
|
209
|
-
| GOOPSPEC STATUS |
|
|
210
|
-
+--------------------------------------------------------+
|
|
211
|
-
|
|
212
|
-
## Project State
|
|
213
|
-
|
|
214
|
-
| Attribute | Value |
|
|
215
|
-
|-----------|-------|
|
|
216
|
-
| Phase | idle |
|
|
217
|
-
| Interview Complete | No |
|
|
218
|
-
| Spec Locked | No |
|
|
219
|
-
|
|
220
|
-
## Gate Status
|
|
221
|
-
|
|
222
|
-
| Gate | Status |
|
|
223
|
-
|------|--------|
|
|
224
|
-
| Discovery | BLOCKED |
|
|
225
|
-
| Spec | BLOCKED |
|
|
226
|
-
| Execution | BLOCKED |
|
|
227
|
-
| Acceptance | BLOCKED |
|
|
228
|
-
|
|
229
|
-
## > Suggested Next Command
|
|
230
|
-
|
|
231
|
-
`/goop-discuss` - Start discovery interview
|
|
232
|
-
|
|
233
|
-
No project documents found. Begin with discovery.
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
**Mid-Execution:**
|
|
237
|
-
```
|
|
238
|
-
User: /goop-status
|
|
239
|
-
|
|
240
|
-
+--------------------------------------------------------+
|
|
241
|
-
| GOOPSPEC STATUS |
|
|
242
|
-
+--------------------------------------------------------+
|
|
243
|
-
|
|
244
|
-
## Project State
|
|
245
|
-
|
|
246
|
-
| Attribute | Value |
|
|
247
|
-
|-----------|-------|
|
|
248
|
-
| Phase | execute |
|
|
249
|
-
| Interview Complete | Yes |
|
|
250
|
-
| Spec Locked | Yes |
|
|
251
|
-
| Wave | 2 of 3 |
|
|
252
|
-
| Task | 3 of 4 |
|
|
253
|
-
|
|
254
|
-
## Gate Status
|
|
255
|
-
|
|
256
|
-
| Gate | Status |
|
|
257
|
-
|------|--------|
|
|
258
|
-
| Discovery | PASSED |
|
|
259
|
-
| Spec | PASSED |
|
|
260
|
-
| Execution | In Progress |
|
|
261
|
-
| Acceptance | Pending |
|
|
262
|
-
|
|
263
|
-
## Progress
|
|
264
|
-
|
|
265
|
-
[################____] 75%
|
|
266
|
-
|
|
267
|
-
### Completed
|
|
268
|
-
- [x] Wave 1: Foundation (4/4 tasks)
|
|
269
|
-
- [x] Wave 2.1: Define types
|
|
270
|
-
- [x] Wave 2.2: Implement handler
|
|
271
|
-
|
|
272
|
-
### In Progress
|
|
273
|
-
- [ ] Wave 2.3: Add validation <- **Current**
|
|
274
|
-
|
|
275
|
-
### Remaining
|
|
276
|
-
- [ ] Wave 2.4: Add tests
|
|
277
|
-
- [ ] Wave 3: Integration (3 tasks)
|
|
278
|
-
|
|
279
|
-
## > Suggested Next Command
|
|
280
|
-
|
|
281
|
-
`/goop-execute` - Continue Wave 2
|
|
282
|
-
|
|
283
|
-
2 tasks remaining in Wave 2, then Wave 3.
|
|
284
|
-
```
|
|
44
|
+
| State | Suggested |
|
|
45
|
+
|-------|-----------|
|
|
46
|
+
| No project | `/goop-discuss` |
|
|
47
|
+
| Interview incomplete | `/goop-discuss` |
|
|
48
|
+
| Interview done, no spec | `/goop-plan` |
|
|
49
|
+
| Spec draft | `/goop-specify` |
|
|
50
|
+
| Spec locked | `/goop-execute` |
|
|
51
|
+
| Executing | `/goop-execute` |
|
|
52
|
+
| All tasks done | `/goop-accept` |
|
|
53
|
+
| Accepted | `/goop-complete` |
|
|
285
54
|
|
|
286
55
|
## Success Criteria
|
|
287
56
|
|
|
288
|
-
- [ ] All state files read
|
|
289
57
|
- [ ] Phase correctly identified
|
|
290
58
|
- [ ] Gate status accurately shown
|
|
291
59
|
- [ ] Progress clearly displayed
|
|
292
|
-
- [ ] Blockers highlighted
|
|
293
60
|
- [ ] Next command suggested based on state
|
|
294
|
-
- [ ] Verbose mode shows full history
|
|
295
61
|
|
|
296
62
|
---
|
|
297
63
|
|
|
298
|
-
*
|
|
299
|
-
*"Know where you are. Know where to go."*
|
|
64
|
+
*Load `goop_reference({ name: "status-process" })` for full display templates.*
|