opencode-goopspec 0.1.2 → 0.1.3
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 +36 -34
- package/agents/goop-orchestrator.md +106 -20
- package/commands/goop-accept.md +43 -163
- package/commands/goop-amend.md +26 -155
- package/commands/goop-complete.md +30 -187
- package/commands/goop-debug.md +25 -303
- package/commands/goop-discuss.md +9 -125
- package/commands/goop-execute.md +49 -115
- package/commands/goop-map-codebase.md +3 -3
- package/commands/goop-milestone.md +20 -196
- package/commands/goop-pause.md +22 -43
- package/commands/goop-plan.md +404 -46
- package/commands/goop-quick.md +29 -145
- package/commands/goop-research.md +43 -77
- package/commands/goop-resume.md +19 -40
- package/commands/goop-setup.md +207 -116
- package/commands/goop-specify.md +58 -134
- package/commands/goop-status.md +32 -134
- package/dist/index.js +5952 -2796
- package/package.json +1 -1
- package/references/interactive-questioning.md +122 -0
- package/references/ui-interaction-patterns.md +133 -0
- package/references/workflow-accept.md +60 -273
- package/references/workflow-execute.md +63 -274
- package/references/workflow-plan.md +86 -133
- package/references/workflow-research.md +78 -186
- package/references/workflow-specify.md +64 -221
|
@@ -15,7 +15,7 @@ Map an existing codebase for brownfield projects.
|
|
|
15
15
|
|
|
16
16
|
Analyzes codebase with parallel Explore agents. Creates `.goopspec/codebase/` with 7 focused documents covering stack, architecture, structure, conventions, testing, integrations, and concerns.
|
|
17
17
|
|
|
18
|
-
Use before `/goop-
|
|
18
|
+
Use before `/goop-setup` on existing codebases. Provides the context needed to extend rather than replace.
|
|
19
19
|
|
|
20
20
|
**Creates:**
|
|
21
21
|
- `.goopspec/codebase/STACK.md` - Technology stack
|
|
@@ -429,7 +429,7 @@ OPTIONAL_VAR=[description]
|
|
|
429
429
|
|
|
430
430
|
## Phase 5: Update State
|
|
431
431
|
|
|
432
|
-
Update
|
|
432
|
+
Update `.goopspec/state.json`:
|
|
433
433
|
- Mark codebase as mapped
|
|
434
434
|
- Add timestamp
|
|
435
435
|
- Link to codebase docs
|
|
@@ -467,7 +467,7 @@ Created in .goopspec/codebase/:
|
|
|
467
467
|
|
|
468
468
|
**Initialize GoopSpec project** with brownfield context
|
|
469
469
|
|
|
470
|
-
/goop-
|
|
470
|
+
/goop-setup
|
|
471
471
|
|
|
472
472
|
<sub>Will use codebase map to understand existing code</sub>
|
|
473
473
|
|
|
@@ -3,211 +3,35 @@ name: goop-milestone
|
|
|
3
3
|
description: Start a new milestone
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# /goop-milestone
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
**Manage project milestones.** Group features into a larger goal.
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
|
+
```bash
|
|
13
|
+
/goop-milestone [start|status|list] [name]
|
|
12
14
|
```
|
|
13
|
-
/goop-milestone [milestone name]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## What is a Milestone?
|
|
17
|
-
|
|
18
|
-
A milestone is a collection of related features that together deliver significant value:
|
|
19
|
-
|
|
20
|
-
**Examples:**
|
|
21
|
-
- "Authentication System" (login, logout, password reset, OAuth)
|
|
22
|
-
- "Payment Integration" (checkout, subscriptions, invoices)
|
|
23
|
-
- "Admin Dashboard" (user management, analytics, settings)
|
|
24
|
-
- "Mobile App" (iOS/Android apps with core features)
|
|
25
|
-
|
|
26
|
-
**Not milestones:**
|
|
27
|
-
- Single features (use `/goop-plan` instead)
|
|
28
|
-
- Bug fixes (use `/goop-quick` instead)
|
|
29
|
-
- Small enhancements (use `/goop-plan` instead)
|
|
30
|
-
|
|
31
|
-
## What Happens
|
|
32
|
-
|
|
33
|
-
1. **Milestone Planning** - Define scope and features:
|
|
34
|
-
- Milestone objectives
|
|
35
|
-
- Feature list
|
|
36
|
-
- Success criteria
|
|
37
|
-
- Timeline estimate
|
|
38
|
-
|
|
39
|
-
2. **Create Milestone Structure**:
|
|
40
|
-
```
|
|
41
|
-
.goopspec/
|
|
42
|
-
└── milestones/
|
|
43
|
-
└── milestone-1-auth-system/
|
|
44
|
-
├── MILESTONE.md
|
|
45
|
-
├── features/
|
|
46
|
-
│ ├── feature-1-login/
|
|
47
|
-
│ ├── feature-2-password-reset/
|
|
48
|
-
│ └── feature-3-oauth/
|
|
49
|
-
└── shared/
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
3. **Feature Breakdown** - Identify individual features within milestone
|
|
53
|
-
|
|
54
|
-
4. **Dependency Mapping** - Determine feature order and dependencies
|
|
55
|
-
|
|
56
|
-
5. **User Confirmation** - Confirm milestone scope before starting
|
|
57
|
-
|
|
58
|
-
## MILESTONE.md Structure
|
|
59
|
-
|
|
60
|
-
```markdown
|
|
61
|
-
# Milestone: [Name]
|
|
62
|
-
|
|
63
|
-
**Status:** Active | Complete
|
|
64
|
-
**Started:** [Date]
|
|
65
|
-
**Target:** [Date]
|
|
66
|
-
**Progress:** [N/M features complete]
|
|
67
|
-
|
|
68
|
-
## Objectives
|
|
69
15
|
|
|
70
|
-
|
|
16
|
+
## How It Works
|
|
71
17
|
|
|
72
|
-
|
|
18
|
+
Milestones are containers for multiple features/tasks. They help track progress towards a larger release.
|
|
73
19
|
|
|
74
|
-
###
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
20
|
+
### Commands
|
|
21
|
+
- `/goop-milestone start "v1.0 Release"`: Begin a new milestone.
|
|
22
|
+
- `/goop-milestone status`: Show milestone progress (burndown).
|
|
23
|
+
- `/goop-milestone list`: Show history.
|
|
78
24
|
|
|
79
|
-
###
|
|
80
|
-
**
|
|
81
|
-
**
|
|
82
|
-
**
|
|
25
|
+
### Workflow
|
|
26
|
+
1. **Start:** Define the milestone goal.
|
|
27
|
+
2. **Execute:** Run multiple `/goop-plan` -> `/goop-execute` cycles within the milestone.
|
|
28
|
+
3. **Track:** Aggregates status across all contained features.
|
|
29
|
+
4. **Complete:** Run `/goop-complete` to finish the milestone.
|
|
83
30
|
|
|
84
|
-
##
|
|
85
|
-
|
|
86
|
-
- [ ] Criterion 1
|
|
87
|
-
- [ ] Criterion 2
|
|
88
|
-
|
|
89
|
-
## Timeline
|
|
90
|
-
|
|
91
|
-
- Week 1: Features 1-2
|
|
92
|
-
- Week 2: Features 3-4
|
|
93
|
-
- Week 3: Integration and polish
|
|
94
|
-
|
|
95
|
-
## Notes
|
|
96
|
-
|
|
97
|
-
[Important context, constraints, decisions]
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## Milestone Workflow
|
|
101
|
-
|
|
102
|
-
```
|
|
103
|
-
/goop-milestone [name]
|
|
104
|
-
↓
|
|
105
|
-
Plan milestone scope
|
|
106
|
-
↓
|
|
107
|
-
Break into features
|
|
108
|
-
↓
|
|
109
|
-
For each feature:
|
|
110
|
-
/goop-plan → /goop-research → /goop-specify → /goop-execute → /goop-accept
|
|
111
|
-
↓
|
|
112
|
-
/goop-complete (archive milestone)
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
## Task Modes
|
|
116
|
-
|
|
117
|
-
Milestones use **Comprehensive Mode**:
|
|
118
|
-
- Deeper research per feature
|
|
119
|
-
- More thorough planning
|
|
120
|
-
- Extended verification
|
|
121
|
-
- Formal retrospectives
|
|
31
|
+
## Artifacts
|
|
32
|
+
- `.goopspec/MILESTONE.md`: Tracks overall progress and contained features.
|
|
122
33
|
|
|
123
34
|
## Example
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
```
|
|
128
|
-
/goop-milestone Authentication System
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Agent creates:
|
|
132
|
-
- MILESTONE.md with objectives
|
|
133
|
-
- Feature breakdown:
|
|
134
|
-
- Feature 1: Email/password login
|
|
135
|
-
- Feature 2: Session management
|
|
136
|
-
- Feature 3: Password reset
|
|
137
|
-
- Feature 4: OAuth integration
|
|
138
|
-
- Dependency map
|
|
139
|
-
- Timeline estimate
|
|
140
|
-
|
|
141
|
-
User confirms scope, then proceeds feature by feature.
|
|
142
|
-
|
|
143
|
-
## Milestone Tracking
|
|
144
|
-
|
|
145
|
-
Track progress with:
|
|
146
|
-
|
|
147
|
-
```
|
|
148
|
-
/goop-status
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
Shows:
|
|
152
|
-
- Current milestone
|
|
153
|
-
- Features complete/in-progress/planned
|
|
154
|
-
- Overall progress percentage
|
|
155
|
-
- Estimated completion
|
|
156
|
-
|
|
157
|
-
## Milestone Completion
|
|
158
|
-
|
|
159
|
-
When all features complete:
|
|
160
|
-
|
|
161
|
-
```
|
|
162
|
-
/goop-complete
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
This:
|
|
166
|
-
- Archives milestone files
|
|
167
|
-
- Generates retrospective
|
|
168
|
-
- Extracts learnings
|
|
169
|
-
- Tags git version
|
|
170
|
-
- Prepares for next milestone
|
|
171
|
-
|
|
172
|
-
## Best Practices
|
|
173
|
-
|
|
174
|
-
### Good Milestone Scope
|
|
175
|
-
|
|
176
|
-
**Right size:**
|
|
177
|
-
- 3-8 related features
|
|
178
|
-
- 1-4 weeks of work
|
|
179
|
-
- Clear theme/objective
|
|
180
|
-
- Delivers user value
|
|
181
|
-
|
|
182
|
-
**Too small:**
|
|
183
|
-
- Single feature (use `/goop-plan`)
|
|
184
|
-
- < 1 week work
|
|
185
|
-
- No clear theme
|
|
186
|
-
|
|
187
|
-
**Too large:**
|
|
188
|
-
- > 10 features
|
|
189
|
-
- > 1 month work
|
|
190
|
-
- Multiple unrelated areas
|
|
191
|
-
- Split into multiple milestones
|
|
192
|
-
|
|
193
|
-
### Milestone Planning
|
|
194
|
-
|
|
195
|
-
1. **Start with objectives** - What value does this deliver?
|
|
196
|
-
2. **List features** - What's needed to achieve objectives?
|
|
197
|
-
3. **Map dependencies** - What order makes sense?
|
|
198
|
-
4. **Estimate effort** - How long will this take?
|
|
199
|
-
5. **Get confirmation** - Does user agree with scope?
|
|
200
|
-
|
|
201
|
-
## Next Steps
|
|
202
|
-
|
|
203
|
-
After milestone started:
|
|
204
|
-
- `/goop-plan [feature]` - Plan first feature
|
|
205
|
-
- `/goop-status` - Check milestone progress
|
|
206
|
-
|
|
207
|
-
After milestone complete:
|
|
208
|
-
- `/goop-milestone [next]` - Start next milestone
|
|
209
|
-
- Review RETROSPECTIVE.md for insights
|
|
210
|
-
|
|
211
|
-
---
|
|
212
|
-
|
|
213
|
-
**GoopSpec**: Think in milestones, deliver in features.
|
|
35
|
+
> **User:** `/goop-milestone start "User Dashboard"`
|
|
36
|
+
> **Agent:** "Milestone 'User Dashboard' started.
|
|
37
|
+
> Plan your first feature with `/goop-plan`."
|
package/commands/goop-pause.md
CHANGED
|
@@ -1,61 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: goop-pause
|
|
3
|
-
description: Save a checkpoint
|
|
3
|
+
description: Save a checkpoint and pause work
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# /goop-pause
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
**Pause work and save state.** Create a resumption checkpoint.
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
|
-
```
|
|
13
|
-
/goop-pause [
|
|
12
|
+
```bash
|
|
13
|
+
/goop-pause [optional message]
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## How It Works
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
- Current session ID
|
|
20
|
-
- Current phase and spec
|
|
21
|
-
- Incomplete todos
|
|
22
|
-
- Modified files
|
|
23
|
-
- Git commit hash
|
|
24
|
-
- Timestamp
|
|
18
|
+
Safely stops the current workflow and saves a snapshot of the context. This allows you to switch tasks or end your session without losing "brain state."
|
|
25
19
|
|
|
26
|
-
|
|
20
|
+
### What is Saved?
|
|
21
|
+
- **Workflow State:** Phase, Wave, active Plan/Spec.
|
|
22
|
+
- **Task Context:** Which task was active.
|
|
23
|
+
- **Memory Buffer:** Short-term observations not yet persisted.
|
|
24
|
+
- **Git State:** Current branch and status.
|
|
27
25
|
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
### When to Use
|
|
27
|
+
- Ending a work session.
|
|
28
|
+
- Switching to a different urgent task.
|
|
29
|
+
- Before a risky manual experiment.
|
|
30
30
|
|
|
31
|
-
##
|
|
31
|
+
## Output
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
- Saves a checkpoint file (JSON) in `.goopspec/checkpoints/`.
|
|
34
|
+
- Confirms the checkpoint ID for resumption.
|
|
34
35
|
|
|
35
36
|
## Example
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## Resume Later
|
|
42
|
-
|
|
43
|
-
To resume from this checkpoint:
|
|
44
|
-
```
|
|
45
|
-
/goop-resume [checkpoint-id]
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Or resume the latest:
|
|
49
|
-
```
|
|
50
|
-
/goop-resume
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Use Cases
|
|
54
|
-
|
|
55
|
-
- End of work day - save and resume tomorrow
|
|
56
|
-
- Before experimental changes - save as backup
|
|
57
|
-
- Context switching - pause one task, work on another
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
**GoopSpec**: Never lose your place.
|
|
38
|
+
> **User:** `/goop-pause Heading to lunch`
|
|
39
|
+
> **Agent:** "Checkpoint `cp-123` saved. 'Heading to lunch'.
|
|
40
|
+
> Run `/goop-resume` to pick up exactly here."
|