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.
Files changed (91) hide show
  1. package/README.md +7 -8
  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 -433
  19. package/commands/goop-quick.md +58 -31
  20. package/commands/goop-setup.md +35 -278
  21. package/commands/goop-specify.md +26 -291
  22. package/commands/goop-status.md +26 -261
  23. package/dist/index.js +34981 -239
  24. package/dist/worker/index.js +35883 -0
  25. package/package.json +5 -2
  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 +155 -223
  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-knowledge-base.md +93 -0
  85. package/templates/project.md +1 -1
  86. package/templates/requirements.md +1 -1
  87. package/templates/research.md +1 -1
  88. package/templates/retrospective.md +1 -1
  89. package/templates/spec.md +1 -1
  90. package/templates/state.md +1 -1
  91. package/templates/summary.md +1 -1
@@ -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
- ## Usage
10
+ ## Immediate Action
11
11
 
12
- ```bash
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
- ## Status Dashboard
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
- ### Remaining
80
- - [ ] [Item 3]
81
- - [ ] [Item 4]
19
+ ## Quick Summary
82
20
 
83
- ## Active Blockers
21
+ Read-only operation that shows current workflow state.
84
22
 
85
- [None | List of blockers]
23
+ ### Tools Used
86
24
 
87
- ## Pending Decisions
88
-
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
- +--------------------------------------------------------+
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
- ## Information Sources
31
+ ### Data Sources
109
32
 
110
33
  | Source | Information |
111
34
  |--------|-------------|
112
- | `state.json` | Phase, locks, timestamps |
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
- ## Gate Logic
42
+ ### Command Suggestions
120
43
 
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 |
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
- *Status Protocol v0.1.4*
299
- *"Know where you are. Know where to go."*
64
+ *Load `goop_reference({ name: "status-process" })` for full display templates.*