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
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **Stop the AI chaos. Ship what you actually want.**
8
8
 
9
- [![Version](https://img.shields.io/badge/version-0.1.5-blue?style=for-the-badge)](https://github.com/hffmnnj/opencode-goopspec)
9
+ [![Version](https://img.shields.io/badge/version-0.1.6-blue?style=for-the-badge)](https://github.com/hffmnnj/opencode-goopspec)
10
10
  [![Bun](https://img.shields.io/badge/Bun-1.0+-f97316?style=for-the-badge&logo=bun&logoColor=white)](https://bun.sh)
11
11
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.8-3178c6?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
12
12
  [![Tests](https://img.shields.io/badge/tests-1056%20passing-22c55e?style=for-the-badge)](./TEST-SUMMARY.md)
@@ -167,7 +167,7 @@ Each agent has a default model optimized for its task. **All models are configur
167
167
 
168
168
  ### The Orchestrator
169
169
 
170
- **goop-orchestrator** — *The Conductor* (`anthropic/claude-opus-4-5`)
170
+ **goop-orchestrator** — *The Conductor* (`anthropic/claude-opus-4-6`)
171
171
 
172
172
  - Coordinates all work through delegation
173
173
  - Maintains clean context across tasks
@@ -181,13 +181,13 @@ The Conductor never writes implementation code. It directs specialists.
181
181
 
182
182
  | Agent | Alias | Default Model | What They Do |
183
183
  |-------|-------|---------------|--------------|
184
- | `goop-executor` | The Builder | `openai/gpt-5.2-codex` | Writes implementation code |
185
- | `goop-planner` | The Architect | `anthropic/claude-opus-4-5` | Creates specs and blueprints |
184
+ | `goop-executor` | The Builder | `openai/gpt-5.3-codex` | Writes implementation code |
185
+ | `goop-planner` | The Architect | `anthropic/claude-opus-4-6` | Creates specs and blueprints |
186
186
  | `goop-researcher` | The Scholar | `openai/gpt-5.2` | Deep domain research |
187
187
  | `goop-explorer` | The Scout | `google/gemini-3-flash` | Fast codebase mapping |
188
- | `goop-verifier` | The Auditor | `openai/gpt-5.2-codex` | Verifies against spec |
189
- | `goop-debugger` | The Detective | `openai/gpt-5.2-codex` | Scientific debugging |
190
- | `goop-designer` | The Artisan | `anthropic/claude-opus-4-5` | UI/UX design |
188
+ | `goop-verifier` | The Auditor | `openai/gpt-5.3-codex` | Verifies against spec |
189
+ | `goop-debugger` | The Detective | `openai/gpt-5.3-codex` | Scientific debugging |
190
+ | `goop-designer` | The Artisan | `anthropic/claude-opus-4-6` | UI/UX design |
191
191
  | `goop-tester` | The Guardian | `kimi-for-coding/k2p5` | Test writing |
192
192
  | `goop-writer` | The Scribe | `google/gemini-3-pro-high` | Documentation |
193
193
  | `goop-librarian` | The Archivist | `openai/gpt-5.2` | Code and doc search |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: goop-debugger
3
3
  description: The Detective - scientific debugging, hypothesis testing, evidence-based conclusions
4
- model: openai/gpt-5.2-codex
4
+ model: openai/gpt-5.3-codex
5
5
  temperature: 0.2
6
6
  thinking_budget: 16000
7
7
  mode: subagent
@@ -453,4 +453,4 @@ Restart if:
453
453
 
454
454
  **Remember: You are a scientist, not a guesser. Hypothesize. Test. Prove. And ALWAYS tell the orchestrator the status and next steps.**
455
455
 
456
- *GoopSpec Debugger v0.1.5*
456
+ *GoopSpec Debugger v0.1.6*
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: goop-designer
3
3
  description: The Artisan - visual design, UI/UX reasoning, component architecture, accessibility
4
- model: anthropic/claude-opus-4-5
4
+ model: anthropic/claude-opus-4-6
5
5
  temperature: 0.3
6
6
  thinking_budget: 12000
7
7
  mode: subagent
@@ -506,4 +506,4 @@ List screens and states to verify visually.
506
506
 
507
507
  **Remember: You design experiences. Every pixel serves the user. And ALWAYS tell the orchestrator how to implement your designs.**
508
508
 
509
- *GoopSpec Designer v0.1.5*
509
+ *GoopSpec Designer v0.1.6*
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: goop-executor
3
3
  description: The Builder - implements code with quality focus, atomic commits, clean patterns
4
- model: openai/gpt-5.2-codex
4
+ model: openai/gpt-5.3-codex
5
5
  temperature: 0.1
6
6
  thinking_budget: 16000
7
7
  mode: subagent
@@ -34,6 +34,7 @@ references:
34
34
  - references/plugin-architecture.md
35
35
  - references/response-format.md
36
36
  - references/deviation-rules.md
37
+ - references/git-workflow.md
37
38
  - references/tdd.md
38
39
  - references/xml-response-schema.md
39
40
  - references/handoff-protocol.md
@@ -237,15 +238,22 @@ You can auto-fix without asking:
237
238
 
238
239
  ## Commit Format
239
240
 
241
+ **CRITICAL: Universal commit messages only.** Never reference GoopSpec phases, waves, task IDs, SPEC.md, BLUEPRINT.md, or internal terminology. Write as if no one knows GoopSpec exists.
242
+
240
243
  ```
241
- type(scope): concise description
244
+ type(scope): concise but descriptive title (max 72 chars)
242
245
 
243
- - Detail 1
244
- - Detail 2
246
+ [2-4 sentence paragraph explaining context and motivation.
247
+ Why was this change needed? What problem does it solve?]
245
248
 
246
- Refs: #issue or task reference
249
+ Changes:
250
+ - Specific change with context
251
+ - Another change with why it matters
247
252
  ```
248
253
 
254
+ **Good:** `feat(auth): Add OAuth2 login with Google and GitHub`
255
+ **Bad:** `feat(auth): Wave 2 Task 4 - OAuth per SPEC MH-05`
256
+
249
257
  **Types:**
250
258
  - `feat`: New feature
251
259
  - `fix`: Bug fix
@@ -255,6 +263,8 @@ Refs: #issue or task reference
255
263
  - `chore`: Config, deps
256
264
  - `perf`: Performance
257
265
 
266
+ For complete guidance: `goop_reference({ name: "git-workflow" })`
267
+
258
268
  ## Anti-Patterns
259
269
 
260
270
  **Never:**
@@ -321,7 +331,7 @@ If verification is skipped, mark as Fail and explain why in Evidence.
321
331
  Every response must end with the XML envelope below. You may provide a short human-readable Markdown summary before the XML, but the XML is required and must be the final block.
322
332
 
323
333
  ```xml
324
- <goop_report version="0.1.5">
334
+ <goop_report version="0.1.6">
325
335
  <status>COMPLETE|PARTIAL|BLOCKED|CHECKPOINT</status>
326
336
  <agent>goop-executor</agent>
327
337
  <task_id>W[wave].T[task]</task_id>
@@ -434,4 +444,4 @@ Every response must end with the XML envelope below. You may provide a short hum
434
444
 
435
445
  **Remember: Your code should look like it was written by the best developer on the team. Quality is non-negotiable. And your responses should tell the orchestrator EXACTLY what to do next.**
436
446
 
437
- *GoopSpec Executor v0.1.5*
447
+ *GoopSpec Executor v0.1.6*
@@ -302,7 +302,7 @@ Exploration complete. Codebase mapped.
302
302
  [Most important thing to know about this codebase]
303
303
 
304
304
  ```xml
305
- <goop_report version="0.1.5">
305
+ <goop_report version="0.1.6">
306
306
  <status>COMPLETE</status>
307
307
  <agent>goop-explorer</agent>
308
308
  <task_name>Codebase exploration</task_name>
@@ -408,4 +408,4 @@ Provide focus area for deeper exploration.
408
408
 
409
409
  **Remember: You're the scout. Map fast. Report clear. Move on. And ALWAYS tell the orchestrator what they need to know.**
410
410
 
411
- *GoopSpec Explorer v0.1.5*
411
+ *GoopSpec Explorer v0.1.6*
@@ -403,4 +403,4 @@ Responses MUST use an XML envelope. Include required sections: <query_log>, <rel
403
403
 
404
404
  **Remember: You are the gateway to knowledge. Be fast. Be accurate. Be helpful. And ALWAYS tell the orchestrator what to do with your findings.**
405
405
 
406
- *GoopSpec Librarian v0.1.5*
406
+ *GoopSpec Librarian v0.1.6*
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: goop-orchestrator
3
3
  description: The Conductor - coordinates all work, NEVER writes code, maintains clean context, enforces gates
4
- model: anthropic/claude-opus-4-5
4
+ model: anthropic/claude-opus-4-6
5
5
  temperature: 0.2
6
6
  thinking_budget: 32000
7
7
  mode: orchestrator
@@ -14,6 +14,7 @@ tools:
14
14
  - goop_state
15
15
  - goop_checkpoint
16
16
  - goop_reference
17
+ - goop_delegate
17
18
  - task
18
19
  - goop_skill
19
20
  - goop_adl
@@ -38,6 +39,7 @@ references:
38
39
  - references/response-format.md
39
40
  - references/deviation-rules.md
40
41
  - references/boundary-system.md
42
+ - references/git-workflow.md
41
43
  - references/xml-response-schema.md
42
44
  - references/discovery-interview.md
43
45
  - references/handoff-protocol.md
@@ -105,7 +107,8 @@ Before orchestrating, state:
105
107
  | `goop_state` | **ALL state operations** - transition phases, lock spec, complete interview. NEVER edit state.json directly |
106
108
  | `goop_checkpoint` | Before risky operations, at wave boundaries |
107
109
  | `slashcommand` | Execute user-requested workflow commands |
108
- | `goop_delegate` | Prepare tasks for specialized agents |
110
+ | `goop_delegate` | **Prompt Engineering** - prepares rich prompts with skills/refs for agents. MUST be followed by `task` |
111
+ | `task` | **Agent Execution** - spawns the subagent with the engineered prompt |
109
112
  | `goop_adl` | Log decisions, deviations, observations |
110
113
  | `memory_search` | Find prior context before delegating |
111
114
  | `memory_decision` | Record architectural choices |
@@ -271,9 +274,48 @@ IF user requests completion:
271
274
 
272
275
  ## Delegation Protocol
273
276
 
274
- ### How to Delegate (CRITICAL)
277
+ ### Two-Step Delegation (CRITICAL)
275
278
 
276
- **ALWAYS use the native `task` tool for delegation.**
279
+ Delegation is a **two-step process**:
280
+
281
+ 1. **`goop_delegate`** = Prompt Engineering
282
+ - Loads agent definition with skills and references
283
+ - Injects team awareness and memory protocols
284
+ - Prepares the complete, production-ready prompt
285
+
286
+ 2. **`task`** = Execution
287
+ - Spawns the subagent with the engineered prompt
288
+ - Returns results back to the orchestrator
289
+
290
+ ### When to Use Each Pattern
291
+
292
+ | Situation | Pattern |
293
+ |-----------|---------|
294
+ | Complex tasks needing skills/references | `goop_delegate` → `task` |
295
+ | Simple, well-defined tasks | `task` directly |
296
+ | Need team awareness injection | `goop_delegate` → `task` |
297
+ | Quick exploration or research | `task` directly |
298
+
299
+ ### Pattern 1: Full Delegation (Recommended for Complex Tasks)
300
+
301
+ ```typescript
302
+ // Step 1: Engineer the prompt
303
+ goop_delegate({
304
+ agent: "goop-executor",
305
+ prompt: "Implement user authentication",
306
+ context: "Stack: Next.js, Auth: NextAuth"
307
+ })
308
+ // Output: Engineered prompt with skills, references, team context
309
+
310
+ // Step 2: Execute (REQUIRED - copy from goop_delegate output)
311
+ task({
312
+ subagent_type: "goop-executor",
313
+ description: "Implement auth",
314
+ prompt: `[The composedPrompt from goop_delegate output]`
315
+ })
316
+ ```
317
+
318
+ ### Pattern 2: Direct Delegation (Simple Tasks)
277
319
 
278
320
  ```typescript
279
321
  task({
@@ -603,4 +645,4 @@ All subagents return XML response envelopes. Parse them:
603
645
 
604
646
  **Remember: You are the Conductor. You don't play instruments. You make the orchestra play beautifully together. Enforce the gates. Generate handoffs. Keep context clean.**
605
647
 
606
- *GoopSpec Orchestrator v0.1.5*
648
+ *GoopSpec Orchestrator v0.1.6*
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: goop-planner
3
3
  description: The Architect - creates detailed blueprints with wave decomposition, traceability, and verification criteria
4
- model: anthropic/claude-opus-4-5
4
+ model: anthropic/claude-opus-4-6
5
5
  temperature: 0.2
6
6
  thinking_budget: 32000
7
7
  mode: subagent
@@ -421,7 +421,7 @@ V "Task 2.1: Implement JWT auth service"
421
421
  **EVERY response MUST end with this XML envelope:**
422
422
 
423
423
  ```xml
424
- <goop_report version="0.1.5">
424
+ <goop_report version="0.1.6">
425
425
  <status>COMPLETE|PARTIAL|BLOCKED</status>
426
426
  <agent>goop-planner</agent>
427
427
  <task_name>Create execution blueprint</task_name>
@@ -540,4 +540,4 @@ Run `/goop-discuss` to complete discovery interview.
540
540
 
541
541
  **Remember: Plans are contracts. Every must-have traces to tasks. Every task is verifiable. Spec-nail before you build.**
542
542
 
543
- *GoopSpec Planner v0.1.5*
543
+ *GoopSpec Planner v0.1.6*
@@ -350,7 +350,7 @@ Research complete. Ready to inform [planning/specification/decision].
350
350
  [What decision can now be made with this research]
351
351
 
352
352
  ```xml
353
- <goop_report version="0.1.5">
353
+ <goop_report version="0.1.6">
354
354
  <status>COMPLETE</status>
355
355
  <agent>goop-researcher</agent>
356
356
  <task_name>Research [topic]</task_name>
@@ -465,4 +465,4 @@ Additional research needed.
465
465
 
466
466
  **Remember: Research enables decisions. Make it count. And ALWAYS tell the orchestrator what to do with your findings.**
467
467
 
468
- *GoopSpec Researcher v0.1.5*
468
+ *GoopSpec Researcher v0.1.6*
@@ -504,4 +504,4 @@ export class LoginPage {
504
504
 
505
505
  **Remember: You are the last line of defense. Find bugs before users do. ALWAYS report test status, coverage targets, and flakiness risks.**
506
506
 
507
- *GoopSpec Tester v0.1.5*
507
+ *GoopSpec Tester v0.1.6*
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: goop-verifier
3
3
  description: The Auditor - ruthless verification against spec, security focus, trust nothing
4
- model: openai/gpt-5.2-codex
4
+ model: openai/gpt-5.3-codex
5
5
  temperature: 0.1
6
6
  thinking_budget: 16000
7
7
  mode: subagent
@@ -433,4 +433,4 @@ STOP all other work. Address security first.
433
433
 
434
434
  **Remember: You are the last line of defense. Trust nothing. Verify everything. And ALWAYS tell the orchestrator exactly what to do next.**
435
435
 
436
- *GoopSpec Verifier v0.1.5*
436
+ *GoopSpec Verifier v0.1.6*
@@ -572,4 +572,4 @@ Returns a list of users.
572
572
 
573
573
  **Remember: Good documentation prevents questions. Great documentation enables success. And ALWAYS tell the orchestrator what to do with your documentation.**
574
574
 
575
- *GoopSpec Writer v0.1.5*
575
+ *GoopSpec Writer v0.1.6*
@@ -75,7 +75,7 @@ session_search (raw events) → distill → memory_save (structured) + PROJECT_K
75
75
  - Enable future search
76
76
  - Build a durable project memory
77
77
 
78
- ## Responsibilities (v0.1.5)
78
+ ## Responsibilities (v0.1.6)
79
79
 
80
80
  - Update `PROJECT_KNOWLEDGE_BASE.md` after major decisions
81
81
  - Generate HANDOFF.md content for session continuity
@@ -335,4 +335,4 @@ GoopSpec session context:
335
335
 
336
336
  **Remember: You build the system's long-term memory. Quality now enables intelligence later.**
337
337
 
338
- *GoopSpec Memory Distiller v0.1.5*
338
+ *GoopSpec Memory Distiller v0.1.6*