opencode-goopspec 0.1.2 → 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.
Files changed (60) hide show
  1. package/README.md +255 -331
  2. package/agents/goop-debugger.md +175 -172
  3. package/agents/goop-designer.md +232 -160
  4. package/agents/goop-executor.md +197 -127
  5. package/agents/goop-explorer.md +148 -150
  6. package/agents/goop-librarian.md +218 -164
  7. package/agents/goop-orchestrator.md +392 -280
  8. package/agents/goop-planner.md +331 -153
  9. package/agents/goop-researcher.md +198 -126
  10. package/agents/goop-tester.md +277 -202
  11. package/agents/goop-verifier.md +191 -201
  12. package/agents/goop-writer.md +241 -133
  13. package/agents/memory-distiller.md +228 -136
  14. package/commands/goop-accept.md +434 -160
  15. package/commands/goop-amend.md +35 -151
  16. package/commands/goop-complete.md +39 -183
  17. package/commands/goop-debug.md +33 -298
  18. package/commands/goop-discuss.md +381 -85
  19. package/commands/goop-execute.md +391 -108
  20. package/commands/goop-help.md +11 -0
  21. package/commands/goop-map-codebase.md +16 -3
  22. package/commands/goop-memory.md +11 -0
  23. package/commands/goop-milestone.md +29 -192
  24. package/commands/goop-pause.md +31 -40
  25. package/commands/goop-plan.md +458 -46
  26. package/commands/goop-quick.md +38 -142
  27. package/commands/goop-recall.md +11 -0
  28. package/commands/goop-remember.md +12 -0
  29. package/commands/goop-research.md +52 -73
  30. package/commands/goop-resume.md +28 -37
  31. package/commands/goop-setup.md +225 -124
  32. package/commands/goop-specify.md +321 -121
  33. package/commands/goop-status.md +256 -110
  34. package/dist/index.js +6289 -2820
  35. package/package.json +1 -1
  36. package/references/context-injection.md +307 -0
  37. package/references/discovery-interview.md +278 -0
  38. package/references/enforcement-system.md +213 -0
  39. package/references/handoff-protocol.md +290 -0
  40. package/references/interactive-questioning.md +122 -0
  41. package/references/model-profiles.md +1 -1
  42. package/references/phase-gates.md +360 -0
  43. package/references/plugin-architecture.md +212 -0
  44. package/references/response-format.md +41 -9
  45. package/references/subagent-protocol.md +83 -33
  46. package/references/ui-interaction-patterns.md +133 -0
  47. package/references/visual-style.md +199 -0
  48. package/references/workflow-accept.md +60 -273
  49. package/references/workflow-execute.md +63 -274
  50. package/references/workflow-plan.md +86 -133
  51. package/references/workflow-research.md +78 -186
  52. package/references/workflow-specify.md +64 -221
  53. package/references/xml-response-schema.md +236 -0
  54. package/templates/blueprint.md +88 -41
  55. package/templates/chronicle.md +130 -16
  56. package/templates/handoff.md +140 -0
  57. package/templates/project.md +114 -0
  58. package/templates/requirements.md +121 -0
  59. package/templates/spec.md +85 -20
  60. package/templates/state.md +103 -0
@@ -1,153 +1,299 @@
1
1
  ---
2
2
  name: goop-status
3
- description: Show GoopSpec status and progress
3
+ description: Show current GoopSpec status and next steps
4
4
  ---
5
5
 
6
- # GoopSpec Status
6
+ # /goop-status
7
7
 
8
- Display the current status of your GoopSpec project and workflow progress.
8
+ **Show project status.** View progress, active phase, gates, and suggested next command.
9
9
 
10
10
  ## Usage
11
11
 
12
+ ```bash
13
+ /goop-status [--verbose]
12
14
  ```
13
- /goop-status
14
- ```
15
15
 
16
- ## Information Shown
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 |
17
22
 
18
- ### Project State
19
- - Initialized: Yes/No
20
- - Active: Yes/No
21
- - Current milestone (if any)
22
- - Task mode: Quick | Standard | Comprehensive | Milestone
23
+ **Hook Support:** None specific - read-only operation.
23
24
 
24
- ### Current Workflow
25
- - Phase: Plan | Research | Specify | Execute | Accept
26
- - Spec locked: Yes/No
27
- - Acceptance confirmed: Yes/No
28
- - Last activity timestamp
25
+ ---
29
26
 
30
- ### Execution Progress (if in Execute phase)
31
- - Current wave: N of M
32
- - Tasks completed in current wave
33
- - Total tasks completed
34
- - Recent commits
27
+ ## Process
35
28
 
36
- ### Contract Status
37
- - Specification locked at: [timestamp]
38
- - Must-haves: N total
39
- - Must-haves completed: N of M
40
- - Nice-to-haves completed: N of M
29
+ **Execute these reads:**
41
30
 
42
- ### Checkpoints
43
- - Total checkpoints saved
44
- - Latest checkpoint info
45
- - Resume available: Yes/No
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")
38
+ ```
46
39
 
47
- ### Memory Stats
48
- - Decisions logged: N
49
- - Observations saved: N
50
- - Patterns documented: N
40
+ ## Status Dashboard
51
41
 
52
- ## Example Output
42
+ Display a comprehensive status view:
53
43
 
54
44
  ```
55
- ⬢ GoopSpec · Status
56
- ──────────────────────────────────────────────────────
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 |
57
67
 
58
- Project: Initialized ✓
59
- Mode: Standard
60
- Milestone: Authentication System
68
+ ## Progress
61
69
 
62
- WORKFLOW:
63
- Phase: Execute (Wave 2 of 4)
64
- Spec Locked: Yes (2024-01-15 10:30)
65
- Acceptance: Pending
70
+ [Progress bar and completion percentage]
66
71
 
67
- PROGRESS:
68
- Wave 1: Foundation [COMPLETE]
69
- Task 1.1: Setup
70
- ☑ Task 1.2: Config
71
- ☑ Task 1.3: Base
72
+ ### Completed
73
+ - [x] [Item 1]
74
+ - [x] [Item 2]
72
75
 
73
- Wave 2: Core [IN PROGRESS]
74
- Task 2.1: Auth
75
- ◉ Task 2.2: Logic
76
- ○ Task 2.3: Data
76
+ ### In Progress
77
+ - [ ] [Current item] <- **Current**
77
78
 
78
- Wave 3: Integration [PENDING]
79
- Wave 4: Polish [PENDING]
79
+ ### Remaining
80
+ - [ ] [Item 3]
81
+ - [ ] [Item 4]
80
82
 
81
- MUST-HAVES: 2 of 3 complete
82
- ☑ User can log in
83
- ☑ Session persists
84
- ○ Error messages displayed
83
+ ## Active Blockers
85
84
 
86
- CHECKPOINTS: 2 saved
87
- Latest: checkpoint-xyz789 (30 mins ago)
85
+ [None | List of blockers]
88
86
 
89
- MEMORY: 5 decisions, 12 observations
87
+ ## Pending Decisions
90
88
 
91
- ──────────────────────────────────────────────────────
89
+ [None | List of decisions awaiting user input]
90
+
91
+ ## Recent Activity
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
+ +--------------------------------------------------------+
92
106
  ```
93
107
 
94
- ## Phase-Specific Information
108
+ ## Information Sources
95
109
 
96
- ### Plan Phase
97
- - Intent captured: Yes/No
98
- - Requirements categorized: Yes/No
99
- - Success criteria defined: Yes/No
100
- - Ready for research: Yes/No
110
+ | Source | Information |
111
+ |--------|-------------|
112
+ | `state.json` | Phase, locks, timestamps |
113
+ | `REQUIREMENTS.md` | Interview status |
114
+ | `SPEC.md` | Must-haves, lock status |
115
+ | `BLUEPRINT.md` | Waves, tasks, traceability |
116
+ | `CHRONICLE.md` | Progress, decisions, blockers |
117
+ | `HANDOFF.md` | Last session context |
101
118
 
102
- ### Research Phase
103
- - Agents spawned: N
104
- - Research complete: Yes/No
105
- - RESEARCH.md created: Yes/No
106
- - Ready for specify: Yes/No
119
+ ## Gate Logic
107
120
 
108
- ### Specify Phase
109
- - SPEC.md created: Yes/No
110
- - BLUEPRINT.md created: Yes/No
111
- - Contract presented: Yes/No
112
- - User confirmed: Yes/No
113
-
114
- ### Execute Phase
115
- - Current wave: N of M
116
- - Tasks complete: N of M
117
- - Deviations: N logged
118
- - Blockers: N active
119
-
120
- ### Accept Phase
121
- - Verification complete: Yes/No
122
- - Must-haves verified: N of M
123
- - Tests passing: Yes/No
124
- - User accepted: Yes/No
125
-
126
- ## Quick Actions
127
-
128
- From status view, you can:
129
- - `/goop-plan [intent]` - Start planning
130
- - `/goop-research` - Begin research
131
- - `/goop-specify` - Lock specification
132
- - `/goop-execute` - Continue execution
133
- - `/goop-accept` - Verify completion
134
- - `/goop-pause` - Save checkpoint
135
- - `/goop-resume` - Resume from checkpoint
121
+ ### Discovery Gate
122
+ ```
123
+ IF REQUIREMENTS.md exists AND interview_complete == true:
124
+ PASSED
125
+ ELSE:
126
+ BLOCKED - Run /goop-discuss
127
+ ```
128
+
129
+ ### Spec Gate
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 |
136
168
 
137
169
  ## Verbose Mode
138
170
 
139
- For detailed status:
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 | - | - |
140
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] |
141
200
  ```
142
- /goop-status --verbose
201
+
202
+ ## Examples
203
+
204
+ **Fresh Project:**
143
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
+ ```
285
+
286
+ ## Success Criteria
144
287
 
145
- Shows additional information:
146
- - Full task list with commit hashes
147
- - All deviations with details
148
- - Complete checkpoint history
149
- - Memory entries related to current work
288
+ - [ ] All state files read
289
+ - [ ] Phase correctly identified
290
+ - [ ] Gate status accurately shown
291
+ - [ ] Progress clearly displayed
292
+ - [ ] Blockers highlighted
293
+ - [ ] Next command suggested based on state
294
+ - [ ] Verbose mode shows full history
150
295
 
151
296
  ---
152
297
 
153
- **GoopSpec**: Know exactly where you stand.
298
+ *Status Protocol v0.1.4*
299
+ *"Know where you are. Know where to go."*