gsd-opencode 1.3.31
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/bin/install.js +222 -0
- package/command/gsd/add-phase.md +207 -0
- package/command/gsd/complete-milestone.md +105 -0
- package/command/gsd/consider-issues.md +201 -0
- package/command/gsd/create-roadmap.md +115 -0
- package/command/gsd/discuss-milestone.md +47 -0
- package/command/gsd/discuss-phase.md +60 -0
- package/command/gsd/execute-plan.md +128 -0
- package/command/gsd/help.md +315 -0
- package/command/gsd/insert-phase.md +227 -0
- package/command/gsd/list-phase-assumptions.md +50 -0
- package/command/gsd/map-codebase.md +84 -0
- package/command/gsd/new-milestone.md +59 -0
- package/command/gsd/new-project.md +316 -0
- package/command/gsd/pause-work.md +122 -0
- package/command/gsd/plan-fix.md +205 -0
- package/command/gsd/plan-phase.md +67 -0
- package/command/gsd/progress.md +316 -0
- package/command/gsd/remove-phase.md +338 -0
- package/command/gsd/research-phase.md +91 -0
- package/command/gsd/resume-work.md +40 -0
- package/command/gsd/verify-work.md +71 -0
- package/get-shit-done/references/checkpoints.md +287 -0
- package/get-shit-done/references/continuation-format.md +255 -0
- package/get-shit-done/references/git-integration.md +254 -0
- package/get-shit-done/references/plan-format.md +428 -0
- package/get-shit-done/references/principles.md +157 -0
- package/get-shit-done/references/questioning.md +162 -0
- package/get-shit-done/references/research-pitfalls.md +215 -0
- package/get-shit-done/references/scope-estimation.md +172 -0
- package/get-shit-done/references/tdd.md +263 -0
- package/get-shit-done/templates/codebase/architecture.md +255 -0
- package/get-shit-done/templates/codebase/concerns.md +310 -0
- package/get-shit-done/templates/codebase/conventions.md +307 -0
- package/get-shit-done/templates/codebase/integrations.md +280 -0
- package/get-shit-done/templates/codebase/stack.md +186 -0
- package/get-shit-done/templates/codebase/structure.md +285 -0
- package/get-shit-done/templates/codebase/testing.md +480 -0
- package/get-shit-done/templates/config.json +18 -0
- package/get-shit-done/templates/context.md +161 -0
- package/get-shit-done/templates/continue-here.md +78 -0
- package/get-shit-done/templates/discovery.md +146 -0
- package/get-shit-done/templates/issues.md +32 -0
- package/get-shit-done/templates/milestone-archive.md +123 -0
- package/get-shit-done/templates/milestone-context.md +93 -0
- package/get-shit-done/templates/milestone.md +115 -0
- package/get-shit-done/templates/phase-prompt.md +303 -0
- package/get-shit-done/templates/project.md +184 -0
- package/get-shit-done/templates/research.md +529 -0
- package/get-shit-done/templates/roadmap.md +196 -0
- package/get-shit-done/templates/state.md +210 -0
- package/get-shit-done/templates/summary.md +273 -0
- package/get-shit-done/templates/uat-issues.md +143 -0
- package/get-shit-done/workflows/complete-milestone.md +643 -0
- package/get-shit-done/workflows/create-milestone.md +416 -0
- package/get-shit-done/workflows/create-roadmap.md +481 -0
- package/get-shit-done/workflows/discovery-phase.md +293 -0
- package/get-shit-done/workflows/discuss-milestone.md +236 -0
- package/get-shit-done/workflows/discuss-phase.md +247 -0
- package/get-shit-done/workflows/execute-phase.md +1625 -0
- package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
- package/get-shit-done/workflows/map-codebase.md +434 -0
- package/get-shit-done/workflows/plan-phase.md +488 -0
- package/get-shit-done/workflows/research-phase.md +436 -0
- package/get-shit-done/workflows/resume-project.md +287 -0
- package/get-shit-done/workflows/transition.md +580 -0
- package/get-shit-done/workflows/verify-work.md +202 -0
- package/package.json +38 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Continue-Here Template
|
|
2
|
+
|
|
3
|
+
Copy and fill this structure for `.planning/phases/XX-name/.continue-here.md`:
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
---
|
|
7
|
+
phase: XX-name
|
|
8
|
+
task: 3
|
|
9
|
+
total_tasks: 7
|
|
10
|
+
status: in_progress
|
|
11
|
+
last_updated: 2025-01-15T14:30:00Z
|
|
12
|
+
---
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```markdown
|
|
16
|
+
<current_state>
|
|
17
|
+
[Where exactly are we? What's the immediate context?]
|
|
18
|
+
</current_state>
|
|
19
|
+
|
|
20
|
+
<completed_work>
|
|
21
|
+
[What got done this session - be specific]
|
|
22
|
+
|
|
23
|
+
- Task 1: [name] - Done
|
|
24
|
+
- Task 2: [name] - Done
|
|
25
|
+
- Task 3: [name] - In progress, [what's done on it]
|
|
26
|
+
</completed_work>
|
|
27
|
+
|
|
28
|
+
<remaining_work>
|
|
29
|
+
[What's left in this phase]
|
|
30
|
+
|
|
31
|
+
- Task 3: [name] - [what's left to do]
|
|
32
|
+
- Task 4: [name] - Not started
|
|
33
|
+
- Task 5: [name] - Not started
|
|
34
|
+
</remaining_work>
|
|
35
|
+
|
|
36
|
+
<decisions_made>
|
|
37
|
+
[Key decisions and why - so next session doesn't re-debate]
|
|
38
|
+
|
|
39
|
+
- Decided to use [X] because [reason]
|
|
40
|
+
- Chose [approach] over [alternative] because [reason]
|
|
41
|
+
</decisions_made>
|
|
42
|
+
|
|
43
|
+
<blockers>
|
|
44
|
+
[Anything stuck or waiting on external factors]
|
|
45
|
+
|
|
46
|
+
- [Blocker 1]: [status/workaround]
|
|
47
|
+
</blockers>
|
|
48
|
+
|
|
49
|
+
<context>
|
|
50
|
+
[Mental state, "vibe", anything that helps resume smoothly]
|
|
51
|
+
|
|
52
|
+
[What were you thinking about? What was the plan?
|
|
53
|
+
This is the "pick up exactly where you left off" context.]
|
|
54
|
+
</context>
|
|
55
|
+
|
|
56
|
+
<next_action>
|
|
57
|
+
[The very first thing to do when resuming]
|
|
58
|
+
|
|
59
|
+
Start with: [specific action]
|
|
60
|
+
</next_action>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
<yaml_fields>
|
|
64
|
+
Required YAML frontmatter:
|
|
65
|
+
|
|
66
|
+
- `phase`: Directory name (e.g., `02-authentication`)
|
|
67
|
+
- `task`: Current task number
|
|
68
|
+
- `total_tasks`: How many tasks in phase
|
|
69
|
+
- `status`: `in_progress`, `blocked`, `almost_done`
|
|
70
|
+
- `last_updated`: ISO timestamp
|
|
71
|
+
</yaml_fields>
|
|
72
|
+
|
|
73
|
+
<guidelines>
|
|
74
|
+
- Be specific enough that a fresh Claude instance understands immediately
|
|
75
|
+
- Include WHY decisions were made, not just what
|
|
76
|
+
- The `<next_action>` should be actionable without reading anything else
|
|
77
|
+
- This file gets DELETED after resume - it's not permanent storage
|
|
78
|
+
</guidelines>
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# Discovery Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/phases/XX-name/DISCOVERY.md` - shallow research for library/option decisions.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Answer "which library/option should we use" questions during mandatory discovery in plan-phase.
|
|
6
|
+
|
|
7
|
+
For deep ecosystem research ("how do experts build this"), use `/gsd:research-phase` which produces RESEARCH.md.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## File Template
|
|
12
|
+
|
|
13
|
+
```markdown
|
|
14
|
+
---
|
|
15
|
+
phase: XX-name
|
|
16
|
+
type: discovery
|
|
17
|
+
topic: [discovery-topic]
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
<session_initialization>
|
|
21
|
+
Before beginning discovery, verify today's date:
|
|
22
|
+
!`date +%Y-%m-%d`
|
|
23
|
+
|
|
24
|
+
Use this date when searching for "current" or "latest" information.
|
|
25
|
+
Example: If today is 2025-11-22, search for "2025" not "2024".
|
|
26
|
+
</session_initialization>
|
|
27
|
+
|
|
28
|
+
<discovery_objective>
|
|
29
|
+
Discover [topic] to inform [phase name] implementation.
|
|
30
|
+
|
|
31
|
+
Purpose: [What decision/implementation this enables]
|
|
32
|
+
Scope: [Boundaries]
|
|
33
|
+
Output: DISCOVERY.md with recommendation
|
|
34
|
+
</discovery_objective>
|
|
35
|
+
|
|
36
|
+
<discovery_scope>
|
|
37
|
+
<include>
|
|
38
|
+
- [Question to answer]
|
|
39
|
+
- [Area to investigate]
|
|
40
|
+
- [Specific comparison if needed]
|
|
41
|
+
</include>
|
|
42
|
+
|
|
43
|
+
<exclude>
|
|
44
|
+
- [Out of scope for this discovery]
|
|
45
|
+
- [Defer to implementation phase]
|
|
46
|
+
</exclude>
|
|
47
|
+
</discovery_scope>
|
|
48
|
+
|
|
49
|
+
<discovery_protocol>
|
|
50
|
+
|
|
51
|
+
**Source Priority:**
|
|
52
|
+
1. **Context7 MCP** - For library/framework documentation (current, authoritative)
|
|
53
|
+
2. **Official Docs** - For platform-specific or non-indexed libraries
|
|
54
|
+
3. **WebSearch** - For comparisons, trends, community patterns (verify all findings)
|
|
55
|
+
|
|
56
|
+
**Quality Checklist:**
|
|
57
|
+
Before completing discovery, verify:
|
|
58
|
+
- [ ] All claims have authoritative sources (Context7 or official docs)
|
|
59
|
+
- [ ] Negative claims ("X is not possible") verified with official documentation
|
|
60
|
+
- [ ] API syntax/configuration from Context7 or official docs (never WebSearch alone)
|
|
61
|
+
- [ ] WebSearch findings cross-checked with authoritative sources
|
|
62
|
+
- [ ] Recent updates/changelogs checked for breaking changes
|
|
63
|
+
- [ ] Alternative approaches considered (not just first solution found)
|
|
64
|
+
|
|
65
|
+
**Confidence Levels:**
|
|
66
|
+
- HIGH: Context7 or official docs confirm
|
|
67
|
+
- MEDIUM: WebSearch + Context7/official docs confirm
|
|
68
|
+
- LOW: WebSearch only or training knowledge only (mark for validation)
|
|
69
|
+
|
|
70
|
+
</discovery_protocol>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
<output_structure>
|
|
74
|
+
Create `.planning/phases/XX-name/DISCOVERY.md`:
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
# [Topic] Discovery
|
|
78
|
+
|
|
79
|
+
## Summary
|
|
80
|
+
[2-3 paragraph executive summary - what was researched, what was found, what's recommended]
|
|
81
|
+
|
|
82
|
+
## Primary Recommendation
|
|
83
|
+
[What to do and why - be specific and actionable]
|
|
84
|
+
|
|
85
|
+
## Alternatives Considered
|
|
86
|
+
[What else was evaluated and why not chosen]
|
|
87
|
+
|
|
88
|
+
## Key Findings
|
|
89
|
+
|
|
90
|
+
### [Category 1]
|
|
91
|
+
- [Finding with source URL and relevance to our case]
|
|
92
|
+
|
|
93
|
+
### [Category 2]
|
|
94
|
+
- [Finding with source URL and relevance]
|
|
95
|
+
|
|
96
|
+
## Code Examples
|
|
97
|
+
[Relevant implementation patterns, if applicable]
|
|
98
|
+
|
|
99
|
+
## Metadata
|
|
100
|
+
|
|
101
|
+
<metadata>
|
|
102
|
+
<confidence level="high|medium|low">
|
|
103
|
+
[Why this confidence level - based on source quality and verification]
|
|
104
|
+
</confidence>
|
|
105
|
+
|
|
106
|
+
<sources>
|
|
107
|
+
- [Primary authoritative sources used]
|
|
108
|
+
</sources>
|
|
109
|
+
|
|
110
|
+
<open_questions>
|
|
111
|
+
[What couldn't be determined or needs validation during implementation]
|
|
112
|
+
</open_questions>
|
|
113
|
+
|
|
114
|
+
<validation_checkpoints>
|
|
115
|
+
[If confidence is LOW or MEDIUM, list specific things to verify during implementation]
|
|
116
|
+
</validation_checkpoints>
|
|
117
|
+
</metadata>
|
|
118
|
+
```
|
|
119
|
+
</output_structure>
|
|
120
|
+
|
|
121
|
+
<success_criteria>
|
|
122
|
+
- All scope questions answered with authoritative sources
|
|
123
|
+
- Quality checklist items completed
|
|
124
|
+
- Clear primary recommendation
|
|
125
|
+
- Low-confidence findings marked with validation checkpoints
|
|
126
|
+
- Ready to inform PLAN.md creation
|
|
127
|
+
</success_criteria>
|
|
128
|
+
|
|
129
|
+
<guidelines>
|
|
130
|
+
**When to use discovery:**
|
|
131
|
+
- Technology choice unclear (library A vs B)
|
|
132
|
+
- Best practices needed for unfamiliar integration
|
|
133
|
+
- API/library investigation required
|
|
134
|
+
- Single decision pending
|
|
135
|
+
|
|
136
|
+
**When NOT to use:**
|
|
137
|
+
- Established patterns (CRUD, auth with known library)
|
|
138
|
+
- Implementation details (defer to execution)
|
|
139
|
+
- Questions answerable from existing project context
|
|
140
|
+
|
|
141
|
+
**When to use RESEARCH.md instead:**
|
|
142
|
+
- Niche/complex domains (3D, games, audio, shaders)
|
|
143
|
+
- Need ecosystem knowledge, not just library choice
|
|
144
|
+
- "How do experts build this" questions
|
|
145
|
+
- Use `/gsd:research-phase` for these
|
|
146
|
+
</guidelines>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Project Issues Log
|
|
2
|
+
|
|
3
|
+
Enhancements discovered during execution. Not critical - address in future phases.
|
|
4
|
+
|
|
5
|
+
## Open Enhancements
|
|
6
|
+
|
|
7
|
+
### ISS-001: [Brief description]
|
|
8
|
+
|
|
9
|
+
- **Discovered:** Phase [X] Task [Z] (YYYY-MM-DD)
|
|
10
|
+
- **Type:** [Performance / Refactoring / UX / Testing / Documentation / Accessibility]
|
|
11
|
+
- **Description:** [What could be improved and why it would help]
|
|
12
|
+
- **Impact:** Low (works correctly, this would enhance)
|
|
13
|
+
- **Effort:** [Quick / Medium / Substantial]
|
|
14
|
+
- **Suggested phase:** [Phase number or "Future"]
|
|
15
|
+
|
|
16
|
+
## Closed Enhancements
|
|
17
|
+
|
|
18
|
+
[Moved here when addressed]
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Template Notes
|
|
23
|
+
|
|
24
|
+
**When to create:** First time Rule 5 (log enhancements) triggers during execution.
|
|
25
|
+
|
|
26
|
+
**Location:** `.planning/ISSUES.md`
|
|
27
|
+
|
|
28
|
+
**ISS numbering:** Auto-increment from highest existing number.
|
|
29
|
+
|
|
30
|
+
**Entry format:** Copy the ISS-001 block, update number and fields.
|
|
31
|
+
|
|
32
|
+
**Closing issues:** Move entire block to "Closed Enhancements" section, add resolution note.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Milestone Archive Template
|
|
2
|
+
|
|
3
|
+
This template is used by the complete-milestone workflow to create archive files in `.planning/milestones/`.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Template
|
|
8
|
+
|
|
9
|
+
# Milestone v{{VERSION}}: {{MILESTONE_NAME}}
|
|
10
|
+
|
|
11
|
+
**Status:** ✅ SHIPPED {{DATE}}
|
|
12
|
+
**Phases:** {{PHASE_START}}-{{PHASE_END}}
|
|
13
|
+
**Total Plans:** {{TOTAL_PLANS}}
|
|
14
|
+
|
|
15
|
+
## Overview
|
|
16
|
+
|
|
17
|
+
{{MILESTONE_DESCRIPTION}}
|
|
18
|
+
|
|
19
|
+
## Phases
|
|
20
|
+
|
|
21
|
+
{{PHASES_SECTION}}
|
|
22
|
+
|
|
23
|
+
[For each phase in this milestone, include:]
|
|
24
|
+
|
|
25
|
+
### Phase {{PHASE_NUM}}: {{PHASE_NAME}}
|
|
26
|
+
|
|
27
|
+
**Goal**: {{PHASE_GOAL}}
|
|
28
|
+
**Depends on**: {{DEPENDS_ON}}
|
|
29
|
+
**Plans**: {{PLAN_COUNT}} plans
|
|
30
|
+
|
|
31
|
+
Plans:
|
|
32
|
+
|
|
33
|
+
- [x] {{PHASE}}-01: {{PLAN_DESCRIPTION}}
|
|
34
|
+
- [x] {{PHASE}}-02: {{PLAN_DESCRIPTION}}
|
|
35
|
+
[... all plans ...]
|
|
36
|
+
|
|
37
|
+
**Details:**
|
|
38
|
+
{{PHASE_DETAILS_FROM_ROADMAP}}
|
|
39
|
+
|
|
40
|
+
**For decimal phases, include (INSERTED) marker:**
|
|
41
|
+
|
|
42
|
+
### Phase 2.1: Critical Security Patch (INSERTED)
|
|
43
|
+
|
|
44
|
+
**Goal**: Fix authentication bypass vulnerability
|
|
45
|
+
**Depends on**: Phase 2
|
|
46
|
+
**Plans**: 1 plan
|
|
47
|
+
|
|
48
|
+
Plans:
|
|
49
|
+
|
|
50
|
+
- [x] 2.1-01: Patch auth vulnerability
|
|
51
|
+
|
|
52
|
+
**Details:**
|
|
53
|
+
{{PHASE_DETAILS_FROM_ROADMAP}}
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Milestone Summary
|
|
58
|
+
|
|
59
|
+
**Decimal Phases:**
|
|
60
|
+
|
|
61
|
+
- Phase 2.1: Critical Security Patch (inserted after Phase 2 for urgent fix)
|
|
62
|
+
- Phase 5.1: Performance Hotfix (inserted after Phase 5 for production issue)
|
|
63
|
+
|
|
64
|
+
**Key Decisions:**
|
|
65
|
+
{{DECISIONS_FROM_PROJECT_STATE}}
|
|
66
|
+
[Example:]
|
|
67
|
+
|
|
68
|
+
- Decision: Use ROADMAP.md split (Rationale: Constant context cost)
|
|
69
|
+
- Decision: Decimal phase numbering (Rationale: Clear insertion semantics)
|
|
70
|
+
|
|
71
|
+
**Issues Resolved:**
|
|
72
|
+
{{ISSUES_RESOLVED_DURING_MILESTONE}}
|
|
73
|
+
[Example:]
|
|
74
|
+
|
|
75
|
+
- Fixed context overflow at 100+ phases
|
|
76
|
+
- Resolved phase insertion confusion
|
|
77
|
+
|
|
78
|
+
**Issues Deferred:**
|
|
79
|
+
{{ISSUES_DEFERRED_TO_LATER}}
|
|
80
|
+
[Example:]
|
|
81
|
+
|
|
82
|
+
- PROJECT-STATE.md tiering (deferred until decisions > 300)
|
|
83
|
+
|
|
84
|
+
**Technical Debt Incurred:**
|
|
85
|
+
{{SHORTCUTS_NEEDING_FUTURE_WORK}}
|
|
86
|
+
[Example:]
|
|
87
|
+
|
|
88
|
+
- Some workflows still have hardcoded paths (fix in Phase 5)
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
_For current project status, see .planning/ROADMAP.md_
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Usage Guidelines
|
|
97
|
+
|
|
98
|
+
<guidelines>
|
|
99
|
+
**When to create milestone archives:**
|
|
100
|
+
- After completing all phases in a milestone (v1.0, v1.1, v2.0, etc.)
|
|
101
|
+
- Triggered by complete-milestone workflow
|
|
102
|
+
- Before planning next milestone work
|
|
103
|
+
|
|
104
|
+
**How to fill template:**
|
|
105
|
+
|
|
106
|
+
- Replace {{PLACEHOLDERS}} with actual values
|
|
107
|
+
- Extract phase details from ROADMAP.md
|
|
108
|
+
- Document decimal phases with (INSERTED) marker
|
|
109
|
+
- Include key decisions from PROJECT-STATE.md or SUMMARY files
|
|
110
|
+
- List issues resolved vs deferred
|
|
111
|
+
- Capture technical debt for future reference
|
|
112
|
+
|
|
113
|
+
**Archive location:**
|
|
114
|
+
|
|
115
|
+
- Save to `.planning/milestones/v{VERSION}-{NAME}.md`
|
|
116
|
+
- Example: `.planning/milestones/v1.0-mvp.md`
|
|
117
|
+
|
|
118
|
+
**After archiving:**
|
|
119
|
+
|
|
120
|
+
- Update ROADMAP.md to collapse completed milestone in `<details>` tag
|
|
121
|
+
- Update PROJECT.md to brownfield format with Current State section
|
|
122
|
+
- Continue phase numbering in next milestone (never restart at 01)
|
|
123
|
+
</guidelines>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Milestone Context Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/MILESTONE-CONTEXT.md` - temporary handoff file from discuss-milestone to create-milestone.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Persist milestone discussion context so `/clear` can be used between commands. This file is consumed by `/gsd:new-milestone` and deleted after the milestone is created.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## File Template
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
# Milestone Context
|
|
13
|
+
|
|
14
|
+
**Generated:** [date]
|
|
15
|
+
**Status:** Ready for /gsd:new-milestone
|
|
16
|
+
|
|
17
|
+
<features>
|
|
18
|
+
## Features to Build
|
|
19
|
+
|
|
20
|
+
[Features identified during discussion - the substance of this milestone]
|
|
21
|
+
|
|
22
|
+
- **[Feature 1]**: [description]
|
|
23
|
+
- **[Feature 2]**: [description]
|
|
24
|
+
- **[Feature 3]**: [description]
|
|
25
|
+
|
|
26
|
+
</features>
|
|
27
|
+
|
|
28
|
+
<scope>
|
|
29
|
+
## Scope
|
|
30
|
+
|
|
31
|
+
**Suggested name:** v[X.Y] [Theme Name]
|
|
32
|
+
**Estimated phases:** [N]
|
|
33
|
+
**Focus:** [One sentence theme/focus]
|
|
34
|
+
|
|
35
|
+
</scope>
|
|
36
|
+
|
|
37
|
+
<phase_mapping>
|
|
38
|
+
## Phase Mapping
|
|
39
|
+
|
|
40
|
+
[How features map to phases - rough breakdown]
|
|
41
|
+
|
|
42
|
+
- Phase [N]: [Feature/goal]
|
|
43
|
+
- Phase [N+1]: [Feature/goal]
|
|
44
|
+
- Phase [N+2]: [Feature/goal]
|
|
45
|
+
|
|
46
|
+
</phase_mapping>
|
|
47
|
+
|
|
48
|
+
<constraints>
|
|
49
|
+
## Constraints
|
|
50
|
+
|
|
51
|
+
[Any constraints or boundaries mentioned during discussion]
|
|
52
|
+
|
|
53
|
+
- [Constraint 1]
|
|
54
|
+
- [Constraint 2]
|
|
55
|
+
|
|
56
|
+
</constraints>
|
|
57
|
+
|
|
58
|
+
<notes>
|
|
59
|
+
## Additional Context
|
|
60
|
+
|
|
61
|
+
[Anything else captured during discussion that informs the milestone]
|
|
62
|
+
|
|
63
|
+
</notes>
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
*This file is temporary. It will be deleted after /gsd:new-milestone creates the milestone.*
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
<guidelines>
|
|
71
|
+
**This is a handoff artifact, not permanent documentation.**
|
|
72
|
+
|
|
73
|
+
The file exists only to pass context from `discuss-milestone` to `create-milestone` across a `/clear` boundary.
|
|
74
|
+
|
|
75
|
+
**Lifecycle:**
|
|
76
|
+
1. `/gsd:discuss-milestone` creates this file at end of discussion
|
|
77
|
+
2. User runs `/clear` (safe now - context is persisted)
|
|
78
|
+
3. `/gsd:new-milestone` reads this file
|
|
79
|
+
4. `/gsd:new-milestone` uses context to populate milestone
|
|
80
|
+
5. `/gsd:new-milestone` deletes this file after successful creation
|
|
81
|
+
|
|
82
|
+
**Content should include:**
|
|
83
|
+
- Features identified (the core of what to build)
|
|
84
|
+
- Suggested milestone name/theme
|
|
85
|
+
- Rough phase mapping
|
|
86
|
+
- Any constraints or scope boundaries
|
|
87
|
+
- Notes from discussion
|
|
88
|
+
|
|
89
|
+
**Content should NOT include:**
|
|
90
|
+
- Technical analysis (that comes during phase research)
|
|
91
|
+
- Detailed phase specifications (create-milestone handles that)
|
|
92
|
+
- Implementation details
|
|
93
|
+
</guidelines>
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Milestone Entry Template
|
|
2
|
+
|
|
3
|
+
Add this entry to `.planning/MILESTONES.md` when completing a milestone:
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
## v[X.Y] [Name] (Shipped: YYYY-MM-DD)
|
|
7
|
+
|
|
8
|
+
**Delivered:** [One sentence describing what shipped]
|
|
9
|
+
|
|
10
|
+
**Phases completed:** [X-Y] ([Z] plans total)
|
|
11
|
+
|
|
12
|
+
**Key accomplishments:**
|
|
13
|
+
- [Major achievement 1]
|
|
14
|
+
- [Major achievement 2]
|
|
15
|
+
- [Major achievement 3]
|
|
16
|
+
- [Major achievement 4]
|
|
17
|
+
|
|
18
|
+
**Stats:**
|
|
19
|
+
- [X] files created/modified
|
|
20
|
+
- [Y] lines of code (primary language)
|
|
21
|
+
- [Z] phases, [N] plans, [M] tasks
|
|
22
|
+
- [D] days from start to ship (or milestone to milestone)
|
|
23
|
+
|
|
24
|
+
**Git range:** `feat(XX-XX)` → `feat(YY-YY)`
|
|
25
|
+
|
|
26
|
+
**What's next:** [Brief description of next milestone goals, or "Project complete"]
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<structure>
|
|
32
|
+
If MILESTONES.md doesn't exist, create it with header:
|
|
33
|
+
|
|
34
|
+
```markdown
|
|
35
|
+
# Project Milestones: [Project Name]
|
|
36
|
+
|
|
37
|
+
[Entries in reverse chronological order - newest first]
|
|
38
|
+
```
|
|
39
|
+
</structure>
|
|
40
|
+
|
|
41
|
+
<guidelines>
|
|
42
|
+
**When to create milestones:**
|
|
43
|
+
- Initial v1.0 MVP shipped
|
|
44
|
+
- Major version releases (v2.0, v3.0)
|
|
45
|
+
- Significant feature milestones (v1.1, v1.2)
|
|
46
|
+
- Before archiving planning (capture what was shipped)
|
|
47
|
+
|
|
48
|
+
**Don't create milestones for:**
|
|
49
|
+
- Individual phase completions (normal workflow)
|
|
50
|
+
- Work in progress (wait until shipped)
|
|
51
|
+
- Minor bug fixes that don't constitute a release
|
|
52
|
+
|
|
53
|
+
**Stats to include:**
|
|
54
|
+
- Count modified files: `git diff --stat feat(XX-XX)..feat(YY-YY) | tail -1`
|
|
55
|
+
- Count LOC: `find . -name "*.swift" -o -name "*.ts" | xargs wc -l` (or relevant extension)
|
|
56
|
+
- Phase/plan/task counts from ROADMAP
|
|
57
|
+
- Timeline from first phase commit to last phase commit
|
|
58
|
+
|
|
59
|
+
**Git range format:**
|
|
60
|
+
- First commit of milestone → last commit of milestone
|
|
61
|
+
- Example: `feat(01-01)` → `feat(04-01)` for phases 1-4
|
|
62
|
+
</guidelines>
|
|
63
|
+
|
|
64
|
+
<example>
|
|
65
|
+
```markdown
|
|
66
|
+
# Project Milestones: WeatherBar
|
|
67
|
+
|
|
68
|
+
## v1.1 Security & Polish (Shipped: 2025-12-10)
|
|
69
|
+
|
|
70
|
+
**Delivered:** Security hardening with Keychain integration and comprehensive error handling
|
|
71
|
+
|
|
72
|
+
**Phases completed:** 5-6 (3 plans total)
|
|
73
|
+
|
|
74
|
+
**Key accomplishments:**
|
|
75
|
+
- Migrated API key storage from plaintext to macOS Keychain
|
|
76
|
+
- Implemented comprehensive error handling for network failures
|
|
77
|
+
- Added Sentry crash reporting integration
|
|
78
|
+
- Fixed memory leak in auto-refresh timer
|
|
79
|
+
|
|
80
|
+
**Stats:**
|
|
81
|
+
- 23 files modified
|
|
82
|
+
- 650 lines of Swift added
|
|
83
|
+
- 2 phases, 3 plans, 12 tasks
|
|
84
|
+
- 8 days from v1.0 to v1.1
|
|
85
|
+
|
|
86
|
+
**Git range:** `feat(05-01)` → `feat(06-02)`
|
|
87
|
+
|
|
88
|
+
**What's next:** v2.0 SwiftUI redesign with widget support
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## v1.0 MVP (Shipped: 2025-11-25)
|
|
93
|
+
|
|
94
|
+
**Delivered:** Menu bar weather app with current conditions and 3-day forecast
|
|
95
|
+
|
|
96
|
+
**Phases completed:** 1-4 (7 plans total)
|
|
97
|
+
|
|
98
|
+
**Key accomplishments:**
|
|
99
|
+
- Menu bar app with popover UI (AppKit)
|
|
100
|
+
- OpenWeather API integration with auto-refresh
|
|
101
|
+
- Current weather display with conditions icon
|
|
102
|
+
- 3-day forecast list with high/low temperatures
|
|
103
|
+
- Code signed and notarized for distribution
|
|
104
|
+
|
|
105
|
+
**Stats:**
|
|
106
|
+
- 47 files created
|
|
107
|
+
- 2,450 lines of Swift
|
|
108
|
+
- 4 phases, 7 plans, 28 tasks
|
|
109
|
+
- 12 days from start to ship
|
|
110
|
+
|
|
111
|
+
**Git range:** `feat(01-01)` → `feat(04-01)`
|
|
112
|
+
|
|
113
|
+
**What's next:** Security audit and hardening for v1.1
|
|
114
|
+
```
|
|
115
|
+
</example>
|