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/README.md
CHANGED
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**Stop the AI chaos. Ship what you actually want.**
|
|
8
8
|
|
|
9
|
-
[](https://opencode.ai)
|
|
9
|
+
[](https://github.com/hffmnnj/opencode-goopspec)
|
|
11
10
|
[](https://bun.sh)
|
|
12
11
|
[](https://www.typescriptlang.org/)
|
|
13
12
|
[](./TEST-SUMMARY.md)
|
|
@@ -168,7 +167,7 @@ Each agent has a default model optimized for its task. **All models are configur
|
|
|
168
167
|
|
|
169
168
|
### The Orchestrator
|
|
170
169
|
|
|
171
|
-
**goop-orchestrator** — *The Conductor* (`anthropic/claude-opus-4-
|
|
170
|
+
**goop-orchestrator** — *The Conductor* (`anthropic/claude-opus-4-6`)
|
|
172
171
|
|
|
173
172
|
- Coordinates all work through delegation
|
|
174
173
|
- Maintains clean context across tasks
|
|
@@ -182,13 +181,13 @@ The Conductor never writes implementation code. It directs specialists.
|
|
|
182
181
|
|
|
183
182
|
| Agent | Alias | Default Model | What They Do |
|
|
184
183
|
|-------|-------|---------------|--------------|
|
|
185
|
-
| `goop-executor` | The Builder | `openai/gpt-5.
|
|
186
|
-
| `goop-planner` | The Architect | `anthropic/claude-opus-4-
|
|
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 |
|
|
187
186
|
| `goop-researcher` | The Scholar | `openai/gpt-5.2` | Deep domain research |
|
|
188
187
|
| `goop-explorer` | The Scout | `google/gemini-3-flash` | Fast codebase mapping |
|
|
189
|
-
| `goop-verifier` | The Auditor | `openai/gpt-5.
|
|
190
|
-
| `goop-debugger` | The Detective | `openai/gpt-5.
|
|
191
|
-
| `goop-designer` | The Artisan | `anthropic/claude-opus-4-
|
|
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 |
|
|
192
191
|
| `goop-tester` | The Guardian | `kimi-for-coding/k2p5` | Test writing |
|
|
193
192
|
| `goop-writer` | The Scribe | `google/gemini-3-pro-high` | Documentation |
|
|
194
193
|
| `goop-librarian` | The Archivist | `openai/gpt-5.2` | Code and doc search |
|
package/agents/goop-debugger.md
CHANGED
|
@@ -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.
|
|
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.
|
|
456
|
+
*GoopSpec Debugger v0.1.6*
|
package/agents/goop-designer.md
CHANGED
|
@@ -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-
|
|
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.
|
|
509
|
+
*GoopSpec Designer v0.1.6*
|
package/agents/goop-executor.md
CHANGED
|
@@ -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.
|
|
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
|
|
244
|
+
type(scope): concise but descriptive title (max 72 chars)
|
|
242
245
|
|
|
243
|
-
-
|
|
244
|
-
|
|
246
|
+
[2-4 sentence paragraph explaining context and motivation.
|
|
247
|
+
Why was this change needed? What problem does it solve?]
|
|
245
248
|
|
|
246
|
-
|
|
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.
|
|
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.
|
|
447
|
+
*GoopSpec Executor v0.1.6*
|
package/agents/goop-explorer.md
CHANGED
|
@@ -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.
|
|
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.
|
|
411
|
+
*GoopSpec Explorer v0.1.6*
|
package/agents/goop-librarian.md
CHANGED
|
@@ -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.
|
|
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-
|
|
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` |
|
|
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
|
-
###
|
|
277
|
+
### Two-Step Delegation (CRITICAL)
|
|
275
278
|
|
|
276
|
-
|
|
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.
|
|
648
|
+
*GoopSpec Orchestrator v0.1.6*
|
package/agents/goop-planner.md
CHANGED
|
@@ -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-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
468
|
+
*GoopSpec Researcher v0.1.6*
|
package/agents/goop-tester.md
CHANGED
package/agents/goop-verifier.md
CHANGED
|
@@ -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.
|
|
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.
|
|
436
|
+
*GoopSpec Verifier v0.1.6*
|
package/agents/goop-writer.md
CHANGED
|
@@ -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.
|
|
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.
|
|
338
|
+
*GoopSpec Memory Distiller v0.1.6*
|