opencode-goopspec 0.1.4 → 0.1.5
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 +1 -2
- package/agents/goop-debugger.md +1 -1
- package/agents/goop-designer.md +1 -1
- package/agents/goop-executor.md +2 -2
- package/agents/goop-explorer.md +2 -2
- package/agents/goop-librarian.md +1 -1
- package/agents/goop-orchestrator.md +1 -1
- package/agents/goop-planner.md +2 -2
- package/agents/goop-researcher.md +2 -2
- package/agents/goop-tester.md +1 -1
- package/agents/goop-verifier.md +1 -1
- package/agents/goop-writer.md +1 -1
- package/agents/memory-distiller.md +2 -2
- package/commands/goop-accept.md +1 -1
- package/commands/goop-discuss.md +1 -1
- package/commands/goop-execute.md +1 -1
- package/commands/goop-plan.md +69 -3
- package/commands/goop-setup.md +32 -278
- package/commands/goop-specify.md +1 -1
- package/commands/goop-status.md +1 -1
- package/dist/index.js +34236 -120
- package/dist/worker/index.js +35883 -0
- package/package.json +4 -2
- package/references/context-injection.md +1 -1
- package/references/discovery-interview.md +1 -1
- package/references/enforcement-system.md +1 -1
- package/references/handoff-protocol.md +1 -1
- package/references/orchestrator-philosophy.md +155 -223
- package/references/phase-gates.md +1 -1
- package/references/plugin-architecture.md +1 -1
- package/references/response-format.md +2 -2
- package/references/subagent-protocol.md +2 -2
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- 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)
|
package/agents/goop-debugger.md
CHANGED
package/agents/goop-designer.md
CHANGED
package/agents/goop-executor.md
CHANGED
|
@@ -321,7 +321,7 @@ If verification is skipped, mark as Fail and explain why in Evidence.
|
|
|
321
321
|
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
322
|
|
|
323
323
|
```xml
|
|
324
|
-
<goop_report version="0.1.
|
|
324
|
+
<goop_report version="0.1.5">
|
|
325
325
|
<status>COMPLETE|PARTIAL|BLOCKED|CHECKPOINT</status>
|
|
326
326
|
<agent>goop-executor</agent>
|
|
327
327
|
<task_id>W[wave].T[task]</task_id>
|
|
@@ -434,4 +434,4 @@ Every response must end with the XML envelope below. You may provide a short hum
|
|
|
434
434
|
|
|
435
435
|
**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
436
|
|
|
437
|
-
*GoopSpec Executor v0.1.
|
|
437
|
+
*GoopSpec Executor v0.1.5*
|
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.5">
|
|
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.5*
|
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.5*
|
|
@@ -603,4 +603,4 @@ All subagents return XML response envelopes. Parse them:
|
|
|
603
603
|
|
|
604
604
|
**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
605
|
|
|
606
|
-
*GoopSpec Orchestrator v0.1.
|
|
606
|
+
*GoopSpec Orchestrator v0.1.5*
|
package/agents/goop-planner.md
CHANGED
|
@@ -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.5">
|
|
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.5*
|
|
@@ -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.5">
|
|
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.5*
|
package/agents/goop-tester.md
CHANGED
package/agents/goop-verifier.md
CHANGED
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.5)
|
|
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.5*
|
package/commands/goop-accept.md
CHANGED
package/commands/goop-discuss.md
CHANGED
package/commands/goop-execute.md
CHANGED
package/commands/goop-plan.md
CHANGED
|
@@ -162,12 +162,76 @@ Extract:
|
|
|
162
162
|
memory_search({ query: "[feature] architecture decisions patterns", limit: 5 })
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
**3.3
|
|
165
|
+
**3.3 Create or load project knowledge:**
|
|
166
166
|
|
|
167
167
|
```
|
|
168
|
-
Read(".goopspec/PROJECT_KNOWLEDGE_BASE.md")
|
|
168
|
+
Read(".goopspec/PROJECT_KNOWLEDGE_BASE.md")
|
|
169
169
|
```
|
|
170
170
|
|
|
171
|
+
**If PROJECT_KNOWLEDGE_BASE.md does not exist, CREATE IT:**
|
|
172
|
+
|
|
173
|
+
This file is required by subagents throughout the workflow. Extract stack/convention info from REQUIREMENTS.md constraints section and create a minimal knowledge base:
|
|
174
|
+
|
|
175
|
+
```markdown
|
|
176
|
+
# Project Knowledge Base
|
|
177
|
+
|
|
178
|
+
**Last Updated:** [timestamp]
|
|
179
|
+
**Updated By:** orchestrator (auto-generated from discovery)
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## Project Identity
|
|
184
|
+
|
|
185
|
+
**Name:** [From REQUIREMENTS.md vision]
|
|
186
|
+
**Type:** [Inferred from constraints]
|
|
187
|
+
**Stage:** Active
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Stack (Non-Negotiable)
|
|
192
|
+
|
|
193
|
+
[Extract from REQUIREMENTS.md Constraints section]
|
|
194
|
+
|
|
195
|
+
### Runtime & Language
|
|
196
|
+
- **Runtime:** [e.g., Node.js / Bun / Browser]
|
|
197
|
+
- **Language:** [e.g., TypeScript]
|
|
198
|
+
|
|
199
|
+
### Frameworks & Libraries
|
|
200
|
+
- **Framework:** [From constraints]
|
|
201
|
+
- **Testing:** [From constraints or infer from package.json]
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Conventions
|
|
206
|
+
|
|
207
|
+
[Extract from REQUIREMENTS.md or infer from codebase]
|
|
208
|
+
|
|
209
|
+
### File Naming
|
|
210
|
+
- **Files:** [kebab-case / camelCase]
|
|
211
|
+
- **Tests:** [*.test.ts / *.spec.ts]
|
|
212
|
+
|
|
213
|
+
### Code Style
|
|
214
|
+
- **Exports:** [Named / Default]
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## Architecture Decisions
|
|
219
|
+
|
|
220
|
+
*To be populated during planning and execution.*
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## Known Gotchas
|
|
225
|
+
|
|
226
|
+
*To be populated as issues are discovered.*
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
*Auto-generated from discovery interview. Update as project evolves.*
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
Write to `.goopspec/PROJECT_KNOWLEDGE_BASE.md` before proceeding.
|
|
234
|
+
|
|
171
235
|
### Phase 4: Spawn Planner
|
|
172
236
|
|
|
173
237
|
**Display banner:**
|
|
@@ -395,6 +459,7 @@ memory_save({
|
|
|
395
459
|
| `.goopspec/BLUEPRINT.md` | Wave-based execution plan |
|
|
396
460
|
| `.goopspec/CHRONICLE.md` | Progress tracking |
|
|
397
461
|
| `.goopspec/HANDOFF.md` | Session handoff |
|
|
462
|
+
| `.goopspec/PROJECT_KNOWLEDGE_BASE.md` | Stack and conventions (created if missing) |
|
|
398
463
|
| State (via goop_state) | Workflow state (phase transitions) |
|
|
399
464
|
|
|
400
465
|
## Transitions
|
|
@@ -460,6 +525,7 @@ Orchestrator:
|
|
|
460
525
|
- [ ] Gate check performed (interview_complete + REQUIREMENTS.md)
|
|
461
526
|
- [ ] If gate fails, refused with clear redirect to /goop-discuss
|
|
462
527
|
- [ ] Existing documents handled (archive/continue/overwrite)
|
|
528
|
+
- [ ] PROJECT_KNOWLEDGE_BASE.md created if missing (from REQUIREMENTS.md constraints)
|
|
463
529
|
- [ ] goop-planner spawned with full discovery context
|
|
464
530
|
- [ ] SPEC.md created with traceability
|
|
465
531
|
- [ ] BLUEPRINT.md created with spec coverage
|
|
@@ -486,5 +552,5 @@ Orchestrator:
|
|
|
486
552
|
|
|
487
553
|
---
|
|
488
554
|
|
|
489
|
-
*Planning Protocol v0.1.
|
|
555
|
+
*Planning Protocol v0.1.5*
|
|
490
556
|
*"Every must-have traces to tasks."*
|
package/commands/goop-setup.md
CHANGED
|
@@ -3,307 +3,61 @@ name: goop-setup
|
|
|
3
3
|
description: GoopSpec setup wizard - first-time init, configuration, and verification
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# EXECUTE NOW
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## Available Actions
|
|
11
|
-
|
|
12
|
-
| Action | Purpose | When to Use |
|
|
13
|
-
|--------|---------|-------------|
|
|
14
|
-
| `init` | Full first-time initialization | New projects, creates all directories and files |
|
|
15
|
-
| `detect` | Show current environment | Understand what's already configured |
|
|
16
|
-
| `plan` | Preview changes | Before applying, see what will change |
|
|
17
|
-
| `apply` | Write configuration | Apply configuration changes |
|
|
18
|
-
| `verify` | Check setup health | Ensure everything is working |
|
|
19
|
-
| `reset` | Reset to defaults | Start over or fix broken config |
|
|
20
|
-
| `models` | Show model suggestions | Help choosing agent models |
|
|
21
|
-
| `status` | Show current config | Quick overview of current state |
|
|
22
|
-
|
|
23
|
-
## Tools Used
|
|
24
|
-
|
|
25
|
-
| Tool | Purpose in This Command |
|
|
26
|
-
|------|------------------------|
|
|
27
|
-
| `goop_setup` | Primary tool - all setup actions |
|
|
28
|
-
|
|
29
|
-
**Hook Support:** None specific - configuration tool.
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## First-Time Setup Flow
|
|
34
|
-
|
|
35
|
-
For users who haven't set up GoopSpec yet, use the `init` action.
|
|
36
|
-
|
|
37
|
-
### Step 1: Detect Current State
|
|
8
|
+
**Step 1: Run detection immediately:**
|
|
38
9
|
|
|
39
10
|
```
|
|
40
11
|
goop_setup(action: "detect")
|
|
41
12
|
```
|
|
42
13
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
### Step 2: Ask for Project Name
|
|
46
|
-
|
|
47
|
-
Ask the user: "What's your project name?"
|
|
48
|
-
|
|
49
|
-
This will be stored in the configuration for context.
|
|
50
|
-
|
|
51
|
-
### Step 3: Configuration Scope
|
|
52
|
-
|
|
53
|
-
Ask: "Where should GoopSpec be configured?"
|
|
54
|
-
|
|
55
|
-
Use the question tool:
|
|
56
|
-
- **both** (Recommended) - Both global and project-specific settings
|
|
57
|
-
- **global** - Only system-wide settings
|
|
58
|
-
- **project** - Only this project
|
|
59
|
-
|
|
60
|
-
### Step 4: MCP Preset
|
|
61
|
-
|
|
62
|
-
Ask: "Which MCPs should be installed?"
|
|
63
|
-
|
|
64
|
-
- **recommended** - Context7 + Exa + Playwright (full workflow support)
|
|
65
|
-
- **core** - Context7 + Exa only (minimal)
|
|
66
|
-
- **none** - Skip MCP installation
|
|
67
|
-
|
|
68
|
-
### Step 5: Memory System
|
|
69
|
-
|
|
70
|
-
Ask: "Would you like to enable the memory system?"
|
|
71
|
-
|
|
72
|
-
The memory system allows GoopSpec to remember decisions, patterns, and context across sessions.
|
|
14
|
+
Then follow the workflow below based on the result.
|
|
73
15
|
|
|
74
|
-
|
|
75
|
-
- **local** (Recommended) - Uses local embeddings, no API needed
|
|
76
|
-
- **openai** - Uses OpenAI embeddings (requires API key)
|
|
77
|
-
- **ollama** - Uses local Ollama server
|
|
78
|
-
|
|
79
|
-
### Step 6: Model Configuration
|
|
80
|
-
|
|
81
|
-
Ask: "Would you like to configure models for each agent?"
|
|
82
|
-
|
|
83
|
-
- **Quick setup** - Use recommended defaults
|
|
84
|
-
- **Custom setup** - Choose models individually
|
|
16
|
+
---
|
|
85
17
|
|
|
86
|
-
|
|
18
|
+
## Workflow
|
|
87
19
|
|
|
88
|
-
###
|
|
20
|
+
### If .goopspec directory NOT found → First-Time Setup
|
|
89
21
|
|
|
90
|
-
|
|
22
|
+
1. **Ask project name** using `question` tool (allow custom input)
|
|
23
|
+
2. **Ask scope** → "Both (Recommended)", "Project only", or "Global only"
|
|
24
|
+
3. **Ask MCP preset** → "Recommended", "Core", or "None"
|
|
25
|
+
4. **Ask memory** → "Yes, local embeddings (Recommended)", "Yes, OpenAI", "Yes, Ollama", or "No"
|
|
26
|
+
5. **Ask models** → "Use defaults (Recommended)" or "Custom configuration"
|
|
91
27
|
|
|
28
|
+
Then apply:
|
|
92
29
|
```
|
|
93
30
|
goop_setup(
|
|
94
31
|
action: "init",
|
|
95
|
-
scope: "<
|
|
96
|
-
projectName: "<
|
|
97
|
-
mcpPreset: "<
|
|
98
|
-
memoryEnabled: true
|
|
99
|
-
memoryProvider: "local"
|
|
100
|
-
agentModels: { ... }
|
|
32
|
+
scope: "<from step 2: both/project/global>",
|
|
33
|
+
projectName: "<from step 1>",
|
|
34
|
+
mcpPreset: "<from step 3: recommended/core/none>",
|
|
35
|
+
memoryEnabled: <from step 4: true/false>,
|
|
36
|
+
memoryProvider: "<from step 4: local/openai/ollama>"
|
|
101
37
|
)
|
|
102
38
|
```
|
|
103
39
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
After init completes, verify everything is working:
|
|
107
|
-
|
|
108
|
-
```
|
|
109
|
-
goop_setup(action: "verify")
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
Report any issues and suggest fixes.
|
|
113
|
-
|
|
114
|
-
## Modifying Existing Setup
|
|
115
|
-
|
|
116
|
-
For users who already have GoopSpec configured:
|
|
117
|
-
|
|
118
|
-
### Check Current Status
|
|
119
|
-
|
|
120
|
-
```
|
|
121
|
-
goop_setup(action: "status")
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
Shows what's currently configured.
|
|
125
|
-
|
|
126
|
-
### Update Configuration
|
|
127
|
-
|
|
128
|
-
```
|
|
129
|
-
goop_setup(
|
|
130
|
-
action: "apply",
|
|
131
|
-
scope: "project",
|
|
132
|
-
// Only include what you want to change
|
|
133
|
-
memoryEnabled: true,
|
|
134
|
-
agentModels: {
|
|
135
|
-
"goop-executor": "anthropic/claude-sonnet-4-5"
|
|
136
|
-
}
|
|
137
|
-
)
|
|
138
|
-
```
|
|
40
|
+
Finally verify: `goop_setup(action: "verify")`
|
|
139
41
|
|
|
140
|
-
###
|
|
42
|
+
### If .goopspec directory FOUND → Ask what to do
|
|
141
43
|
|
|
142
|
-
|
|
44
|
+
Use `question` tool:
|
|
45
|
+
- **Header:** "Existing Setup"
|
|
46
|
+
- **Question:** "GoopSpec is already configured. What would you like to do?"
|
|
47
|
+
- **Options:**
|
|
48
|
+
- "Verify setup" → Run `goop_setup(action: "verify")`
|
|
49
|
+
- "Modify configuration" → Ask what to change, then `goop_setup(action: "apply", ...)`
|
|
50
|
+
- "Reset and start fresh" → `goop_setup(action: "reset", scope: "project", preserveData: true, confirmed: true)` then do First-Time Setup
|
|
51
|
+
- "View current status" → Run `goop_setup(action: "status")`
|
|
143
52
|
|
|
144
|
-
|
|
145
|
-
goop_setup(
|
|
146
|
-
action: "reset",
|
|
147
|
-
scope: "project",
|
|
148
|
-
preserveData: true, // Keep memories, history, checkpoints
|
|
149
|
-
confirmed: true
|
|
150
|
-
)
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
## Agent Model Options
|
|
154
|
-
|
|
155
|
-
### goop-debugger
|
|
156
|
-
*Systematic debugging with hypothesis testing*
|
|
157
|
-
1. openai/gpt-5.2-codex
|
|
158
|
-
2. anthropic/claude-opus-4-5
|
|
159
|
-
3. kimi-for-coding/k2p5
|
|
160
|
-
|
|
161
|
-
### goop-designer
|
|
162
|
-
*Visual design planning and UI/UX reasoning*
|
|
163
|
-
1. anthropic/claude-opus-4-5
|
|
164
|
-
2. kimi-for-coding/k2p5
|
|
165
|
-
3. google/antigravity-gemini-3-pro-high
|
|
166
|
-
|
|
167
|
-
### goop-executor
|
|
168
|
-
*Task execution with checkpoints and verification*
|
|
169
|
-
1. openai/gpt-5.2-codex
|
|
170
|
-
2. anthropic/claude-opus-4-5
|
|
171
|
-
3. anthropic/claude-sonnet-4-5
|
|
172
|
-
4. kimi-for-coding/k2p5
|
|
173
|
-
5. google/antigravity-gemini-3-pro-high
|
|
174
|
-
6. opencode/glm-4.7-free
|
|
175
|
-
|
|
176
|
-
### goop-explorer
|
|
177
|
-
*Fast codebase exploration and pattern extraction*
|
|
178
|
-
1. google/antigravity-gemini-3-flash
|
|
179
|
-
2. anthropic/claude-haiku-4-5
|
|
180
|
-
3. opencode/minimax-m2.1-free
|
|
181
|
-
|
|
182
|
-
### goop-librarian
|
|
183
|
-
*Codebase search and documentation retrieval*
|
|
184
|
-
1. openai/gpt-5.2
|
|
185
|
-
2. google/antigravity-gemini-3-flash
|
|
186
|
-
3. anthropic/claude-sonnet-4-5
|
|
187
|
-
|
|
188
|
-
### goop-orchestrator
|
|
189
|
-
*Primary orchestrator - spec clarity and wave execution*
|
|
190
|
-
1. anthropic/claude-opus-4-5
|
|
191
|
-
2. openai/gpt-5.2-codex
|
|
192
|
-
3. kimi-for-coding/k2p5
|
|
193
|
-
4. anthropic/claude-sonnet-4-5
|
|
194
|
-
|
|
195
|
-
### goop-planner
|
|
196
|
-
*Detailed execution plans with architectural precision*
|
|
197
|
-
1. anthropic/claude-opus-4-5
|
|
198
|
-
2. openai/gpt-5.2-codex
|
|
199
|
-
3. kimi-for-coding/k2p5
|
|
200
|
-
4. anthropic/claude-sonnet-4-5
|
|
201
|
-
|
|
202
|
-
### goop-researcher
|
|
203
|
-
*Comprehensive ecosystem research*
|
|
204
|
-
1. openai/gpt-5.2
|
|
205
|
-
2. anthropic/claude-sonnet-4-5
|
|
206
|
-
3. kimi-for-coding/k2p5
|
|
207
|
-
4. opencode/glm-4.7-free
|
|
208
|
-
|
|
209
|
-
### goop-tester
|
|
210
|
-
*Web frontend testing with Playwright*
|
|
211
|
-
1. kimi-for-coding/k2p5
|
|
212
|
-
2. anthropic/claude-sonnet-4-5
|
|
213
|
-
3. google/antigravity-gemini-3-flash
|
|
214
|
-
|
|
215
|
-
### goop-verifier
|
|
216
|
-
*Post-execution verification with security focus*
|
|
217
|
-
1. openai/gpt-5.2-codex
|
|
218
|
-
2. anthropic/claude-opus-4-5
|
|
219
|
-
|
|
220
|
-
### goop-writer
|
|
221
|
-
*Comprehensive documentation generation*
|
|
222
|
-
1. google/antigravity-gemini-3-pro-high
|
|
223
|
-
2. kimi-for-coding/k2p5
|
|
224
|
-
3. anthropic/claude-sonnet-4-5
|
|
225
|
-
|
|
226
|
-
## Memory System Configuration
|
|
227
|
-
|
|
228
|
-
The memory system allows GoopSpec to:
|
|
229
|
-
- Remember decisions and their reasoning
|
|
230
|
-
- Recall patterns from past work
|
|
231
|
-
- Build context across sessions
|
|
232
|
-
|
|
233
|
-
### Configuration Options
|
|
234
|
-
|
|
235
|
-
| Option | Type | Default | Description |
|
|
236
|
-
|--------|------|---------|-------------|
|
|
237
|
-
| `memoryEnabled` | boolean | true | Enable/disable memory |
|
|
238
|
-
| `memoryProvider` | string | "local" | Embedding provider |
|
|
239
|
-
| `memoryWorkerPort` | number | 37777 | Worker process port |
|
|
240
|
-
|
|
241
|
-
### Embedding Providers
|
|
242
|
-
|
|
243
|
-
- **local** - Uses `Xenova/all-MiniLM-L6-v2`, runs locally, free
|
|
244
|
-
- **openai** - Uses OpenAI's embedding API, requires API key
|
|
245
|
-
- **ollama** - Uses local Ollama server
|
|
246
|
-
|
|
247
|
-
## Troubleshooting
|
|
248
|
-
|
|
249
|
-
### "Memory worker not responding"
|
|
250
|
-
|
|
251
|
-
1. Check if port 37777 is in use: `lsof -i :37777`
|
|
252
|
-
2. Try a different port: `memoryWorkerPort: 37778`
|
|
253
|
-
3. Check memory directory exists: `.goopspec/memory/`
|
|
254
|
-
|
|
255
|
-
### "Configuration not loading"
|
|
256
|
-
|
|
257
|
-
1. Run `goop_setup(action: "verify")` to diagnose
|
|
258
|
-
2. Check for JSON syntax errors in config files
|
|
259
|
-
3. Try `goop_setup(action: "reset", scope: "project", confirmed: true)`
|
|
260
|
-
|
|
261
|
-
### "MCPs not installing"
|
|
262
|
-
|
|
263
|
-
MCPs require OpenCode configuration. Check:
|
|
264
|
-
1. OpenCode is installed and configured
|
|
265
|
-
2. You have write permissions to ~/.config/opencode/
|
|
266
|
-
|
|
267
|
-
## Tips
|
|
268
|
-
|
|
269
|
-
1. **Start with detect** - Always check what's already configured
|
|
270
|
-
2. **Use verify after changes** - Ensures everything works
|
|
271
|
-
3. **Preserve data on reset** - Don't lose memories unless needed
|
|
272
|
-
4. **Quick setup is fine** - Model defaults work well for most users
|
|
273
|
-
5. **Local memory is best** - No API costs, runs offline
|
|
274
|
-
|
|
275
|
-
## Complete Example
|
|
276
|
-
|
|
277
|
-
First-time setup:
|
|
53
|
+
---
|
|
278
54
|
|
|
279
|
-
|
|
280
|
-
// 1. Check current state
|
|
281
|
-
goop_setup(action: "detect")
|
|
55
|
+
## Completion
|
|
282
56
|
|
|
283
|
-
|
|
284
|
-
goop_setup(
|
|
285
|
-
action: "init",
|
|
286
|
-
scope: "both",
|
|
287
|
-
projectName: "my-project",
|
|
288
|
-
mcpPreset: "recommended",
|
|
289
|
-
memoryEnabled: true,
|
|
290
|
-
memoryProvider: "local",
|
|
291
|
-
enableOrchestrator: true
|
|
292
|
-
)
|
|
57
|
+
After setup completes, show:
|
|
293
58
|
|
|
294
|
-
// 3. Verify
|
|
295
|
-
goop_setup(action: "verify")
|
|
296
59
|
```
|
|
60
|
+
## GoopSpec Setup Complete
|
|
297
61
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
```
|
|
301
|
-
// Update just the executor model
|
|
302
|
-
goop_setup(
|
|
303
|
-
action: "apply",
|
|
304
|
-
scope: "project",
|
|
305
|
-
agentModels: {
|
|
306
|
-
"goop-executor": "anthropic/claude-opus-4-5"
|
|
307
|
-
}
|
|
308
|
-
)
|
|
62
|
+
Next: Run `/goop-discuss` to start your first feature.
|
|
309
63
|
```
|
package/commands/goop-specify.md
CHANGED
package/commands/goop-status.md
CHANGED