opencode-goopspec 0.1.0
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/LICENSE +21 -0
- package/README.md +650 -0
- package/agents/goop-debugger.md +265 -0
- package/agents/goop-designer.md +244 -0
- package/agents/goop-executor.md +217 -0
- package/agents/goop-explorer.md +252 -0
- package/agents/goop-librarian.md +197 -0
- package/agents/goop-orchestrator.md +224 -0
- package/agents/goop-planner.md +231 -0
- package/agents/goop-researcher.md +246 -0
- package/agents/goop-tester.md +245 -0
- package/agents/goop-verifier.md +266 -0
- package/agents/goop-writer.md +293 -0
- package/agents/memory-distiller.md +226 -0
- package/commands/goop-accept.md +183 -0
- package/commands/goop-amend.md +175 -0
- package/commands/goop-complete.md +206 -0
- package/commands/goop-debug.md +318 -0
- package/commands/goop-discuss.md +138 -0
- package/commands/goop-execute.md +137 -0
- package/commands/goop-help.md +82 -0
- package/commands/goop-map-codebase.md +501 -0
- package/commands/goop-memory.md +66 -0
- package/commands/goop-milestone.md +213 -0
- package/commands/goop-pause.md +61 -0
- package/commands/goop-plan.md +78 -0
- package/commands/goop-quick.md +165 -0
- package/commands/goop-recall.md +48 -0
- package/commands/goop-remember.md +71 -0
- package/commands/goop-research.md +98 -0
- package/commands/goop-resume.md +57 -0
- package/commands/goop-setup.md +208 -0
- package/commands/goop-specify.md +145 -0
- package/commands/goop-status.md +153 -0
- package/dist/index.js +31017 -0
- package/dist/memory/index.js +48752 -0
- package/package.json +73 -0
- package/references/agent-patterns.md +334 -0
- package/references/boundary-system.md +141 -0
- package/references/deviation-rules.md +80 -0
- package/references/dispatch-patterns.md +176 -0
- package/references/model-profiles.md +109 -0
- package/references/orchestrator-philosophy.md +280 -0
- package/references/security-checklist.md +163 -0
- package/references/subagent-protocol.md +393 -0
- package/references/tdd.md +231 -0
- package/references/ui-brand.md +261 -0
- package/references/workflow-accept.md +325 -0
- package/references/workflow-execute.md +315 -0
- package/references/workflow-plan.md +179 -0
- package/references/workflow-research.md +234 -0
- package/references/workflow-specify.md +278 -0
- package/skills/README.md +362 -0
- package/skills/accessibility/skill.md +41 -0
- package/skills/accessibility-testing/skill.md +47 -0
- package/skills/api-docs/skill.md +50 -0
- package/skills/architecture-design/skill.md +168 -0
- package/skills/atomic-commits/skill.md +53 -0
- package/skills/code-review/skill.md +59 -0
- package/skills/codebase-mapping/skill.md +54 -0
- package/skills/convention-detection/skill.md +68 -0
- package/skills/debugging/skill.md +59 -0
- package/skills/deviation-handling/skill.md +187 -0
- package/skills/documentation/skill.md +213 -0
- package/skills/goop-core/skill.md +383 -0
- package/skills/memory-usage/skill.md +208 -0
- package/skills/parallel-planning/skill.md +170 -0
- package/skills/pattern-extraction/skill.md +73 -0
- package/skills/performance-optimization/skill.md +188 -0
- package/skills/playwright/skill.md +69 -0
- package/skills/playwright-testing/skill.md +93 -0
- package/skills/progress-tracking/skill.md +155 -0
- package/skills/readme-generation/skill.md +87 -0
- package/skills/research/skill.md +161 -0
- package/skills/responsive-design/skill.md +76 -0
- package/skills/scientific-method/skill.md +67 -0
- package/skills/security-audit/skill.md +152 -0
- package/skills/task-decomposition/skill.md +153 -0
- package/skills/task-delegation/skill.md +127 -0
- package/skills/technical-writing/skill.md +69 -0
- package/skills/testing/skill.md +202 -0
- package/skills/ui-design/skill.md +73 -0
- package/skills/ux-patterns/skill.md +82 -0
- package/skills/verification/skill.md +178 -0
- package/skills/visual-regression/skill.md +86 -0
- package/templates/blueprint.md +141 -0
- package/templates/chronicle.md +156 -0
- package/templates/milestone.md +131 -0
- package/templates/research.md +117 -0
- package/templates/retrospective.md +188 -0
- package/templates/spec.md +103 -0
- package/templates/summary.md +202 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-research
|
|
3
|
+
description: Start the Research phase - explore implementation approaches
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Research
|
|
7
|
+
|
|
8
|
+
Gather context and explore implementation approaches before committing to a specification.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/goop-research
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Workflow Position
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
20
|
+
│ PLAN │ ──▶ │ RESEARCH │ ──▶ │ SPECIFY │
|
|
21
|
+
│ (Intent) │ │ (Explore) │ │ (Contract) │
|
|
22
|
+
└─────────────┘ └─────────────┘ └─────────────┘
|
|
23
|
+
↑
|
|
24
|
+
(You are here)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The Research phase answers: **How should we build this?**
|
|
28
|
+
|
|
29
|
+
## What Happens
|
|
30
|
+
|
|
31
|
+
1. **Parallel Agent Spawning** - Multiple agents work simultaneously:
|
|
32
|
+
- **Researcher** - Deep domain research (technologies, patterns, best practices)
|
|
33
|
+
- **Explorer** - Codebase analysis (existing patterns, conventions, integration points)
|
|
34
|
+
- **Librarian** - Documentation gathering (API docs, library guides, examples)
|
|
35
|
+
- **Designer** - (UI tasks only) Visual research (patterns, components, UX)
|
|
36
|
+
|
|
37
|
+
2. **Research Areas Covered:**
|
|
38
|
+
- Technology options and trade-offs
|
|
39
|
+
- Existing codebase patterns
|
|
40
|
+
- Domain knowledge and edge cases
|
|
41
|
+
- Security and performance considerations
|
|
42
|
+
- Industry standards and best practices
|
|
43
|
+
|
|
44
|
+
3. **Consolidation** - Findings merged into RESEARCH.md with:
|
|
45
|
+
- Technology recommendations
|
|
46
|
+
- Codebase integration points
|
|
47
|
+
- Key decisions needed
|
|
48
|
+
- Risk assessment
|
|
49
|
+
- Estimated complexity
|
|
50
|
+
|
|
51
|
+
4. **Memory Integration** - Past research and patterns retrieved
|
|
52
|
+
|
|
53
|
+
## Artifacts Created
|
|
54
|
+
|
|
55
|
+
- `RESEARCH.md` - Consolidated research findings
|
|
56
|
+
- Technology comparison table
|
|
57
|
+
- Recommended approach with rationale
|
|
58
|
+
- Risk catalog
|
|
59
|
+
- Integration points identified
|
|
60
|
+
|
|
61
|
+
## Example
|
|
62
|
+
|
|
63
|
+
After planning "Add user authentication":
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
/goop-research
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Research agents explore:
|
|
70
|
+
- JWT vs session-based auth
|
|
71
|
+
- Existing auth patterns in codebase
|
|
72
|
+
- Security best practices
|
|
73
|
+
- Library options (jose, jsonwebtoken, etc.)
|
|
74
|
+
- Integration with current user model
|
|
75
|
+
|
|
76
|
+
## Next Steps
|
|
77
|
+
|
|
78
|
+
After research:
|
|
79
|
+
- `/goop-specify` - Lock the specification (CONTRACT GATE)
|
|
80
|
+
|
|
81
|
+
## Quick Mode Shortcut
|
|
82
|
+
|
|
83
|
+
For Quick tasks, Research phase is **SKIPPED entirely**:
|
|
84
|
+
- Assumes existing patterns are sufficient
|
|
85
|
+
- No parallel agent spawning
|
|
86
|
+
- Jumps directly from Plan to Execute
|
|
87
|
+
|
|
88
|
+
## Comprehensive Mode
|
|
89
|
+
|
|
90
|
+
For Comprehensive tasks:
|
|
91
|
+
- Deeper research per agent
|
|
92
|
+
- More alternatives explored
|
|
93
|
+
- Extended timeframe
|
|
94
|
+
- User reviews RESEARCH.md before Specify
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
**GoopSpec**: Research thoroughly, decide confidently.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-resume
|
|
3
|
+
description: Resume from a checkpoint
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Resume
|
|
7
|
+
|
|
8
|
+
Resume your work from a saved checkpoint.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/goop-resume [checkpoint-id]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## What Gets Restored
|
|
17
|
+
|
|
18
|
+
When resuming:
|
|
19
|
+
- Session context is restored
|
|
20
|
+
- Current phase is set
|
|
21
|
+
- Active spec is loaded
|
|
22
|
+
- Todos are displayed
|
|
23
|
+
- Modified files list is shown
|
|
24
|
+
|
|
25
|
+
## Without Checkpoint ID
|
|
26
|
+
|
|
27
|
+
If no checkpoint ID is provided, loads the **most recent** checkpoint.
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
/goop-resume
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Or specify a specific checkpoint:
|
|
36
|
+
```
|
|
37
|
+
/goop-resume checkpoint-abc123
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Workflow
|
|
41
|
+
|
|
42
|
+
1. **Load checkpoint data**
|
|
43
|
+
2. **Restore session context**
|
|
44
|
+
3. **Display current todos**
|
|
45
|
+
4. **Show relevant files**
|
|
46
|
+
5. **Ready to continue work**
|
|
47
|
+
|
|
48
|
+
## See Available Checkpoints
|
|
49
|
+
|
|
50
|
+
To list all checkpoints:
|
|
51
|
+
```
|
|
52
|
+
Use the goop_checkpoint tool with action: "list"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
**GoopSpec**: Pick up exactly where you left off.
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-setup
|
|
3
|
+
description: First-time GoopSpec setup wizard with model picker
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Setup Wizard
|
|
7
|
+
|
|
8
|
+
You are helping the user set up GoopSpec for the first time. This wizard includes an in-depth model picker for configuring each agent.
|
|
9
|
+
|
|
10
|
+
## Step 1: Detect Current Environment
|
|
11
|
+
|
|
12
|
+
First, call the `goop_setup` tool with `action: "detect"` to see what's already configured:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
goop_setup(action: "detect")
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Review the output and share a brief summary with the user about their current state.
|
|
19
|
+
|
|
20
|
+
## Step 2: Configuration Scope
|
|
21
|
+
|
|
22
|
+
Ask: "Where should GoopSpec be configured?"
|
|
23
|
+
|
|
24
|
+
Use the question tool to present these options:
|
|
25
|
+
- **both** (Recommended) - Both global and project-specific settings
|
|
26
|
+
- **global** - Only system-wide settings (~/.config/opencode/goopspec.json)
|
|
27
|
+
- **project** - Only this project (.goopspec/config.json)
|
|
28
|
+
|
|
29
|
+
## Step 3: MCP Preset
|
|
30
|
+
|
|
31
|
+
Ask: "Which MCPs should be installed?"
|
|
32
|
+
|
|
33
|
+
Use the question tool to present these options:
|
|
34
|
+
- **recommended** - Context7 + Exa + Playwright (full GoopSpec workflow support)
|
|
35
|
+
- **core** - Context7 + Exa only (minimal setup)
|
|
36
|
+
- **none** - Skip MCP installation
|
|
37
|
+
|
|
38
|
+
## Step 4: Default Agent
|
|
39
|
+
|
|
40
|
+
Ask: "Should GoopSpec be set as your default agent?"
|
|
41
|
+
|
|
42
|
+
Use the question tool:
|
|
43
|
+
- **yes** - GoopSpec orchestrator will be the default for new sessions
|
|
44
|
+
- **no** - Keep current default agent
|
|
45
|
+
|
|
46
|
+
## Step 5: Model Configuration
|
|
47
|
+
|
|
48
|
+
This is the key step. Ask: "Would you like to configure models for each agent?"
|
|
49
|
+
|
|
50
|
+
Use the question tool:
|
|
51
|
+
- **Quick setup** - Use recommended defaults for all agents
|
|
52
|
+
- **Custom setup** - Choose models for each agent individually
|
|
53
|
+
|
|
54
|
+
### If Quick Setup
|
|
55
|
+
Use the defaults from agent files (user can change later):
|
|
56
|
+
- goop-debugger: openai/gpt-5.2-codex
|
|
57
|
+
- goop-designer: anthropic/claude-opus-4-5
|
|
58
|
+
- goop-executor: openai/gpt-5.2-codex
|
|
59
|
+
- goop-explorer: google/antigravity-gemini-3-flash
|
|
60
|
+
- goop-librarian: openai/gpt-5.2
|
|
61
|
+
- goop-orchestrator: anthropic/claude-opus-4-5
|
|
62
|
+
- goop-planner: anthropic/claude-opus-4-5
|
|
63
|
+
- goop-researcher: openai/gpt-5.2
|
|
64
|
+
- goop-tester: opencode/kimi-k2.5-free
|
|
65
|
+
- goop-verifier: openai/gpt-5.2-codex
|
|
66
|
+
- goop-writer: google/antigravity-gemini-3-pro-high
|
|
67
|
+
|
|
68
|
+
### If Custom Setup
|
|
69
|
+
For EACH agent, present a model picker using the question tool. Include a "Custom model" option that allows free text entry.
|
|
70
|
+
|
|
71
|
+
#### Agent Model Options
|
|
72
|
+
|
|
73
|
+
**goop-debugger** (Systematic debugging with hypothesis testing):
|
|
74
|
+
1. openai/gpt-5.2-codex
|
|
75
|
+
2. anthropic/claude-opus-4-5
|
|
76
|
+
3. opencode/kimi-k2.5-free
|
|
77
|
+
- Custom model...
|
|
78
|
+
|
|
79
|
+
**goop-designer** (Visual design planning and UI/UX reasoning):
|
|
80
|
+
1. anthropic/claude-opus-4-5
|
|
81
|
+
2. opencode/kimi-k2.5-free
|
|
82
|
+
3. google/antigravity-gemini-3-pro-high
|
|
83
|
+
- Custom model...
|
|
84
|
+
|
|
85
|
+
**goop-executor** (Task execution with checkpoints and verification):
|
|
86
|
+
1. openai/gpt-5.2-codex
|
|
87
|
+
2. anthropic/claude-opus-4-5
|
|
88
|
+
3. anthropic/claude-sonnet-4-5
|
|
89
|
+
4. opencode/kimi-k2.5-free
|
|
90
|
+
5. google/antigravity-gemini-3-pro-high
|
|
91
|
+
6. opencode/glm-4.7-free
|
|
92
|
+
- Custom model...
|
|
93
|
+
|
|
94
|
+
**goop-explorer** (Fast codebase exploration and pattern extraction):
|
|
95
|
+
1. google/antigravity-gemini-3-flash
|
|
96
|
+
2. anthropic/claude-haiku-4-5
|
|
97
|
+
3. opencode/minimax-m2.1-free
|
|
98
|
+
- Custom model...
|
|
99
|
+
|
|
100
|
+
**goop-librarian** (Codebase search and documentation retrieval):
|
|
101
|
+
1. openai/gpt-5.2
|
|
102
|
+
2. google/antigravity-gemini-3-flash
|
|
103
|
+
3. anthropic/claude-sonnet-4-5
|
|
104
|
+
- Custom model...
|
|
105
|
+
|
|
106
|
+
**goop-orchestrator** (Primary orchestrator - spec clarity and wave execution):
|
|
107
|
+
1. anthropic/claude-opus-4-5
|
|
108
|
+
2. openai/gpt-5.2-codex
|
|
109
|
+
3. opencode/kimi-k2.5-free
|
|
110
|
+
4. anthropic/claude-sonnet-4-5
|
|
111
|
+
- Custom model...
|
|
112
|
+
|
|
113
|
+
**goop-planner** (Detailed execution plans with architectural precision):
|
|
114
|
+
1. anthropic/claude-opus-4-5
|
|
115
|
+
2. openai/gpt-5.2-codex
|
|
116
|
+
3. opencode/kimi-k2.5-free
|
|
117
|
+
4. anthropic/claude-sonnet-4-5
|
|
118
|
+
- Custom model...
|
|
119
|
+
|
|
120
|
+
**goop-researcher** (Comprehensive ecosystem research):
|
|
121
|
+
1. openai/gpt-5.2
|
|
122
|
+
2. anthropic/claude-sonnet-4-5
|
|
123
|
+
3. opencode/kimi-k2.5-free
|
|
124
|
+
4. opencode/glm-4.7-free
|
|
125
|
+
- Custom model...
|
|
126
|
+
|
|
127
|
+
**goop-tester** (Web frontend testing with Playwright):
|
|
128
|
+
1. opencode/kimi-k2.5-free
|
|
129
|
+
2. anthropic/claude-sonnet-4-5
|
|
130
|
+
3. google/antigravity-gemini-3-flash
|
|
131
|
+
- Custom model...
|
|
132
|
+
|
|
133
|
+
**goop-verifier** (Post-execution verification with security focus):
|
|
134
|
+
1. openai/gpt-5.2-codex
|
|
135
|
+
2. anthropic/claude-opus-4-5
|
|
136
|
+
- Custom model...
|
|
137
|
+
|
|
138
|
+
**goop-writer** (Comprehensive documentation generation):
|
|
139
|
+
1. google/antigravity-gemini-3-pro-high
|
|
140
|
+
2. opencode/kimi-k2.5-free
|
|
141
|
+
3. anthropic/claude-sonnet-4-5
|
|
142
|
+
- Custom model...
|
|
143
|
+
|
|
144
|
+
## Step 6: Preview the Plan
|
|
145
|
+
|
|
146
|
+
After collecting all answers, call `goop_setup` with `action: "plan"` and the user's choices:
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
goop_setup(
|
|
150
|
+
action: "plan",
|
|
151
|
+
scope: "<user_choice>",
|
|
152
|
+
mcpPreset: "<user_choice>",
|
|
153
|
+
enableOrchestrator: <true/false>,
|
|
154
|
+
agentModels: {
|
|
155
|
+
"goop-orchestrator": "<model>",
|
|
156
|
+
"goop-planner": "<model>",
|
|
157
|
+
"goop-executor": "<model>",
|
|
158
|
+
// ... other agents
|
|
159
|
+
}
|
|
160
|
+
)
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Show the user a summary including:
|
|
164
|
+
- Configuration scope
|
|
165
|
+
- MCPs to install
|
|
166
|
+
- Agent model assignments (in a table format)
|
|
167
|
+
|
|
168
|
+
Ask for confirmation before proceeding.
|
|
169
|
+
|
|
170
|
+
## Step 7: Apply Configuration
|
|
171
|
+
|
|
172
|
+
If the user confirms, call `goop_setup` with `action: "apply"` and the same parameters.
|
|
173
|
+
|
|
174
|
+
## Step 8: Verify and Complete
|
|
175
|
+
|
|
176
|
+
After applying, summarize what was done:
|
|
177
|
+
- List all agents and their assigned models
|
|
178
|
+
- List MCPs installed
|
|
179
|
+
- Show any warnings or notes
|
|
180
|
+
|
|
181
|
+
Suggest next steps:
|
|
182
|
+
- Run `/goop-status` to verify configuration
|
|
183
|
+
- Start a new conversation to use GoopSpec
|
|
184
|
+
- Try `/goop-discuss` to start your first spec-driven project
|
|
185
|
+
|
|
186
|
+
## Tips for the Model Picker
|
|
187
|
+
|
|
188
|
+
1. **Be conversational** - Don't just list options, explain the trade-offs
|
|
189
|
+
2. **Group similar agents** - You can ask about related agents together (e.g., "orchestrator + planner" or "explorer + librarian")
|
|
190
|
+
3. **Explain costs** - Opus models are more capable but expensive; free models (opencode/*) are great for budget-conscious users
|
|
191
|
+
4. **Allow skipping** - If a user says "use defaults for the rest", accept that
|
|
192
|
+
5. **Support bulk selection** - If a user says "use Claude Sonnet for everything", honor that
|
|
193
|
+
|
|
194
|
+
## Available Models
|
|
195
|
+
|
|
196
|
+
All models listed in the suggestions:
|
|
197
|
+
- openai/gpt-5.2-codex
|
|
198
|
+
- openai/gpt-5.2
|
|
199
|
+
- anthropic/claude-opus-4-5
|
|
200
|
+
- anthropic/claude-sonnet-4-5
|
|
201
|
+
- anthropic/claude-haiku-4-5
|
|
202
|
+
- google/antigravity-gemini-3-pro-high
|
|
203
|
+
- google/antigravity-gemini-3-flash
|
|
204
|
+
- opencode/kimi-k2.5-free
|
|
205
|
+
- opencode/glm-4.7-free
|
|
206
|
+
- opencode/minimax-m2.1-free
|
|
207
|
+
|
|
208
|
+
Users can also enter any custom model name supported by their OpenCode installation.
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-specify
|
|
3
|
+
description: Lock the specification - the CONTRACT between user and agent
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Specify
|
|
7
|
+
|
|
8
|
+
Lock the specification - the binding contract that defines exactly what will be delivered.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/goop-specify
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Workflow Position
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
20
|
+
│ PLAN │ ──▶ │ RESEARCH │ ──▶ │ SPECIFY │
|
|
21
|
+
│ (Intent) │ │ (Explore) │ │ (Contract) │
|
|
22
|
+
└─────────────┘ └─────────────┘ └─────────────┘
|
|
23
|
+
↑
|
|
24
|
+
(You are here)
|
|
25
|
+
|
|
26
|
+
╔══════════════════════════════════════════════╗
|
|
27
|
+
║ CONTRACT GATE ║
|
|
28
|
+
║ User MUST confirm before execution begins ║
|
|
29
|
+
╚══════════════════════════════════════════════╝
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The Specify phase answers: **What exactly will we deliver?**
|
|
33
|
+
|
|
34
|
+
## What Happens
|
|
35
|
+
|
|
36
|
+
1. **Synthesize Plan + Research** - Combine intent with technical approach
|
|
37
|
+
2. **Define Must-Haves** - Observable, achievable, specific deliverables (3-7 items)
|
|
38
|
+
3. **Set Boundaries** - Explicitly state what's out of scope
|
|
39
|
+
4. **Create SPEC.md** - The locked specification document
|
|
40
|
+
5. **Create BLUEPRINT.md** - Wave-based execution plan
|
|
41
|
+
6. **Present Contract** - Show must-haves, nice-to-haves, out-of-scope
|
|
42
|
+
7. **Wait for Confirmation** - User MUST type "confirm" to proceed
|
|
43
|
+
|
|
44
|
+
## The Contract Concept
|
|
45
|
+
|
|
46
|
+
Once locked, the specification becomes a binding agreement:
|
|
47
|
+
- **Agent commits** to delivering must-haves
|
|
48
|
+
- **User commits** to accepting if must-haves are met
|
|
49
|
+
- **Changes require** explicit amendment via `/goop-amend`
|
|
50
|
+
|
|
51
|
+
### Why Contracts Matter
|
|
52
|
+
|
|
53
|
+
**Without a locked spec:**
|
|
54
|
+
- Scope creeps silently
|
|
55
|
+
- "Almost done" never ends
|
|
56
|
+
- Success criteria shift
|
|
57
|
+
- Both parties frustrated
|
|
58
|
+
|
|
59
|
+
**With a locked spec:**
|
|
60
|
+
- Clear deliverables
|
|
61
|
+
- Measurable completion
|
|
62
|
+
- Explicit change process
|
|
63
|
+
- Satisfied expectations
|
|
64
|
+
|
|
65
|
+
## Artifacts Created
|
|
66
|
+
|
|
67
|
+
- `SPEC.md` - Locked specification with:
|
|
68
|
+
- Intent summary
|
|
69
|
+
- Must-haves (guaranteed)
|
|
70
|
+
- Nice-to-haves (best effort)
|
|
71
|
+
- Out-of-scope (explicitly excluded)
|
|
72
|
+
- Technical approach
|
|
73
|
+
- Target files
|
|
74
|
+
- Acceptance criteria
|
|
75
|
+
|
|
76
|
+
- `BLUEPRINT.md` - Wave-based execution plan with:
|
|
77
|
+
- Wave 1: Foundation tasks
|
|
78
|
+
- Wave 2: Core tasks
|
|
79
|
+
- Wave 3: Integration tasks
|
|
80
|
+
- Wave 4: Polish tasks
|
|
81
|
+
|
|
82
|
+
## Confirmation Prompt
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
╭─ ⬢ GoopSpec ───────────────────────────────────────╮
|
|
86
|
+
│ │
|
|
87
|
+
│ 🔒 CONTRACT GATE │
|
|
88
|
+
│ │
|
|
89
|
+
│ I'm ready to lock the specification. │
|
|
90
|
+
│ │
|
|
91
|
+
│ MUST HAVES (I commit to delivering): │
|
|
92
|
+
│ • User can log in with email/password │
|
|
93
|
+
│ • Session persists across refresh │
|
|
94
|
+
│ • Error messages displayed │
|
|
95
|
+
│ │
|
|
96
|
+
│ NICE TO HAVES (Best effort): │
|
|
97
|
+
│ • Remember me option │
|
|
98
|
+
│ │
|
|
99
|
+
│ OUT OF SCOPE: │
|
|
100
|
+
│ • OAuth providers (future enhancement) │
|
|
101
|
+
│ • Password reset (separate feature) │
|
|
102
|
+
│ │
|
|
103
|
+
│ ACCEPTANCE CRITERIA: │
|
|
104
|
+
│ 1. User can successfully log in │
|
|
105
|
+
│ 2. Tests pass for auth flow │
|
|
106
|
+
│ 3. Session management works │
|
|
107
|
+
│ │
|
|
108
|
+
│ ───────────────────────────────────────────── │
|
|
109
|
+
│ Type "confirm" to lock and proceed. │
|
|
110
|
+
│ Type "amend" to request changes. │
|
|
111
|
+
│ │
|
|
112
|
+
╰────────────────────────────────────────────────────╯
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Example
|
|
116
|
+
|
|
117
|
+
After research on authentication:
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
/goop-specify
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Agent creates SPEC.md and BLUEPRINT.md, then presents contract for confirmation.
|
|
124
|
+
|
|
125
|
+
## Next Steps
|
|
126
|
+
|
|
127
|
+
After confirmation:
|
|
128
|
+
- `/goop-execute` - Start wave-based implementation
|
|
129
|
+
|
|
130
|
+
If changes needed:
|
|
131
|
+
- Type "amend" to modify specification before locking
|
|
132
|
+
|
|
133
|
+
After locking:
|
|
134
|
+
- `/goop-amend [change]` - Propose changes to locked spec
|
|
135
|
+
|
|
136
|
+
## Quick Mode Shortcut
|
|
137
|
+
|
|
138
|
+
For Quick tasks, Specify phase is **SKIPPED**:
|
|
139
|
+
- Intent from Plan phase serves as implicit spec
|
|
140
|
+
- No formal SPEC.md
|
|
141
|
+
- Jumps directly to Execute
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
**GoopSpec**: Lock the contract, deliver with confidence.
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-status
|
|
3
|
+
description: Show GoopSpec status and progress
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Status
|
|
7
|
+
|
|
8
|
+
Display the current status of your GoopSpec project and workflow progress.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/goop-status
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Information Shown
|
|
17
|
+
|
|
18
|
+
### Project State
|
|
19
|
+
- Initialized: Yes/No
|
|
20
|
+
- Active: Yes/No
|
|
21
|
+
- Current milestone (if any)
|
|
22
|
+
- Task mode: Quick | Standard | Comprehensive | Milestone
|
|
23
|
+
|
|
24
|
+
### Current Workflow
|
|
25
|
+
- Phase: Plan | Research | Specify | Execute | Accept
|
|
26
|
+
- Spec locked: Yes/No
|
|
27
|
+
- Acceptance confirmed: Yes/No
|
|
28
|
+
- Last activity timestamp
|
|
29
|
+
|
|
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
|
|
35
|
+
|
|
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
|
|
41
|
+
|
|
42
|
+
### Checkpoints
|
|
43
|
+
- Total checkpoints saved
|
|
44
|
+
- Latest checkpoint info
|
|
45
|
+
- Resume available: Yes/No
|
|
46
|
+
|
|
47
|
+
### Memory Stats
|
|
48
|
+
- Decisions logged: N
|
|
49
|
+
- Observations saved: N
|
|
50
|
+
- Patterns documented: N
|
|
51
|
+
|
|
52
|
+
## Example Output
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
⬢ GoopSpec · Status
|
|
56
|
+
──────────────────────────────────────────────────────
|
|
57
|
+
|
|
58
|
+
Project: Initialized ✓
|
|
59
|
+
Mode: Standard
|
|
60
|
+
Milestone: Authentication System
|
|
61
|
+
|
|
62
|
+
WORKFLOW:
|
|
63
|
+
Phase: Execute (Wave 2 of 4)
|
|
64
|
+
Spec Locked: Yes (2024-01-15 10:30)
|
|
65
|
+
Acceptance: Pending
|
|
66
|
+
|
|
67
|
+
PROGRESS:
|
|
68
|
+
Wave 1: Foundation [COMPLETE] ✓
|
|
69
|
+
☑ Task 1.1: Setup
|
|
70
|
+
☑ Task 1.2: Config
|
|
71
|
+
☑ Task 1.3: Base
|
|
72
|
+
|
|
73
|
+
Wave 2: Core [IN PROGRESS]
|
|
74
|
+
☑ Task 2.1: Auth
|
|
75
|
+
◉ Task 2.2: Logic
|
|
76
|
+
○ Task 2.3: Data
|
|
77
|
+
|
|
78
|
+
Wave 3: Integration [PENDING]
|
|
79
|
+
Wave 4: Polish [PENDING]
|
|
80
|
+
|
|
81
|
+
MUST-HAVES: 2 of 3 complete
|
|
82
|
+
☑ User can log in
|
|
83
|
+
☑ Session persists
|
|
84
|
+
○ Error messages displayed
|
|
85
|
+
|
|
86
|
+
CHECKPOINTS: 2 saved
|
|
87
|
+
Latest: checkpoint-xyz789 (30 mins ago)
|
|
88
|
+
|
|
89
|
+
MEMORY: 5 decisions, 12 observations
|
|
90
|
+
|
|
91
|
+
──────────────────────────────────────────────────────
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Phase-Specific Information
|
|
95
|
+
|
|
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
|
|
101
|
+
|
|
102
|
+
### Research Phase
|
|
103
|
+
- Agents spawned: N
|
|
104
|
+
- Research complete: Yes/No
|
|
105
|
+
- RESEARCH.md created: Yes/No
|
|
106
|
+
- Ready for specify: Yes/No
|
|
107
|
+
|
|
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
|
|
136
|
+
|
|
137
|
+
## Verbose Mode
|
|
138
|
+
|
|
139
|
+
For detailed status:
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
/goop-status --verbose
|
|
143
|
+
```
|
|
144
|
+
|
|
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
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
**GoopSpec**: Know exactly where you stand.
|