gsd-opencode 1.5.2 → 1.6.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.
Files changed (108) hide show
  1. package/agents/gsd-codebase-mapper.md +743 -0
  2. package/agents/gsd-debugger.md +1191 -0
  3. package/agents/gsd-executor.md +759 -0
  4. package/agents/gsd-integration-checker.md +427 -0
  5. package/agents/gsd-phase-researcher.md +637 -0
  6. package/agents/gsd-plan-checker.md +749 -0
  7. package/agents/gsd-planner.md +1373 -0
  8. package/agents/gsd-project-researcher.md +877 -0
  9. package/agents/gsd-research-synthesizer.md +250 -0
  10. package/agents/gsd-roadmapper.md +610 -0
  11. package/agents/gsd-verifier.md +782 -0
  12. package/bin/install.js +11 -1
  13. package/command/gsd/add-phase.md +5 -7
  14. package/command/gsd/add-todo.md +4 -6
  15. package/command/gsd/audit-milestone.md +257 -0
  16. package/command/gsd/check-todos.md +2 -4
  17. package/command/gsd/complete-milestone.md +53 -23
  18. package/command/gsd/debug.md +120 -30
  19. package/command/gsd/discuss-phase.md +51 -30
  20. package/command/gsd/execute-phase.md +192 -26
  21. package/command/gsd/help.md +66 -75
  22. package/command/gsd/insert-phase.md +6 -6
  23. package/command/gsd/list-phase-assumptions.md +1 -1
  24. package/command/gsd/map-codebase.md +15 -28
  25. package/command/gsd/new-milestone.md +693 -36
  26. package/command/gsd/new-project.md +668 -108
  27. package/command/gsd/pause-work.md +2 -2
  28. package/command/gsd/plan-milestone-gaps.md +284 -0
  29. package/command/gsd/plan-phase.md +449 -42
  30. package/command/gsd/progress.md +66 -36
  31. package/command/gsd/remove-phase.md +17 -19
  32. package/command/gsd/research-phase.md +155 -67
  33. package/command/gsd/resume-work.md +3 -3
  34. package/command/gsd/update.md +172 -0
  35. package/command/gsd/verify-work.md +186 -38
  36. package/command/gsd/whats-new.md +124 -0
  37. package/get-shit-done/references/checkpoints.md +599 -98
  38. package/get-shit-done/references/continuation-format.md +5 -11
  39. package/get-shit-done/references/questioning.md +87 -108
  40. package/get-shit-done/references/tdd.md +3 -3
  41. package/get-shit-done/references/ui-brand.md +160 -0
  42. package/get-shit-done/references/verification-patterns.md +595 -0
  43. package/get-shit-done/templates/DEBUG.md +3 -3
  44. package/get-shit-done/templates/UAT.md +247 -0
  45. package/get-shit-done/templates/codebase/architecture.md +5 -5
  46. package/get-shit-done/templates/codebase/concerns.md +1 -1
  47. package/get-shit-done/templates/codebase/conventions.md +1 -1
  48. package/get-shit-done/templates/codebase/structure.md +8 -8
  49. package/get-shit-done/templates/codebase/testing.md +2 -2
  50. package/get-shit-done/templates/context.md +221 -70
  51. package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
  52. package/get-shit-done/templates/discovery.md +5 -5
  53. package/get-shit-done/templates/phase-prompt.md +115 -2
  54. package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
  55. package/get-shit-done/templates/requirements.md +231 -0
  56. package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
  57. package/get-shit-done/templates/research-project/FEATURES.md +147 -0
  58. package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
  59. package/get-shit-done/templates/research-project/STACK.md +120 -0
  60. package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
  61. package/get-shit-done/templates/research.md +2 -2
  62. package/get-shit-done/templates/roadmap.md +26 -20
  63. package/get-shit-done/templates/state.md +2 -17
  64. package/get-shit-done/templates/summary.md +13 -17
  65. package/get-shit-done/templates/user-setup.md +323 -0
  66. package/get-shit-done/templates/verification-report.md +322 -0
  67. package/get-shit-done/workflows/complete-milestone.md +152 -45
  68. package/get-shit-done/workflows/diagnose-issues.md +233 -0
  69. package/get-shit-done/workflows/discovery-phase.md +12 -17
  70. package/get-shit-done/workflows/discuss-phase.md +309 -124
  71. package/get-shit-done/workflows/execute-phase.md +177 -18
  72. package/get-shit-done/workflows/execute-plan.md +163 -145
  73. package/get-shit-done/workflows/map-codebase.md +86 -231
  74. package/get-shit-done/workflows/resume-project.md +18 -20
  75. package/get-shit-done/workflows/transition.md +7 -23
  76. package/get-shit-done/workflows/verify-phase.md +629 -0
  77. package/get-shit-done/workflows/verify-work.md +495 -134
  78. package/package.json +2 -1
  79. package/command/gsd/consider-issues.md +0 -201
  80. package/command/gsd/create-roadmap.md +0 -115
  81. package/command/gsd/discuss-milestone.md +0 -47
  82. package/command/gsd/execute-plan.md +0 -103
  83. package/command/gsd/plan-fix.md +0 -205
  84. package/command/gsd/status.md +0 -127
  85. package/get-shit-done/references/debugging/debugging-mindset.md +0 -253
  86. package/get-shit-done/references/debugging/hypothesis-testing.md +0 -373
  87. package/get-shit-done/references/debugging/investigation-techniques.md +0 -337
  88. package/get-shit-done/references/debugging/verification-patterns.md +0 -425
  89. package/get-shit-done/references/debugging/when-to-research.md +0 -361
  90. package/get-shit-done/references/plan-format.md +0 -475
  91. package/get-shit-done/references/principles.md +0 -157
  92. package/get-shit-done/references/research-pitfalls.md +0 -215
  93. package/get-shit-done/references/scope-estimation.md +0 -256
  94. package/get-shit-done/templates/agent-history.md +0 -263
  95. package/get-shit-done/templates/checkpoint-return.md +0 -204
  96. package/get-shit-done/templates/config.json +0 -26
  97. package/get-shit-done/templates/continuation-prompt.md +0 -235
  98. package/get-shit-done/templates/issues.md +0 -32
  99. package/get-shit-done/templates/milestone-context.md +0 -93
  100. package/get-shit-done/templates/subagent-task-prompt.md +0 -95
  101. package/get-shit-done/templates/uat-issues.md +0 -143
  102. package/get-shit-done/workflows/_archive/execute-phase.md +0 -899
  103. package/get-shit-done/workflows/create-milestone.md +0 -416
  104. package/get-shit-done/workflows/create-roadmap.md +0 -481
  105. package/get-shit-done/workflows/debug.md +0 -426
  106. package/get-shit-done/workflows/discuss-milestone.md +0 -236
  107. package/get-shit-done/workflows/plan-phase.md +0 -701
  108. package/get-shit-done/workflows/research-phase.md +0 -436
@@ -0,0 +1,200 @@
1
+ # Pitfalls Research Template
2
+
3
+ Template for `.planning/research/PITFALLS.md` — common mistakes to avoid in the project domain.
4
+
5
+ <template>
6
+
7
+ ```markdown
8
+ # Pitfalls Research
9
+
10
+ **Domain:** [domain type]
11
+ **Researched:** [date]
12
+ **Confidence:** [HIGH/MEDIUM/LOW]
13
+
14
+ ## Critical Pitfalls
15
+
16
+ ### Pitfall 1: [Name]
17
+
18
+ **What goes wrong:**
19
+ [Description of the failure mode]
20
+
21
+ **Why it happens:**
22
+ [Root cause — why developers make this mistake]
23
+
24
+ **How to avoid:**
25
+ [Specific prevention strategy]
26
+
27
+ **Warning signs:**
28
+ [How to detect this early before it becomes a problem]
29
+
30
+ **Phase to address:**
31
+ [Which roadmap phase should prevent this]
32
+
33
+ ---
34
+
35
+ ### Pitfall 2: [Name]
36
+
37
+ **What goes wrong:**
38
+ [Description of the failure mode]
39
+
40
+ **Why it happens:**
41
+ [Root cause — why developers make this mistake]
42
+
43
+ **How to avoid:**
44
+ [Specific prevention strategy]
45
+
46
+ **Warning signs:**
47
+ [How to detect this early before it becomes a problem]
48
+
49
+ **Phase to address:**
50
+ [Which roadmap phase should prevent this]
51
+
52
+ ---
53
+
54
+ ### Pitfall 3: [Name]
55
+
56
+ **What goes wrong:**
57
+ [Description of the failure mode]
58
+
59
+ **Why it happens:**
60
+ [Root cause — why developers make this mistake]
61
+
62
+ **How to avoid:**
63
+ [Specific prevention strategy]
64
+
65
+ **Warning signs:**
66
+ [How to detect this early before it becomes a problem]
67
+
68
+ **Phase to address:**
69
+ [Which roadmap phase should prevent this]
70
+
71
+ ---
72
+
73
+ [Continue for all critical pitfalls...]
74
+
75
+ ## Technical Debt Patterns
76
+
77
+ Shortcuts that seem reasonable but create long-term problems.
78
+
79
+ | Shortcut | Immediate Benefit | Long-term Cost | When Acceptable |
80
+ |----------|-------------------|----------------|-----------------|
81
+ | [shortcut] | [benefit] | [cost] | [conditions, or "never"] |
82
+ | [shortcut] | [benefit] | [cost] | [conditions, or "never"] |
83
+ | [shortcut] | [benefit] | [cost] | [conditions, or "never"] |
84
+
85
+ ## Integration Gotchas
86
+
87
+ Common mistakes when connecting to external services.
88
+
89
+ | Integration | Common Mistake | Correct Approach |
90
+ |-------------|----------------|------------------|
91
+ | [service] | [what people do wrong] | [what to do instead] |
92
+ | [service] | [what people do wrong] | [what to do instead] |
93
+ | [service] | [what people do wrong] | [what to do instead] |
94
+
95
+ ## Performance Traps
96
+
97
+ Patterns that work at small scale but fail as usage grows.
98
+
99
+ | Trap | Symptoms | Prevention | When It Breaks |
100
+ |------|----------|------------|----------------|
101
+ | [trap] | [how you notice] | [how to avoid] | [scale threshold] |
102
+ | [trap] | [how you notice] | [how to avoid] | [scale threshold] |
103
+ | [trap] | [how you notice] | [how to avoid] | [scale threshold] |
104
+
105
+ ## Security Mistakes
106
+
107
+ Domain-specific security issues beyond general web security.
108
+
109
+ | Mistake | Risk | Prevention |
110
+ |---------|------|------------|
111
+ | [mistake] | [what could happen] | [how to avoid] |
112
+ | [mistake] | [what could happen] | [how to avoid] |
113
+ | [mistake] | [what could happen] | [how to avoid] |
114
+
115
+ ## UX Pitfalls
116
+
117
+ Common user experience mistakes in this domain.
118
+
119
+ | Pitfall | User Impact | Better Approach |
120
+ |---------|-------------|-----------------|
121
+ | [pitfall] | [how users suffer] | [what to do instead] |
122
+ | [pitfall] | [how users suffer] | [what to do instead] |
123
+ | [pitfall] | [how users suffer] | [what to do instead] |
124
+
125
+ ## "Looks Done But Isn't" Checklist
126
+
127
+ Things that appear complete but are missing critical pieces.
128
+
129
+ - [ ] **[Feature]:** Often missing [thing] — verify [check]
130
+ - [ ] **[Feature]:** Often missing [thing] — verify [check]
131
+ - [ ] **[Feature]:** Often missing [thing] — verify [check]
132
+ - [ ] **[Feature]:** Often missing [thing] — verify [check]
133
+
134
+ ## Recovery Strategies
135
+
136
+ When pitfalls occur despite prevention, how to recover.
137
+
138
+ | Pitfall | Recovery Cost | Recovery Steps |
139
+ |---------|---------------|----------------|
140
+ | [pitfall] | LOW/MEDIUM/HIGH | [what to do] |
141
+ | [pitfall] | LOW/MEDIUM/HIGH | [what to do] |
142
+ | [pitfall] | LOW/MEDIUM/HIGH | [what to do] |
143
+
144
+ ## Pitfall-to-Phase Mapping
145
+
146
+ How roadmap phases should address these pitfalls.
147
+
148
+ | Pitfall | Prevention Phase | Verification |
149
+ |---------|------------------|--------------|
150
+ | [pitfall] | Phase [X] | [how to verify prevention worked] |
151
+ | [pitfall] | Phase [X] | [how to verify prevention worked] |
152
+ | [pitfall] | Phase [X] | [how to verify prevention worked] |
153
+
154
+ ## Sources
155
+
156
+ - [Post-mortems referenced]
157
+ - [Community discussions]
158
+ - [Official "gotchas" documentation]
159
+ - [Personal experience / known issues]
160
+
161
+ ---
162
+ *Pitfalls research for: [domain]*
163
+ *Researched: [date]*
164
+ ```
165
+
166
+ </template>
167
+
168
+ <guidelines>
169
+
170
+ **Critical Pitfalls:**
171
+ - Focus on domain-specific issues, not generic mistakes
172
+ - Include warning signs — early detection prevents disasters
173
+ - Link to specific phases — makes pitfalls actionable
174
+
175
+ **Technical Debt:**
176
+ - Be realistic — some shortcuts are acceptable
177
+ - Note when shortcuts are "never acceptable" vs. "only in MVP"
178
+ - Include the long-term cost to inform tradeoff decisions
179
+
180
+ **Performance Traps:**
181
+ - Include scale thresholds ("breaks at 10k users")
182
+ - Focus on what's relevant for this project's expected scale
183
+ - Don't over-engineer for hypothetical scale
184
+
185
+ **Security Mistakes:**
186
+ - Beyond OWASP basics — domain-specific issues
187
+ - Example: Community platforms have different security concerns than e-commerce
188
+ - Include risk level to prioritize
189
+
190
+ **"Looks Done But Isn't":**
191
+ - Checklist format for verification during execution
192
+ - Common in demos vs. production
193
+ - Prevents "it works on my machine" issues
194
+
195
+ **Pitfall-to-Phase Mapping:**
196
+ - Critical for roadmap creation
197
+ - Each pitfall should map to a phase that prevents it
198
+ - Informs phase ordering and success criteria
199
+
200
+ </guidelines>
@@ -0,0 +1,120 @@
1
+ # Stack Research Template
2
+
3
+ Template for `.planning/research/STACK.md` — recommended technologies for the project domain.
4
+
5
+ <template>
6
+
7
+ ```markdown
8
+ # Stack Research
9
+
10
+ **Domain:** [domain type]
11
+ **Researched:** [date]
12
+ **Confidence:** [HIGH/MEDIUM/LOW]
13
+
14
+ ## Recommended Stack
15
+
16
+ ### Core Technologies
17
+
18
+ | Technology | Version | Purpose | Why Recommended |
19
+ |------------|---------|---------|-----------------|
20
+ | [name] | [version] | [what it does] | [why experts use it for this domain] |
21
+ | [name] | [version] | [what it does] | [why experts use it for this domain] |
22
+ | [name] | [version] | [what it does] | [why experts use it for this domain] |
23
+
24
+ ### Supporting Libraries
25
+
26
+ | Library | Version | Purpose | When to Use |
27
+ |---------|---------|---------|-------------|
28
+ | [name] | [version] | [what it does] | [specific use case] |
29
+ | [name] | [version] | [what it does] | [specific use case] |
30
+ | [name] | [version] | [what it does] | [specific use case] |
31
+
32
+ ### Development Tools
33
+
34
+ | Tool | Purpose | Notes |
35
+ |------|---------|-------|
36
+ | [name] | [what it does] | [configuration tips] |
37
+ | [name] | [what it does] | [configuration tips] |
38
+
39
+ ## Installation
40
+
41
+ ```bash
42
+ # Core
43
+ npm install [packages]
44
+
45
+ # Supporting
46
+ npm install [packages]
47
+
48
+ # Dev dependencies
49
+ npm install -D [packages]
50
+ ```
51
+
52
+ ## Alternatives Considered
53
+
54
+ | Recommended | Alternative | When to Use Alternative |
55
+ |-------------|-------------|-------------------------|
56
+ | [our choice] | [other option] | [conditions where alternative is better] |
57
+ | [our choice] | [other option] | [conditions where alternative is better] |
58
+
59
+ ## What NOT to Use
60
+
61
+ | Avoid | Why | Use Instead |
62
+ |-------|-----|-------------|
63
+ | [technology] | [specific problem] | [recommended alternative] |
64
+ | [technology] | [specific problem] | [recommended alternative] |
65
+
66
+ ## Stack Patterns by Variant
67
+
68
+ **If [condition]:**
69
+ - Use [variation]
70
+ - Because [reason]
71
+
72
+ **If [condition]:**
73
+ - Use [variation]
74
+ - Because [reason]
75
+
76
+ ## Version Compatibility
77
+
78
+ | Package A | Compatible With | Notes |
79
+ |-----------|-----------------|-------|
80
+ | [package@version] | [package@version] | [compatibility notes] |
81
+
82
+ ## Sources
83
+
84
+ - [Context7 library ID] — [topics fetched]
85
+ - [Official docs URL] — [what was verified]
86
+ - [Other source] — [confidence level]
87
+
88
+ ---
89
+ *Stack research for: [domain]*
90
+ *Researched: [date]*
91
+ ```
92
+
93
+ </template>
94
+
95
+ <guidelines>
96
+
97
+ **Core Technologies:**
98
+ - Include specific version numbers
99
+ - Explain why this is the standard choice, not just what it does
100
+ - Focus on technologies that affect architecture decisions
101
+
102
+ **Supporting Libraries:**
103
+ - Include libraries commonly needed for this domain
104
+ - Note when each is needed (not all projects need all libraries)
105
+
106
+ **Alternatives:**
107
+ - Don't just dismiss alternatives
108
+ - Explain when alternatives make sense
109
+ - Helps user make informed decisions if they disagree
110
+
111
+ **What NOT to Use:**
112
+ - Actively warn against outdated or problematic choices
113
+ - Explain the specific problem, not just "it's old"
114
+ - Provide the recommended alternative
115
+
116
+ **Version Compatibility:**
117
+ - Note any known compatibility issues
118
+ - Critical for avoiding debugging time later
119
+
120
+ </guidelines>
@@ -0,0 +1,170 @@
1
+ # Research Summary Template
2
+
3
+ Template for `.planning/research/SUMMARY.md` — executive summary of project research with roadmap implications.
4
+
5
+ <template>
6
+
7
+ ```markdown
8
+ # Project Research Summary
9
+
10
+ **Project:** [name from PROJECT.md]
11
+ **Domain:** [inferred domain type]
12
+ **Researched:** [date]
13
+ **Confidence:** [HIGH/MEDIUM/LOW]
14
+
15
+ ## Executive Summary
16
+
17
+ [2-3 paragraph overview of research findings]
18
+
19
+ - What type of product this is and how experts build it
20
+ - The recommended approach based on research
21
+ - Key risks and how to mitigate them
22
+
23
+ ## Key Findings
24
+
25
+ ### Recommended Stack
26
+
27
+ [Summary from STACK.md — 1-2 paragraphs]
28
+
29
+ **Core technologies:**
30
+ - [Technology]: [purpose] — [why recommended]
31
+ - [Technology]: [purpose] — [why recommended]
32
+ - [Technology]: [purpose] — [why recommended]
33
+
34
+ ### Expected Features
35
+
36
+ [Summary from FEATURES.md]
37
+
38
+ **Must have (table stakes):**
39
+ - [Feature] — users expect this
40
+ - [Feature] — users expect this
41
+
42
+ **Should have (competitive):**
43
+ - [Feature] — differentiator
44
+ - [Feature] — differentiator
45
+
46
+ **Defer (v2+):**
47
+ - [Feature] — not essential for launch
48
+
49
+ ### Architecture Approach
50
+
51
+ [Summary from ARCHITECTURE.md — 1 paragraph]
52
+
53
+ **Major components:**
54
+ 1. [Component] — [responsibility]
55
+ 2. [Component] — [responsibility]
56
+ 3. [Component] — [responsibility]
57
+
58
+ ### Critical Pitfalls
59
+
60
+ [Top 3-5 from PITFALLS.md]
61
+
62
+ 1. **[Pitfall]** — [how to avoid]
63
+ 2. **[Pitfall]** — [how to avoid]
64
+ 3. **[Pitfall]** — [how to avoid]
65
+
66
+ ## Implications for Roadmap
67
+
68
+ Based on research, suggested phase structure:
69
+
70
+ ### Phase 1: [Name]
71
+ **Rationale:** [why this comes first based on research]
72
+ **Delivers:** [what this phase produces]
73
+ **Addresses:** [features from FEATURES.md]
74
+ **Avoids:** [pitfall from PITFALLS.md]
75
+
76
+ ### Phase 2: [Name]
77
+ **Rationale:** [why this order]
78
+ **Delivers:** [what this phase produces]
79
+ **Uses:** [stack elements from STACK.md]
80
+ **Implements:** [architecture component]
81
+
82
+ ### Phase 3: [Name]
83
+ **Rationale:** [why this order]
84
+ **Delivers:** [what this phase produces]
85
+
86
+ [Continue for suggested phases...]
87
+
88
+ ### Phase Ordering Rationale
89
+
90
+ - [Why this order based on dependencies discovered]
91
+ - [Why this grouping based on architecture patterns]
92
+ - [How this avoids pitfalls from research]
93
+
94
+ ### Research Flags
95
+
96
+ Phases likely needing deeper research during planning:
97
+ - **Phase [X]:** [reason — e.g., "complex integration, needs API research"]
98
+ - **Phase [Y]:** [reason — e.g., "niche domain, sparse documentation"]
99
+
100
+ Phases with standard patterns (skip research-phase):
101
+ - **Phase [X]:** [reason — e.g., "well-documented, established patterns"]
102
+
103
+ ## Confidence Assessment
104
+
105
+ | Area | Confidence | Notes |
106
+ |------|------------|-------|
107
+ | Stack | [HIGH/MEDIUM/LOW] | [reason] |
108
+ | Features | [HIGH/MEDIUM/LOW] | [reason] |
109
+ | Architecture | [HIGH/MEDIUM/LOW] | [reason] |
110
+ | Pitfalls | [HIGH/MEDIUM/LOW] | [reason] |
111
+
112
+ **Overall confidence:** [HIGH/MEDIUM/LOW]
113
+
114
+ ### Gaps to Address
115
+
116
+ [Any areas where research was inconclusive or needs validation during implementation]
117
+
118
+ - [Gap]: [how to handle during planning/execution]
119
+ - [Gap]: [how to handle during planning/execution]
120
+
121
+ ## Sources
122
+
123
+ ### Primary (HIGH confidence)
124
+ - [Context7 library ID] — [topics]
125
+ - [Official docs URL] — [what was checked]
126
+
127
+ ### Secondary (MEDIUM confidence)
128
+ - [Source] — [finding]
129
+
130
+ ### Tertiary (LOW confidence)
131
+ - [Source] — [finding, needs validation]
132
+
133
+ ---
134
+ *Research completed: [date]*
135
+ *Ready for roadmap: yes*
136
+ ```
137
+
138
+ </template>
139
+
140
+ <guidelines>
141
+
142
+ **Executive Summary:**
143
+ - write for someone who will only read this section
144
+ - Include the key recommendation and main risk
145
+ - 2-3 paragraphs maximum
146
+
147
+ **Key Findings:**
148
+ - Summarize, don't duplicate full documents
149
+ - Link to detailed docs (STACK.md, FEATURES.md, etc.)
150
+ - Focus on what matters for roadmap decisions
151
+
152
+ **Implications for Roadmap:**
153
+ - This is the most important section
154
+ - Directly informs roadmap creation
155
+ - Be explicit about phase suggestions and rationale
156
+ - Include research flags for each suggested phase
157
+
158
+ **Confidence Assessment:**
159
+ - Be honest about uncertainty
160
+ - Note gaps that need resolution during planning
161
+ - HIGH = verified with official sources
162
+ - MEDIUM = community consensus, multiple sources agree
163
+ - LOW = single source or inference
164
+
165
+ **Integration with roadmap creation:**
166
+ - This file is loaded as context during roadmap creation
167
+ - Phase suggestions here become starting point for roadmap
168
+ - Research flags inform phase planning
169
+
170
+ </guidelines>
@@ -189,10 +189,10 @@ Things that couldn't be fully resolved:
189
189
  - [Official docs URL] - [what was checked]
190
190
 
191
191
  ### Secondary (MEDIUM confidence)
192
- - [WebSearch verified with official source] - [finding + verification]
192
+ - [webfetch verified with official source] - [finding + verification]
193
193
 
194
194
  ### Tertiary (LOW confidence - needs validation)
195
- - [WebSearch only] - [finding, marked for validation during implementation]
195
+ - [webfetch only] - [finding, marked for validation during implementation]
196
196
  </sources>
197
197
 
198
198
  <metadata>
@@ -11,15 +11,6 @@ Template for `.planning/ROADMAP.md`.
11
11
 
12
12
  [One paragraph describing the journey from start to finish]
13
13
 
14
- ## Domain Expertise
15
-
16
- [Paths to domain skills that inform planning. These SKILL.md files serve as indexes - during phase planning, read them to find relevant references for each phase type.]
17
-
18
- - ~/.config/opencode/skills/expertise/[domain]/SKILL.md
19
- [Add additional domains if project spans multiple (e.g., ISF shaders + macOS app)]
20
-
21
- Or: None
22
-
23
14
  ## Phases
24
15
 
25
16
  **Phase Numbering:**
@@ -38,7 +29,11 @@ Decimal phases appear between their surrounding integers in numeric order.
38
29
  ### Phase 1: [Name]
39
30
  **Goal**: [What this phase delivers]
40
31
  **Depends on**: Nothing (first phase)
41
- **Research**: Unlikely (established patterns)
32
+ **Requirements**: [REQ-01, REQ-02, REQ-03]
33
+ **Success Criteria** (what must be TRUE):
34
+ 1. [Observable behavior from user perspective]
35
+ 2. [Observable behavior from user perspective]
36
+ 3. [Observable behavior from user perspective]
42
37
  **Plans**: [Number of plans, e.g., "3 plans" or "TBD"]
43
38
 
44
39
  Plans:
@@ -49,8 +44,10 @@ Plans:
49
44
  ### Phase 2: [Name]
50
45
  **Goal**: [What this phase delivers]
51
46
  **Depends on**: Phase 1
52
- **Research**: Likely (new integration)
53
- **Research topics**: [What needs investigating]
47
+ **Requirements**: [REQ-04, REQ-05]
48
+ **Success Criteria** (what must be TRUE):
49
+ 1. [Observable behavior from user perspective]
50
+ 2. [Observable behavior from user perspective]
54
51
  **Plans**: [Number of plans]
55
52
 
56
53
  Plans:
@@ -60,6 +57,8 @@ Plans:
60
57
  ### Phase 2.1: Critical Fix (INSERTED)
61
58
  **Goal**: [Urgent work inserted between phases]
62
59
  **Depends on**: Phase 2
60
+ **Success Criteria** (what must be TRUE):
61
+ 1. [What the fix achieves]
63
62
  **Plans**: 1 plan
64
63
 
65
64
  Plans:
@@ -68,8 +67,11 @@ Plans:
68
67
  ### Phase 3: [Name]
69
68
  **Goal**: [What this phase delivers]
70
69
  **Depends on**: Phase 2
71
- **Research**: Likely (external API)
72
- **Research topics**: [What needs investigating]
70
+ **Requirements**: [REQ-06, REQ-07, REQ-08]
71
+ **Success Criteria** (what must be TRUE):
72
+ 1. [Observable behavior from user perspective]
73
+ 2. [Observable behavior from user perspective]
74
+ 3. [Observable behavior from user perspective]
73
75
  **Plans**: [Number of plans]
74
76
 
75
77
  Plans:
@@ -79,7 +81,10 @@ Plans:
79
81
  ### Phase 4: [Name]
80
82
  **Goal**: [What this phase delivers]
81
83
  **Depends on**: Phase 3
82
- **Research**: Unlikely (internal patterns)
84
+ **Requirements**: [REQ-09, REQ-10]
85
+ **Success Criteria** (what must be TRUE):
86
+ 1. [Observable behavior from user perspective]
87
+ 2. [Observable behavior from user perspective]
83
88
  **Plans**: [Number of plans]
84
89
 
85
90
  Plans:
@@ -108,11 +113,12 @@ Phases execute in numeric order: 2 → 2.1 → 2.2 → 3 → 3.1 → 4
108
113
  - Progress table updated by execute workflow
109
114
  - Plan count can be "TBD" initially, refined during planning
110
115
 
111
- **Research flags:**
112
- - `Research: Likely` - External APIs, new libraries, architectural decisions
113
- - `Research: Unlikely` - Internal patterns, CRUD operations, established conventions
114
- - Include `Research topics:` when Likely
115
- - Flags are hints, not mandates - validate at planning time
116
+ **Success criteria:**
117
+ - 2-5 observable behaviors per phase (from user's perspective)
118
+ - Cross-checked against requirements during roadmap creation
119
+ - Flow downstream to `must_haves` in plan-phase
120
+ - Verified by verify-phase after execution
121
+ - Format: "User can [action]" or "[Thing] works/exists"
116
122
 
117
123
  **After milestones ship:**
118
124
  - Collapse completed milestones in `<details>` tags
@@ -54,12 +54,6 @@ Recent decisions affecting current work:
54
54
  - [Phase X]: [Decision summary]
55
55
  - [Phase Y]: [Decision summary]
56
56
 
57
- ### Deferred Issues
58
-
59
- [From ISSUES.md — list open items with phase of origin]
60
-
61
- None yet.
62
-
63
57
  ### Pending Todos
64
58
 
65
59
  [From .planning/todos/pending/ — ideas captured during sessions]
@@ -86,7 +80,7 @@ STATE.md is the project's short-term memory spanning all phases and sessions.
86
80
  **Problem it solves:** Information is captured in summaries, issues, and decisions but not systematically consumed. Sessions start without context.
87
81
 
88
82
  **Solution:** A single, small file that's:
89
- - Read first in every workflow
83
+ - read first in every workflow
90
84
  - Updated after every significant action
91
85
  - Contains digest of accumulated context
92
86
  - Enables instant session restoration
@@ -110,7 +104,6 @@ STATE.md is the project's short-term memory spanning all phases and sessions.
110
104
  - execute: After SUMMARY.md created
111
105
  - Update position (phase, plan, status)
112
106
  - Note new decisions (detail in PROJECT.md)
113
- - Update deferred issues list
114
107
  - Add blockers/concerns
115
108
  - transition: After phase marked complete
116
109
  - Update progress bar
@@ -152,12 +145,6 @@ Updated after each plan completion.
152
145
 
153
146
  **Decisions:** Reference to PROJECT.md Key Decisions table, plus recent decisions summary for quick access. Full decision log lives in PROJECT.md.
154
147
 
155
- **Deferred Issues:** Open items from ISSUES.md
156
- - Brief description with ISS-XXX number
157
- - Phase where discovered
158
- - Effort estimate if known
159
- - Helps phase planning identify what to address
160
-
161
148
  **Pending Todos:** Ideas captured via /gsd-add-todo
162
149
  - Count of pending todos
163
150
  - Reference to .planning/todos/pending/
@@ -182,7 +169,6 @@ Keep STATE.md under 100 lines.
182
169
 
183
170
  It's a DIGEST, not an archive. If accumulated context grows too large:
184
171
  - Keep only 3-5 recent decisions in summary (full log in PROJECT.md)
185
- - Reference ISSUES.md instead of listing all: "12 open issues — see ISSUES.md"
186
172
  - Keep only active blockers, remove resolved ones
187
173
 
188
174
  The goal is "read once, know where we are" — if it's too long, that fails.
@@ -208,14 +194,13 @@ The goal is "read once, know where we are" — if it's too long, that fails.
208
194
  **Size management:**
209
195
  - Keep under 100 lines total
210
196
  - Recent decisions only in STATE.md (full log in PROJECT.md)
211
- - Reference ISSUES.md instead of listing all issues
212
197
  - Keep only active blockers
213
198
 
214
199
  **Sections:**
215
200
  - Project Reference: Pointer to PROJECT.md with core value
216
201
  - Current Position: Where we are now (phase, plan, status)
217
202
  - Performance Metrics: Velocity tracking
218
- - Accumulated Context: Recent decisions, deferred issues, blockers
203
+ - Accumulated Context: Recent decisions, pending todos, blockers
219
204
  - Session Continuity: Resume information
220
205
 
221
206
  </guidelines>