mindsystem-cc 4.0.4 → 4.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/README.md +30 -22
- package/agents/ms-researcher.md +3 -3
- package/agents/ms-roadmapper.md +11 -6
- package/commands/ms/audit-milestone.md +35 -42
- package/commands/ms/create-roadmap.md +5 -7
- package/commands/ms/help.md +14 -14
- package/commands/ms/new-milestone.md +3 -3
- package/commands/ms/research-milestone.md +339 -0
- package/mindsystem/references/questioning.md +1 -1
- package/mindsystem/references/routing/between-milestones-routing.md +1 -1
- package/mindsystem/templates/milestone-context.md +1 -1
- package/mindsystem/templates/milestone-research.md +89 -0
- package/mindsystem/templates/requirements.md +1 -1
- package/mindsystem/templates/roadmap.md +20 -0
- package/mindsystem/templates/tech-debt.md +4 -4
- package/mindsystem/workflows/complete-milestone.md +4 -4
- package/mindsystem/workflows/define-requirements.md +12 -14
- package/mindsystem/workflows/verify-work.md +14 -49
- package/package.json +1 -1
- package/scripts/ms-tools.py +234 -6
- package/agents/ms-integration-checker.md +0 -424
- package/agents/ms-research-synthesizer.md +0 -248
- package/commands/ms/research-project.md +0 -353
- package/mindsystem/templates/research-project/ARCHITECTURE.md +0 -204
- package/mindsystem/templates/research-project/FEATURES.md +0 -147
- package/mindsystem/templates/research-project/PITFALLS.md +0 -200
- package/mindsystem/templates/research-project/STACK.md +0 -120
- package/mindsystem/templates/research-project/SUMMARY.md +0 -170
- package/mindsystem/templates/research-project-output.md +0 -81
- package/mindsystem/workflows/research-project.md +0 -23
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ms:research-milestone
|
|
3
|
+
description: Research domain ecosystem before creating roadmap
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Bash
|
|
8
|
+
- Task
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Research milestone domain before creating roadmap. Spawns 2-5 adaptive agents based on milestone scope.
|
|
14
|
+
|
|
15
|
+
**Orchestrator role:** Analyze milestone context, determine research dimensions, spawn parallel agents returning text, synthesize into MILESTONE-RESEARCH.md.
|
|
16
|
+
|
|
17
|
+
**Why this exists:** Sits between `/ms:new-milestone` and `/ms:create-roadmap`. Produces a single file the roadmapper consumes to create better phase breakdowns. Research conclusions flow through ROADMAP.md so all downstream phase commands implicitly benefit.
|
|
18
|
+
</objective>
|
|
19
|
+
|
|
20
|
+
<execution_context>
|
|
21
|
+
@~/.claude/mindsystem/templates/milestone-research.md
|
|
22
|
+
</execution_context>
|
|
23
|
+
|
|
24
|
+
<context>
|
|
25
|
+
@.planning/PROJECT.md
|
|
26
|
+
@.planning/MILESTONE-CONTEXT.md (if exists)
|
|
27
|
+
@.planning/config.json (if exists)
|
|
28
|
+
</context>
|
|
29
|
+
|
|
30
|
+
<process>
|
|
31
|
+
|
|
32
|
+
## 1. Validate Prerequisites
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
[ -f .planning/PROJECT.md ] || { echo "ERROR: No PROJECT.md. Run /ms:new-project first."; exit 1; }
|
|
36
|
+
[ -f .planning/MILESTONE-CONTEXT.md ] || { echo "ERROR: No MILESTONE-CONTEXT.md. Run /ms:new-milestone first."; exit 1; }
|
|
37
|
+
[ -f .planning/MILESTONE-RESEARCH.md ] && echo "RESEARCH_EXISTS" || echo "NO_RESEARCH"
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## 2. Handle Existing Research
|
|
41
|
+
|
|
42
|
+
**If RESEARCH_EXISTS:** Use AskUserQuestion:
|
|
43
|
+
- header: "Existing research"
|
|
44
|
+
- question: "MILESTONE-RESEARCH.md already exists. What would you like to do?"
|
|
45
|
+
- options:
|
|
46
|
+
- "View existing" — Show current research
|
|
47
|
+
- "Replace" — Research from scratch (will overwrite)
|
|
48
|
+
- "Cancel" — Keep existing
|
|
49
|
+
|
|
50
|
+
If "View existing": Read and display, then exit.
|
|
51
|
+
If "Cancel": Exit.
|
|
52
|
+
If "Replace": Continue.
|
|
53
|
+
|
|
54
|
+
## 3. Analyze Milestone Scope
|
|
55
|
+
|
|
56
|
+
Read MILESTONE-CONTEXT.md and PROJECT.md. Extract:
|
|
57
|
+
- **Features** — what the milestone aims to build
|
|
58
|
+
- **Open Questions** — unknowns flagged during discovery
|
|
59
|
+
- **Vision** — the "why" behind the milestone
|
|
60
|
+
- **Priorities** — must-have vs nice-to-have
|
|
61
|
+
- **Scope boundaries** — what's excluded
|
|
62
|
+
|
|
63
|
+
Check if this is a brownfield project:
|
|
64
|
+
```bash
|
|
65
|
+
[ -d .planning/codebase ] && echo "BROWNFIELD" || echo "GREENFIELD"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## 4. Determine Research Dimensions
|
|
69
|
+
|
|
70
|
+
Select which agents to spawn based on milestone context:
|
|
71
|
+
|
|
72
|
+
| Dimension | Agent | Spawn when |
|
|
73
|
+
|-----------|-------|------------|
|
|
74
|
+
| Ecosystem/Stack | ms-researcher | Unfamiliar tech, first milestone, or Open Questions mention stack |
|
|
75
|
+
| Product Landscape | ms-product-researcher | User-facing features where competitor analysis adds value |
|
|
76
|
+
| Codebase Feasibility | ms-codebase-researcher | Brownfield project with existing codebase |
|
|
77
|
+
| Architecture/Dependencies | ms-researcher | 3+ features with dependencies, or system design in Open Questions |
|
|
78
|
+
| Pitfalls/Risk | ms-researcher | Unfamiliar domain, external services, complex integrations |
|
|
79
|
+
|
|
80
|
+
Default: lean toward spawning more agents.
|
|
81
|
+
|
|
82
|
+
Present proposed agents to user:
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
Research dimensions for milestone: [Name]
|
|
86
|
+
|
|
87
|
+
Spawning [N] agents:
|
|
88
|
+
1. [Dimension] — [one-line reason]
|
|
89
|
+
2. [Dimension] — [one-line reason]
|
|
90
|
+
...
|
|
91
|
+
|
|
92
|
+
Proceed? (yes / adjust)
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Use AskUserQuestion:
|
|
96
|
+
- header: "Research scope"
|
|
97
|
+
- question: "These agents will research your milestone. Adjust?"
|
|
98
|
+
- options:
|
|
99
|
+
- "Proceed" — Spawn agents as proposed
|
|
100
|
+
- "Add dimension" — I want more coverage
|
|
101
|
+
- "Remove dimension" — Skip some of these
|
|
102
|
+
- "Cancel" — Skip research entirely
|
|
103
|
+
|
|
104
|
+
## 5. Spawn Agents in Parallel
|
|
105
|
+
|
|
106
|
+
Spawn all selected agents in a single message. Each agent receives milestone and project context and returns structured text (no file writes).
|
|
107
|
+
|
|
108
|
+
**Announce:** "Spawning [N] research agents... may take 2-3 minutes."
|
|
109
|
+
|
|
110
|
+
### Ecosystem/Stack Agent (ms-researcher)
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
Task(
|
|
114
|
+
prompt="
|
|
115
|
+
<research_type>
|
|
116
|
+
Milestone Research — Ecosystem/Stack dimension.
|
|
117
|
+
</research_type>
|
|
118
|
+
|
|
119
|
+
<milestone_context>
|
|
120
|
+
[MILESTONE-CONTEXT.md content]
|
|
121
|
+
</milestone_context>
|
|
122
|
+
|
|
123
|
+
<project_context>
|
|
124
|
+
[PROJECT.md summary — core value, constraints, tech stack if known]
|
|
125
|
+
</project_context>
|
|
126
|
+
|
|
127
|
+
<focus>
|
|
128
|
+
Research the technology stack for this milestone scope. Recommend specific libraries with versions and rationale. Flag what NOT to use and why. If the project has an established stack, focus on NEW libraries needed for the milestone features.
|
|
129
|
+
</focus>
|
|
130
|
+
|
|
131
|
+
<output>
|
|
132
|
+
Return findings as structured text. Do NOT write to filesystem.
|
|
133
|
+
Format:
|
|
134
|
+
## ECOSYSTEM/STACK FINDINGS
|
|
135
|
+
### Recommended Stack (technology, version, purpose, rationale)
|
|
136
|
+
### Alternatives Rejected (what, why not, use instead)
|
|
137
|
+
### Version Constraints & Compatibility
|
|
138
|
+
### Confidence (HIGH/MEDIUM/LOW per recommendation with sources)
|
|
139
|
+
</output>
|
|
140
|
+
",
|
|
141
|
+
subagent_type="ms-researcher",
|
|
142
|
+
description="Stack research"
|
|
143
|
+
)
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Product Landscape Agent (ms-product-researcher)
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
Task(
|
|
150
|
+
prompt="
|
|
151
|
+
<milestone_context>
|
|
152
|
+
[MILESTONE-CONTEXT.md content]
|
|
153
|
+
</milestone_context>
|
|
154
|
+
|
|
155
|
+
<project_context>
|
|
156
|
+
[PROJECT.md summary]
|
|
157
|
+
</project_context>
|
|
158
|
+
|
|
159
|
+
<focus>
|
|
160
|
+
Research the product landscape for this milestone's features. What do users expect (table stakes)? What differentiates? What should be deliberately excluded?
|
|
161
|
+
</focus>
|
|
162
|
+
|
|
163
|
+
Return findings as structured text:
|
|
164
|
+
## PRODUCT LANDSCAPE FINDINGS
|
|
165
|
+
### Table Stakes (feature, why users expect it)
|
|
166
|
+
### Differentiators (feature, competitive advantage)
|
|
167
|
+
### Anti-Features (feature, why excluded)
|
|
168
|
+
### Confidence (HIGH/MEDIUM/LOW with sources)
|
|
169
|
+
",
|
|
170
|
+
subagent_type="ms-product-researcher",
|
|
171
|
+
description="Product research"
|
|
172
|
+
)
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Codebase Feasibility Agent (ms-codebase-researcher)
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
Task(
|
|
179
|
+
prompt="
|
|
180
|
+
<objective>
|
|
181
|
+
Analyze codebase feasibility for milestone features.
|
|
182
|
+
</objective>
|
|
183
|
+
|
|
184
|
+
<milestone_context>
|
|
185
|
+
[MILESTONE-CONTEXT.md content]
|
|
186
|
+
</milestone_context>
|
|
187
|
+
|
|
188
|
+
<project_context>
|
|
189
|
+
[PROJECT.md summary]
|
|
190
|
+
</project_context>
|
|
191
|
+
|
|
192
|
+
<focus>
|
|
193
|
+
Assess how the existing codebase supports the milestone's planned features. Identify which components need modification vs creation. Surface feasibility constraints and integration points.
|
|
194
|
+
</focus>
|
|
195
|
+
",
|
|
196
|
+
subagent_type="ms-codebase-researcher",
|
|
197
|
+
description="Codebase feasibility"
|
|
198
|
+
)
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Architecture/Dependencies Agent (ms-researcher)
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
Task(
|
|
205
|
+
prompt="
|
|
206
|
+
<research_type>
|
|
207
|
+
Milestone Research — Architecture/Dependencies dimension.
|
|
208
|
+
</research_type>
|
|
209
|
+
|
|
210
|
+
<milestone_context>
|
|
211
|
+
[MILESTONE-CONTEXT.md content]
|
|
212
|
+
</milestone_context>
|
|
213
|
+
|
|
214
|
+
<project_context>
|
|
215
|
+
[PROJECT.md summary]
|
|
216
|
+
</project_context>
|
|
217
|
+
|
|
218
|
+
<focus>
|
|
219
|
+
Research architecture patterns and component dependencies for this milestone. Determine build order based on dependencies. Identify integration points between components.
|
|
220
|
+
</focus>
|
|
221
|
+
|
|
222
|
+
<output>
|
|
223
|
+
Return findings as structured text. Do NOT write to filesystem.
|
|
224
|
+
Format:
|
|
225
|
+
## ARCHITECTURE FINDINGS
|
|
226
|
+
### Components (name, responsibility)
|
|
227
|
+
### Build Order (sequence with rationale)
|
|
228
|
+
### Integration Points (how components connect)
|
|
229
|
+
### Confidence (HIGH/MEDIUM/LOW with sources)
|
|
230
|
+
</output>
|
|
231
|
+
",
|
|
232
|
+
subagent_type="ms-researcher",
|
|
233
|
+
description="Architecture research"
|
|
234
|
+
)
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Pitfalls/Risk Agent (ms-researcher)
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
Task(
|
|
241
|
+
prompt="
|
|
242
|
+
<research_type>
|
|
243
|
+
Milestone Research — Pitfalls/Risk dimension.
|
|
244
|
+
</research_type>
|
|
245
|
+
|
|
246
|
+
<milestone_context>
|
|
247
|
+
[MILESTONE-CONTEXT.md content]
|
|
248
|
+
</milestone_context>
|
|
249
|
+
|
|
250
|
+
<project_context>
|
|
251
|
+
[PROJECT.md summary]
|
|
252
|
+
</project_context>
|
|
253
|
+
|
|
254
|
+
<focus>
|
|
255
|
+
Research common pitfalls and risks for this milestone's domain and features. For each pitfall: severity, prevention strategy, and which components/phases it affects.
|
|
256
|
+
</focus>
|
|
257
|
+
|
|
258
|
+
<output>
|
|
259
|
+
Return findings as structured text. Do NOT write to filesystem.
|
|
260
|
+
Format:
|
|
261
|
+
## PITFALLS/RISK FINDINGS
|
|
262
|
+
### Pitfalls (pitfall, severity, prevention, affects)
|
|
263
|
+
### Feasibility Assessment (feasible YES/CONDITIONALLY/NO, constraints)
|
|
264
|
+
### Open Questions (needing resolution)
|
|
265
|
+
### Confidence (HIGH/MEDIUM/LOW with sources)
|
|
266
|
+
</output>
|
|
267
|
+
",
|
|
268
|
+
subagent_type="ms-researcher",
|
|
269
|
+
description="Pitfalls research"
|
|
270
|
+
)
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
## 6. Synthesize into MILESTONE-RESEARCH.md
|
|
274
|
+
|
|
275
|
+
After all agents return, synthesize findings into `.planning/MILESTONE-RESEARCH.md` using template.
|
|
276
|
+
|
|
277
|
+
Map agent returns to template sections:
|
|
278
|
+
- Ecosystem/Stack → Technology Decisions
|
|
279
|
+
- Product Landscape → Product Landscape
|
|
280
|
+
- Codebase Feasibility → Feasibility Assessment + Architecture & Dependencies
|
|
281
|
+
- Architecture → Architecture & Dependencies
|
|
282
|
+
- Pitfalls/Risk → Pitfalls & Risks + Feasibility Assessment
|
|
283
|
+
|
|
284
|
+
Write Executive Summary (2-3 paragraphs) synthesizing all findings.
|
|
285
|
+
|
|
286
|
+
Merge overlapping findings. Resolve conflicts by preferring higher-confidence sources.
|
|
287
|
+
|
|
288
|
+
## 7. Present Results and Commit
|
|
289
|
+
|
|
290
|
+
```bash
|
|
291
|
+
git add .planning/MILESTONE-RESEARCH.md
|
|
292
|
+
git commit -m "$(cat <<'EOF'
|
|
293
|
+
docs: complete milestone research
|
|
294
|
+
|
|
295
|
+
Key findings:
|
|
296
|
+
- Stack: [one-liner]
|
|
297
|
+
- Architecture: [one-liner]
|
|
298
|
+
- Critical pitfall: [one-liner]
|
|
299
|
+
EOF
|
|
300
|
+
)"
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
Present summary:
|
|
304
|
+
|
|
305
|
+
```
|
|
306
|
+
Research complete:
|
|
307
|
+
|
|
308
|
+
File: .planning/MILESTONE-RESEARCH.md
|
|
309
|
+
|
|
310
|
+
Key findings:
|
|
311
|
+
- Stack: [one-liner]
|
|
312
|
+
- Architecture: [one-liner]
|
|
313
|
+
- Critical pitfall: [one-liner]
|
|
314
|
+
- Feasibility: [YES/CONDITIONALLY/NO]
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
## ▶ Next Up
|
|
318
|
+
`/ms:create-roadmap` — define requirements and create roadmap
|
|
319
|
+
<sub>`/clear` first → fresh context window</sub>
|
|
320
|
+
---
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
## 8. Update Last Command
|
|
324
|
+
|
|
325
|
+
```bash
|
|
326
|
+
ms-tools set-last-command "ms:research-milestone"
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
</process>
|
|
330
|
+
|
|
331
|
+
<success_criteria>
|
|
332
|
+
- [ ] PROJECT.md and MILESTONE-CONTEXT.md validated
|
|
333
|
+
- [ ] Research dimensions determined and approved by user
|
|
334
|
+
- [ ] 2-5 agents spawned in parallel (adaptive selection)
|
|
335
|
+
- [ ] All agent results received and synthesized
|
|
336
|
+
- [ ] MILESTONE-RESEARCH.md created using template
|
|
337
|
+
- [ ] Research committed to git
|
|
338
|
+
- [ ] User routed to /ms:create-roadmap
|
|
339
|
+
</success_criteria>
|
|
@@ -16,7 +16,7 @@ Don't interrogate. Collaborate. Don't follow a script. Follow the thread.
|
|
|
16
16
|
|
|
17
17
|
By the end of questioning, you need enough clarity to write a PROJECT.md that downstream phases can act on:
|
|
18
18
|
|
|
19
|
-
- **research-
|
|
19
|
+
- **research-milestone** needs: product domain, target audience, core problem, what unknowns exist
|
|
20
20
|
- **create-roadmap** needs: clear vision with business context grounding — who it's for, what problem it solves, how it's different — to decompose into phases
|
|
21
21
|
- **plan-phase** needs: audience context for task weighting, specific requirements for implementation choices
|
|
22
22
|
- **discuss-phase** needs: business context for PO-style analysis — audience, problem, differentiation inform scope recommendations
|
|
@@ -36,7 +36,7 @@ Ready to plan the next milestone.
|
|
|
36
36
|
|
|
37
37
|
**Next milestone flow:**
|
|
38
38
|
1. `/ms:new-milestone` — discover what to build, update PROJECT.md
|
|
39
|
-
2. `/ms:research-
|
|
39
|
+
2. `/ms:research-milestone` — (optional) research ecosystem
|
|
40
40
|
3. `/ms:create-roadmap` — plan how to build it
|
|
41
41
|
|
|
42
42
|
---
|
|
@@ -69,7 +69,7 @@ Empty section if none — that's fine.]
|
|
|
69
69
|
- If user didn't express priorities, derive from emphasis during conversation
|
|
70
70
|
|
|
71
71
|
**Open Questions:**
|
|
72
|
-
- Feed into `/ms:research-
|
|
72
|
+
- Feed into `/ms:research-milestone` if research is needed
|
|
73
73
|
- Empty section is fine — not every milestone has unknowns
|
|
74
74
|
- Questions should be specific enough to research
|
|
75
75
|
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Milestone Research Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/MILESTONE-RESEARCH.md` — milestone-scoped research between `/ms:new-milestone` and `/ms:create-roadmap`.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Inform the roadmapper with technology decisions, product landscape, architecture constraints, and risk assessment. Each section maps to a specific roadmapper decision.
|
|
6
|
+
|
|
7
|
+
**Created by:** `/ms:research-milestone` command
|
|
8
|
+
|
|
9
|
+
**Consumed by:** `ms-roadmapper` agent during `/ms:create-roadmap`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Template
|
|
14
|
+
|
|
15
|
+
```markdown
|
|
16
|
+
# Milestone Research: [Name]
|
|
17
|
+
|
|
18
|
+
**Generated:** [date]
|
|
19
|
+
**Source:** /ms:research-milestone
|
|
20
|
+
|
|
21
|
+
## Executive Summary
|
|
22
|
+
[2-3 paragraphs: what type of problem, recommended approach, key risks]
|
|
23
|
+
|
|
24
|
+
## Technology Decisions
|
|
25
|
+
### Recommended Stack
|
|
26
|
+
| Technology | Version | Purpose | Rationale |
|
|
27
|
+
|------------|---------|---------|-----------|
|
|
28
|
+
| [lib] | [ver] | [what it does] | [why this choice] |
|
|
29
|
+
|
|
30
|
+
### Alternatives Rejected
|
|
31
|
+
| Rejected | Reason | Use Instead |
|
|
32
|
+
|----------|--------|-------------|
|
|
33
|
+
| [lib] | [why not] | [recommendation] |
|
|
34
|
+
|
|
35
|
+
## Product Landscape
|
|
36
|
+
### Table Stakes
|
|
37
|
+
- [Feature]: [why users expect this]
|
|
38
|
+
|
|
39
|
+
### Differentiators
|
|
40
|
+
- [Feature]: [competitive advantage]
|
|
41
|
+
|
|
42
|
+
### Anti-Features
|
|
43
|
+
- [Feature]: [why deliberately excluded]
|
|
44
|
+
|
|
45
|
+
## Architecture & Dependencies
|
|
46
|
+
### Components
|
|
47
|
+
- [Component]: [responsibility]
|
|
48
|
+
|
|
49
|
+
### Build Order
|
|
50
|
+
1. [First]: [rationale — what it unblocks]
|
|
51
|
+
2. [Second]: [rationale]
|
|
52
|
+
|
|
53
|
+
### Integration Points
|
|
54
|
+
- [Integration]: [how components connect]
|
|
55
|
+
|
|
56
|
+
## Feasibility Assessment
|
|
57
|
+
### Feasible: [YES/CONDITIONALLY/NO]
|
|
58
|
+
### Constraints
|
|
59
|
+
- [Constraint and impact]
|
|
60
|
+
|
|
61
|
+
### Open Questions
|
|
62
|
+
- [Question needing resolution before or during implementation]
|
|
63
|
+
|
|
64
|
+
## Pitfalls & Risks
|
|
65
|
+
| Pitfall | Severity | Prevention | Affects |
|
|
66
|
+
|---------|----------|------------|---------|
|
|
67
|
+
| [risk] | [HIGH/MEDIUM/LOW] | [how to avoid] | [which phases/components] |
|
|
68
|
+
|
|
69
|
+
## Sources
|
|
70
|
+
### HIGH Confidence
|
|
71
|
+
- [Source]: [what it verified]
|
|
72
|
+
|
|
73
|
+
### MEDIUM Confidence
|
|
74
|
+
- [Source]: [what it informed]
|
|
75
|
+
|
|
76
|
+
### LOW Confidence
|
|
77
|
+
- [Source]: [what it suggested — needs validation]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Section-to-Roadmapper Mapping
|
|
81
|
+
|
|
82
|
+
| Section | Roadmapper Decision |
|
|
83
|
+
|---------|-------------------|
|
|
84
|
+
| Technology Decisions | Phase content — what tools each phase uses |
|
|
85
|
+
| Product Landscape | Requirements derivation — table stakes = v1 candidates |
|
|
86
|
+
| Architecture & Dependencies | Phase ordering — build order drives phase sequence |
|
|
87
|
+
| Feasibility Assessment | Phase boundaries and constraints |
|
|
88
|
+
| Pitfalls & Risks | Pre-work Research indicators per phase |
|
|
89
|
+
| Open Questions | Per-phase Research topics |
|
|
@@ -82,7 +82,7 @@ Which phases cover which requirements. Updated by create-roadmap.
|
|
|
82
82
|
- Checkbox: Only for v1 requirements (v2 are not yet actionable)
|
|
83
83
|
|
|
84
84
|
**Categories:**
|
|
85
|
-
- Derive from
|
|
85
|
+
- Derive from MILESTONE-RESEARCH.md Product Landscape categories
|
|
86
86
|
- Keep consistent with domain conventions
|
|
87
87
|
- Typical: Authentication, Content, Social, Notifications, Moderation, Payments, Admin
|
|
88
88
|
|
|
@@ -11,6 +11,21 @@ Template for `.planning/ROADMAP.md`.
|
|
|
11
11
|
|
|
12
12
|
[One paragraph describing the journey from start to finish]
|
|
13
13
|
|
|
14
|
+
## Research Conclusions
|
|
15
|
+
[Present only when /ms:research-milestone informed the roadmap]
|
|
16
|
+
|
|
17
|
+
### Technology Stack
|
|
18
|
+
- [Technology]: [purpose] — [rationale]
|
|
19
|
+
|
|
20
|
+
### Key Constraints
|
|
21
|
+
- [Constraint and impact]
|
|
22
|
+
|
|
23
|
+
### Architecture Decisions
|
|
24
|
+
- [Decision and rationale]
|
|
25
|
+
|
|
26
|
+
### Risk Mitigations
|
|
27
|
+
- Phase [N]: [pitfall] — [prevention]
|
|
28
|
+
|
|
14
29
|
## Phases
|
|
15
30
|
|
|
16
31
|
**Phase Numbering:**
|
|
@@ -122,6 +137,11 @@ Phases execute in numeric order: 2 → 2.1 → 2.2 → 3 → 3.1 → 4
|
|
|
122
137
|
```
|
|
123
138
|
|
|
124
139
|
<guidelines>
|
|
140
|
+
**Research Conclusions section:**
|
|
141
|
+
- Populated by roadmapper when MILESTONE-RESEARCH.md exists
|
|
142
|
+
- Downstream commands (plan-phase, discuss-phase, research-phase) consume this implicitly by reading ROADMAP.md
|
|
143
|
+
- Omitted entirely when no milestone research was performed
|
|
144
|
+
|
|
125
145
|
**Initial planning:**
|
|
126
146
|
- Phase count derived from actual work (not a target number)
|
|
127
147
|
- Each phase delivers something coherent
|
|
@@ -10,7 +10,7 @@ Created and updated by `/ms:audit-milestone`. Items persist across milestones. U
|
|
|
10
10
|
|
|
11
11
|
**Item IDs** use `TD-{N}` format — monotonically increasing, never reused. New items continue from highest existing ID.
|
|
12
12
|
|
|
13
|
-
**Sources:** Phase verifications (anti-patterns, non-critical gaps), code review findings,
|
|
13
|
+
**Sources:** Phase verifications (anti-patterns, non-critical gaps), code review findings, cross-phase wiring gaps, unfixed UAT issues.
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
@@ -30,7 +30,7 @@ Created and updated by `/ms:audit-milestone`. Items persist across milestones. U
|
|
|
30
30
|
- **Location:** {file:line or component}
|
|
31
31
|
- **Impact:** {what this causes and why it matters}
|
|
32
32
|
- **Fix:** {how to address}
|
|
33
|
-
- <sub>Phase {source phase} | {verification |
|
|
33
|
+
- <sub>Phase {source phase} | {verification | wiring-check | code-review} | v{milestone}</sub>
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
|
@@ -47,13 +47,13 @@ Created and updated by `/ms:audit-milestone`. Items persist across milestones. U
|
|
|
47
47
|
## Guidelines
|
|
48
48
|
|
|
49
49
|
**Severity levels:**
|
|
50
|
-
- `Critical` — Breaks behavior or risks data loss.
|
|
50
|
+
- `Critical` — Breaks behavior or risks data loss. Cross-phase wiring gaps (broken cross-phase connections, orphaned artifacts spanning phases) always map here.
|
|
51
51
|
- `High` — Causes cascading changes if left unaddressed. Fragile patterns that spread to new code, missing abstractions forcing workarounds.
|
|
52
52
|
- `Medium` — Contained friction. TODOs, missing validation, incomplete error handling. Impact stays local.
|
|
53
53
|
- `Low` — Won't compound. Style inconsistencies, minor naming issues, improvement opportunities.
|
|
54
54
|
|
|
55
55
|
**Severity mapping from sources:**
|
|
56
|
-
-
|
|
56
|
+
- Cross-phase wiring gaps → Critical
|
|
57
57
|
- Unfixed UAT issues → Critical (blocker) / High (major) / Medium (minor) / Low (cosmetic)
|
|
58
58
|
- Code review findings → pass through reviewer severity (High/Medium/Low)
|
|
59
59
|
- Phase verification anti-patterns → Medium or Low (blockers go to `gaps`, not tech debt)
|
|
@@ -538,7 +538,7 @@ Archived to milestones/{slug}/:
|
|
|
538
538
|
- phases/ (phase directories moved from .planning/phases/)
|
|
539
539
|
- MILESTONE-AUDIT.md (if audit was run)
|
|
540
540
|
- CONTEXT.md (if milestone context existed)
|
|
541
|
-
-
|
|
541
|
+
- MILESTONE-RESEARCH.md (if existed)
|
|
542
542
|
|
|
543
543
|
Cleaned:
|
|
544
544
|
- Raw phase artifacts deleted (CONTEXT, DESIGN, RESEARCH, SUMMARY, UAT, VERIFICATION, EXECUTION-ORDER)
|
|
@@ -548,7 +548,7 @@ Cleaned:
|
|
|
548
548
|
Deleted (fresh for next milestone):
|
|
549
549
|
- ROADMAP.md
|
|
550
550
|
- REQUIREMENTS.md
|
|
551
|
-
- .
|
|
551
|
+
- MILESTONE-RESEARCH.md (archived to milestone)
|
|
552
552
|
|
|
553
553
|
Updated:
|
|
554
554
|
- MILESTONES.md (new entry)
|
|
@@ -574,7 +574,7 @@ Shipped:
|
|
|
574
574
|
Archived to milestones/{slug}/:
|
|
575
575
|
- ROADMAP.md
|
|
576
576
|
- REQUIREMENTS.md
|
|
577
|
-
-
|
|
577
|
+
- MILESTONE-RESEARCH.md (if existed)
|
|
578
578
|
|
|
579
579
|
Summary: .planning/MILESTONES.md
|
|
580
580
|
|
|
@@ -590,7 +590,7 @@ Summary: .planning/MILESTONES.md
|
|
|
590
590
|
|
|
591
591
|
**Next milestone flow:**
|
|
592
592
|
1. `/ms:new-milestone` — discover what to build, update PROJECT.md with goals
|
|
593
|
-
2. `/ms:research-
|
|
593
|
+
2. `/ms:research-milestone` — (optional) research ecosystem
|
|
594
594
|
3. `/ms:create-roadmap` — define requirements and plan how to build it
|
|
595
595
|
|
|
596
596
|
---
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Define concrete, checkable requirements for v1.
|
|
3
3
|
|
|
4
4
|
Two modes:
|
|
5
|
-
1. **With research** — Transform
|
|
5
|
+
1. **With research** — Transform MILESTONE-RESEARCH.md Product Landscape into scoped requirements
|
|
6
6
|
2. **Without research** — Gather requirements through questioning
|
|
7
7
|
</purpose>
|
|
8
8
|
|
|
@@ -11,8 +11,7 @@ Two modes:
|
|
|
11
11
|
|
|
12
12
|
1. ~/.claude/mindsystem/templates/requirements.md
|
|
13
13
|
2. .planning/PROJECT.md
|
|
14
|
-
3. .planning/
|
|
15
|
-
4. .planning/research/SUMMARY.md (if exists)
|
|
14
|
+
3. .planning/MILESTONE-RESEARCH.md (if exists)
|
|
16
15
|
</required_reading>
|
|
17
16
|
|
|
18
17
|
<process>
|
|
@@ -20,7 +19,7 @@ Two modes:
|
|
|
20
19
|
<step name="detect_mode">
|
|
21
20
|
Check for research:
|
|
22
21
|
```bash
|
|
23
|
-
[ -f .planning/
|
|
22
|
+
[ -f .planning/MILESTONE-RESEARCH.md ] && echo "HAS_RESEARCH" || echo "NO_RESEARCH"
|
|
24
23
|
```
|
|
25
24
|
|
|
26
25
|
**If HAS_RESEARCH:** Follow steps load_context → present_features → scope_categories
|
|
@@ -33,17 +32,16 @@ Read PROJECT.md and extract:
|
|
|
33
32
|
- Stated constraints (budget, timeline, tech limitations)
|
|
34
33
|
- Any explicit scope boundaries from project definition
|
|
35
34
|
|
|
36
|
-
Read
|
|
35
|
+
Read MILESTONE-RESEARCH.md and extract from Product Landscape:
|
|
37
36
|
- Table stakes (users expect these)
|
|
38
37
|
- Differentiators (competitive advantage)
|
|
39
38
|
- Anti-features (commonly requested, often problematic)
|
|
40
|
-
- Feature dependencies
|
|
41
|
-
- MVP vs full product recommendations
|
|
42
39
|
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
40
|
+
Extract from other sections:
|
|
41
|
+
- Technology constraints and decisions
|
|
42
|
+
- Architecture dependencies
|
|
43
|
+
- Feasibility constraints
|
|
44
|
+
- Key risks and pitfalls
|
|
47
45
|
</step>
|
|
48
46
|
|
|
49
47
|
<step name="load_project" mode="without_research">
|
|
@@ -105,7 +103,7 @@ Here are the features for [domain]:
|
|
|
105
103
|
- OAuth (Google, GitHub)
|
|
106
104
|
- 2FA
|
|
107
105
|
|
|
108
|
-
**Research notes:** [any relevant notes from
|
|
106
|
+
**Research notes:** [any relevant notes from MILESTONE-RESEARCH.md]
|
|
109
107
|
|
|
110
108
|
---
|
|
111
109
|
|
|
@@ -114,8 +112,8 @@ Here are the features for [domain]:
|
|
|
114
112
|
```
|
|
115
113
|
|
|
116
114
|
For each category, include:
|
|
117
|
-
- Table stakes from
|
|
118
|
-
- Differentiators from
|
|
115
|
+
- Table stakes from MILESTONE-RESEARCH.md
|
|
116
|
+
- Differentiators from MILESTONE-RESEARCH.md
|
|
119
117
|
- Any anti-features flagged (with warnings)
|
|
120
118
|
- Complexity notes where relevant
|
|
121
119
|
</step>
|