mindsystem-cc 3.10.0 → 3.11.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 (47) hide show
  1. package/README.md +3 -6
  2. package/agents/ms-designer.md +8 -8
  3. package/agents/ms-executor.md +14 -163
  4. package/agents/ms-plan-checker.md +2 -3
  5. package/agents/ms-plan-writer.md +5 -11
  6. package/agents/ms-roadmapper.md +101 -16
  7. package/agents/ms-verify-fixer.md +1 -1
  8. package/commands/ms/complete-milestone.md +1 -1
  9. package/commands/ms/create-roadmap.md +126 -56
  10. package/commands/ms/design-phase.md +12 -10
  11. package/commands/ms/execute-phase.md +0 -9
  12. package/commands/ms/help.md +24 -35
  13. package/commands/ms/new-milestone.md +184 -80
  14. package/commands/ms/new-project.md +3 -3
  15. package/commands/ms/research-project.md +2 -2
  16. package/commands/ms/review-design.md +9 -5
  17. package/commands/ms/verify-work.md +1 -1
  18. package/mindsystem/references/continuation-format.md +2 -3
  19. package/mindsystem/references/design-directions.md +1 -1
  20. package/mindsystem/references/mock-patterns.md +48 -0
  21. package/mindsystem/references/plan-format.md +2 -129
  22. package/mindsystem/references/routing/between-milestones-routing.md +5 -7
  23. package/mindsystem/references/scope-estimation.md +3 -3
  24. package/mindsystem/templates/config.json +0 -2
  25. package/mindsystem/templates/design.md +1 -1
  26. package/mindsystem/templates/milestone-context.md +76 -0
  27. package/mindsystem/templates/phase-prompt.md +6 -142
  28. package/mindsystem/templates/summary.md +24 -0
  29. package/mindsystem/workflows/complete-milestone.md +27 -8
  30. package/mindsystem/workflows/execute-phase.md +35 -124
  31. package/mindsystem/workflows/execute-plan.md +12 -517
  32. package/mindsystem/workflows/generate-mocks.md +74 -0
  33. package/mindsystem/workflows/mockup-generation.md +1 -1
  34. package/mindsystem/workflows/plan-phase.md +7 -24
  35. package/mindsystem/workflows/verify-work.md +97 -17
  36. package/package.json +1 -1
  37. package/scripts/__pycache__/compare_mockups.cpython-314.pyc +0 -0
  38. package/scripts/compare_mockups.py +219 -0
  39. package/skills/flutter-code-quality/SKILL.md +1 -1
  40. package/skills/flutter-code-simplification/SKILL.md +1 -1
  41. package/skills/flutter-senior-review/AGENTS.md +1 -1
  42. package/skills/flutter-senior-review/SKILL.md +1 -1
  43. package/commands/ms/define-requirements.md +0 -128
  44. package/mindsystem/references/checkpoint-detection.md +0 -50
  45. package/mindsystem/references/checkpoints.md +0 -788
  46. package/mindsystem/workflows/create-milestone.md +0 -243
  47. package/mindsystem/workflows/discuss-milestone.md +0 -310
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ms:create-roadmap
3
- description: Create roadmap with phases for the project
3
+ description: Define requirements and create roadmap with phases
4
4
  allowed-tools:
5
5
  - Read
6
6
  - Write
@@ -11,17 +11,19 @@ allowed-tools:
11
11
  ---
12
12
 
13
13
  <objective>
14
- Create project roadmap with phase breakdown.
14
+ Define project requirements and create roadmap with phase breakdown.
15
15
 
16
- Roadmaps define what work happens in what order. Phases map to requirements.
16
+ Derives REQUIREMENTS.md from MILESTONE-CONTEXT.md (or through lightweight questioning for first milestones), then maps requirements to phases.
17
17
 
18
- Run after `/ms:define-requirements`.
18
+ Run after `/ms:new-milestone` or `/ms:new-project` + optional `/ms:research-project`.
19
19
 
20
- **Improvement:** Spawns ms-roadmapper agent for heavy lifting, presents roadmap for approval before committing.
20
+ **How it works:** Spawns ms-roadmapper agent which derives requirements AND creates roadmap in one pass, then presents combined results for approval.
21
21
  </objective>
22
22
 
23
23
  <execution_context>
24
24
  @~/.claude/mindsystem/references/principles.md
25
+ @~/.claude/mindsystem/workflows/define-requirements.md
26
+ @~/.claude/mindsystem/templates/requirements.md
25
27
  @~/.claude/mindsystem/templates/roadmap.md
26
28
  @~/.claude/mindsystem/templates/state.md
27
29
  @~/.claude/mindsystem/references/goal-backward.md
@@ -30,7 +32,8 @@ Run after `/ms:define-requirements`.
30
32
  <context>
31
33
  @.planning/PROJECT.md
32
34
  @.planning/config.json
33
- @.planning/REQUIREMENTS.md
35
+ @.planning/MILESTONE-CONTEXT.md (if exists)
36
+ @.planning/research/FEATURES.md (if exists)
34
37
  @.planning/research/SUMMARY.md (if exists)
35
38
  </context>
36
39
 
@@ -41,32 +44,58 @@ Run after `/ms:define-requirements`.
41
44
  # Verify project exists
42
45
  [ -f .planning/PROJECT.md ] || { echo "ERROR: No PROJECT.md found. Run /ms:new-project first."; exit 1; }
43
46
 
44
- # Verify requirements exist
45
- [ -f .planning/REQUIREMENTS.md ] || { echo "ERROR: No REQUIREMENTS.md found. Run /ms:define-requirements first."; exit 1; }
47
+ # Detect available context
48
+ [ -f .planning/MILESTONE-CONTEXT.md ] && echo "HAS_MILESTONE_CONTEXT" || echo "NO_MILESTONE_CONTEXT"
49
+ [ -d .planning/research ] && echo "HAS_RESEARCH" || echo "NO_RESEARCH"
50
+ [ -f .planning/REQUIREMENTS.md ] && echo "REQUIREMENTS_EXISTS" || echo "NO_REQUIREMENTS"
51
+ [ -f .planning/ROADMAP.md ] && echo "ROADMAP_EXISTS" || echo "NO_ROADMAP"
46
52
  ```
47
53
  </step>
48
54
 
49
55
  <step name="check_existing">
50
- Check if roadmap already exists:
56
+ Check if requirements or roadmap already exist:
51
57
 
52
- ```bash
53
- [ -f .planning/ROADMAP.md ] && echo "ROADMAP_EXISTS" || echo "NO_ROADMAP"
54
- ```
55
-
56
- **If ROADMAP_EXISTS:**
58
+ **If REQUIREMENTS_EXISTS or ROADMAP_EXISTS:**
57
59
  Use AskUserQuestion:
58
- - header: "Roadmap exists"
59
- - question: "A roadmap already exists. What would you like to do?"
60
+ - header: "Files exist"
61
+ - question: "Existing planning files found. What would you like to do?"
60
62
  - options:
61
- - "View existing" — Show current roadmap
62
- - "Replace" — Create new roadmap (will overwrite)
63
- - "Cancel" — Keep existing roadmap
63
+ - "View existing" — Show current files
64
+ - "Replace" — Define requirements and create roadmap fresh (will overwrite)
65
+ - "Cancel" — Keep existing files
64
66
 
65
- If "View existing": `cat .planning/ROADMAP.md` and exit
67
+ If "View existing": Read and display existing files, then exit
66
68
  If "Cancel": Exit
67
69
  If "Replace": Continue
68
70
  </step>
69
71
 
72
+ <step name="gather_context">
73
+ **Thin path — only when no MILESTONE-CONTEXT.md and no research exist.**
74
+
75
+ **If MILESTONE-CONTEXT.md exists:** Skip (context ready for agent).
76
+
77
+ **If no MILESTONE-CONTEXT.md but HAS_RESEARCH:** Skip (research provides feature context).
78
+
79
+ **If neither exists (first milestone, no research):**
80
+
81
+ Lightweight questioning in main context to gather enough feature context for the agent:
82
+
83
+ 1. Read PROJECT.md for core value and stated requirements/constraints
84
+ 2. Ask inline: "What are the main things users need to do in v1?"
85
+ 3. For each capability mentioned, probe for specifics with AskUserQuestion
86
+ 4. Ask about scope boundaries: "Anything you explicitly want to exclude?"
87
+ 5. Ask about priorities: "What's most important to get right first?"
88
+
89
+ Capture responses as gathered context to pass to the agent.
90
+
91
+ Use AskUserQuestion before spawning:
92
+ - header: "Ready?"
93
+ - question: "Ready to generate requirements and roadmap from this context?"
94
+ - options:
95
+ - "Generate" — Spawn agent with gathered context
96
+ - "Add more" — I want to share more details
97
+ </step>
98
+
70
99
  <step name="spawn_roadmapper">
71
100
  **Calculate starting phase number:**
72
101
 
@@ -96,12 +125,14 @@ Task(
96
125
  **Project:**
97
126
  @.planning/PROJECT.md
98
127
 
99
- **Requirements:**
100
- @.planning/REQUIREMENTS.md
128
+ **Milestone context:**
129
+ {If MILESTONE-CONTEXT.md exists: @.planning/MILESTONE-CONTEXT.md}
130
+ {If no MILESTONE-CONTEXT.md: gathered context from questioning step}
101
131
 
102
132
  **Starting phase number:** $START_PHASE
103
133
 
104
134
  **Research (if exists):**
135
+ @.planning/research/FEATURES.md
105
136
  @.planning/research/SUMMARY.md
106
137
 
107
138
  **Config:**
@@ -110,19 +141,19 @@ Task(
110
141
  </planning_context>
111
142
 
112
143
  <instructions>
113
- Create roadmap:
114
- 1. Derive phases from requirements (don't impose structure)
115
- 2. **Start phase numbering at $START_PHASE** (not 1, unless this is the first milestone)
116
- 3. Map every v1 requirement to exactly one phase
117
- 4. Derive 2-5 success criteria per phase (observable user behaviors)
118
- 5. Validate 100% coverage
119
- 6. Write files immediately (ROADMAP.md, STATE.md, update REQUIREMENTS.md traceability)
120
- 7. Return ROADMAP CREATED with summary
144
+ 1. Derive REQUIREMENTS.md from milestone context (apply requirements_derivation process)
145
+ 2. Derive phases from those requirements (don't impose structure)
146
+ 3. **Start phase numbering at $START_PHASE** (not 1, unless this is the first milestone)
147
+ 4. Map every v1 requirement to exactly one phase
148
+ 5. Derive 2-5 success criteria per phase (observable user behaviors)
149
+ 6. Validate 100% coverage
150
+ 7. Write files immediately (REQUIREMENTS.md, ROADMAP.md, STATE.md)
151
+ 8. Return ROADMAP CREATED with combined requirements + roadmap summary
121
152
 
122
153
  Write files first, then return. This ensures artifacts persist even if context is lost.
123
154
  </instructions>
124
155
  """,
125
- description="Create roadmap"
156
+ description="Derive requirements and create roadmap"
126
157
  )
127
158
  ```
128
159
  </step>
@@ -135,14 +166,31 @@ Write files first, then return. This ensures artifacts persist even if context i
135
166
 
136
167
  **If `## ROADMAP CREATED`:**
137
168
 
138
- Read the created ROADMAP.md and present it inline:
169
+ Read the created REQUIREMENTS.md and ROADMAP.md and present both inline:
139
170
 
140
171
  ```
141
172
  ---
142
173
 
143
- ## Proposed Roadmap
174
+ ## Requirements & Roadmap
175
+
176
+ ### v1 Requirements
177
+
178
+ **{X} requirements** across {N} categories
179
+
180
+ {For each category:}
181
+ **{Category}**
182
+ - [ ] **{REQ-ID}**: {description}
183
+ - [ ] **{REQ-ID}**: {description}
184
+
185
+ {If v2 requirements exist:}
186
+ **v2 (deferred):** {count} requirements
187
+ **Out of scope:** {count} exclusions
188
+
189
+ ---
190
+
191
+ ### Roadmap
144
192
 
145
- **[N] phases** | **[X] requirements mapped** | All v1 requirements covered ✓
193
+ **{M} phases** | All v1 requirements covered ✓
146
194
 
147
195
  | # | Phase | Goal | Requirements | Success Criteria |
148
196
  |---|-------|------|--------------|------------------|
@@ -161,15 +209,6 @@ Success criteria:
161
209
  Pre-work: Research [Likely/Unlikely] | Discuss [Likely/Unlikely] | Design [Likely/Unlikely]
162
210
  {If any Likely: topics/focus on next line}
163
211
 
164
- **Phase 2: [Name]**
165
- Goal: [goal]
166
- Requirements: [REQ-IDs]
167
- Success criteria:
168
- 1. [criterion]
169
- 2. [criterion]
170
- Pre-work: Research [Likely/Unlikely] | Discuss [Likely/Unlikely] | Design [Likely/Unlikely]
171
- {If any Likely: topics/focus on next line}
172
-
173
212
  [... continue for all phases ...]
174
213
 
175
214
  ---
@@ -181,14 +220,40 @@ Pre-work: Research [Likely/Unlikely] | Discuss [Likely/Unlikely] | Design [Likel
181
220
 
182
221
  Use AskUserQuestion:
183
222
  - header: "Roadmap"
184
- - question: "Does this roadmap structure work for you?"
223
+ - question: "Do these requirements and roadmap work for you?"
185
224
  - options:
186
225
  - "Approve" — Commit and continue
187
- - "Adjust phases" — Tell me what to change
188
- - "Review full file" — Show raw ROADMAP.md
226
+ - "Adjust requirements" — Change what's in/out of scope
227
+ - "Adjust phases" — Change phase structure
228
+ - "Review full files" — Show raw REQUIREMENTS.md and ROADMAP.md
189
229
 
190
230
  **If "Approve":** Continue to commit step.
191
231
 
232
+ **If "Adjust requirements":**
233
+ - Get user's adjustment notes (ask inline what they want to change)
234
+ - Re-spawn roadmapper with revision context:
235
+ ```
236
+ Task(
237
+ subagent_type="ms-roadmapper",
238
+ prompt="""
239
+ <revision>
240
+ User feedback on requirements:
241
+ [user's notes]
242
+
243
+ Current REQUIREMENTS.md: @.planning/REQUIREMENTS.md
244
+ Current ROADMAP.md: @.planning/ROADMAP.md
245
+
246
+ Update requirements based on feedback, then re-derive phases if needed.
247
+ Edit files in place.
248
+ Return ROADMAP REVISED with changes made.
249
+ </revision>
250
+ """,
251
+ description="Revise requirements and roadmap"
252
+ )
253
+ ```
254
+ - Present revised output
255
+ - Loop until user approves
256
+
192
257
  **If "Adjust phases":**
193
258
  - Get user's adjustment notes (ask inline what they want to change)
194
259
  - Re-spawn roadmapper with revision context:
@@ -197,9 +262,10 @@ Use AskUserQuestion:
197
262
  subagent_type="ms-roadmapper",
198
263
  prompt="""
199
264
  <revision>
200
- User feedback on roadmap:
265
+ User feedback on roadmap phases:
201
266
  [user's notes]
202
267
 
268
+ Current REQUIREMENTS.md: @.planning/REQUIREMENTS.md
203
269
  Current ROADMAP.md: @.planning/ROADMAP.md
204
270
 
205
271
  Update the roadmap based on feedback. Edit files in place.
@@ -212,16 +278,19 @@ Return ROADMAP REVISED with changes made.
212
278
  - Present revised roadmap
213
279
  - Loop until user approves
214
280
 
215
- **If "Review full file":** Display raw `cat .planning/ROADMAP.md`, then re-ask approval.
281
+ **If "Review full files":** Display raw REQUIREMENTS.md and ROADMAP.md, then re-ask approval.
216
282
  </step>
217
283
 
218
284
  <step name="commit">
219
285
  After user approval:
220
286
 
221
287
  ```bash
222
- git add .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md
288
+ git add .planning/REQUIREMENTS.md .planning/ROADMAP.md .planning/STATE.md
223
289
  git commit -m "$(cat <<'EOF'
224
- docs: create roadmap ([N] phases)
290
+ docs: define requirements and create roadmap
291
+
292
+ [X] v1 requirements across [N] categories.
293
+ [M] phases mapped to requirements.
225
294
 
226
295
  Phases:
227
296
  1. [phase-name]: [requirements covered]
@@ -236,11 +305,12 @@ EOF
236
305
 
237
306
  <step name="done">
238
307
  ```
239
- Roadmap created:
308
+ Requirements and roadmap created:
240
309
 
310
+ - Requirements: .planning/REQUIREMENTS.md
241
311
  - Roadmap: .planning/ROADMAP.md
242
312
  - State: .planning/STATE.md
243
- - [N] phases defined
313
+ - [X] v1 requirements, [M] phases defined
244
314
 
245
315
  ---
246
316
 
@@ -273,12 +343,12 @@ Update `.planning/STATE.md` Last Command field:
273
343
 
274
344
  <success_criteria>
275
345
  - [ ] PROJECT.md validated
276
- - [ ] REQUIREMENTS.md validated
346
+ - [ ] Context gathered (from MILESTONE-CONTEXT.md, research, or questioning)
277
347
  - [ ] ms-roadmapper spawned with context
348
+ - [ ] REQUIREMENTS.md created with REQ-IDs and scope classification
278
349
  - [ ] All v1 requirements mapped to phases (no orphans)
279
350
  - [ ] Success criteria derived for each phase (2-5 observable behaviors)
280
- - [ ] Roadmap presented to user for approval
351
+ - [ ] Requirements and roadmap presented to user for approval
281
352
  - [ ] User feedback incorporated (if any)
282
- - [ ] ROADMAP.md, STATE.md committed after approval
283
- - [ ] REQUIREMENTS.md traceability section updated
353
+ - [ ] REQUIREMENTS.md, ROADMAP.md, STATE.md committed after approval
284
354
  </success_criteria>
@@ -12,7 +12,7 @@ allowed-tools:
12
12
  <objective>
13
13
  Create design specifications for a phase. Spawns ms-designer agent with phase context.
14
14
 
15
- **Orchestrator role:** Parse phase, validate against roadmap, check existing design, gather context chain (CONTEXT.md → implement-ui → codebase), adaptive Q&A if gaps, spawn designer agent, enable conversational refinement.
15
+ **Orchestrator role:** Parse phase, validate against roadmap, check existing design, gather context chain (CONTEXT.md → project UI skill → codebase), adaptive Q&A if gaps, spawn designer agent, enable conversational refinement.
16
16
 
17
17
  **Why subagent:** Design requires focused attention with quality-forcing patterns. Fresh 200k context for design generation. Main context reserved for user refinement conversation.
18
18
 
@@ -107,14 +107,16 @@ If exists, extract:
107
107
  - What Must Be Nailed (essentials)
108
108
  - Specific Ideas (references to products)
109
109
 
110
- **3c. Optional context - implement-ui skill:**
110
+ **3c. Optional context project UI skill:**
111
111
 
112
+ Discover project-level skills:
112
113
  ```bash
113
- # Check for implement-ui skill
114
- ls .claude/skills/*implement-ui* 2>/dev/null
114
+ ls .claude/skills/*/SKILL.md 2>/dev/null
115
115
  ```
116
116
 
117
- If exists, load it as the authoritative source of existing patterns.
117
+ If skills found, read the YAML frontmatter (name + description) of each SKILL.md. Identify any skill whose description indicates it provides UI implementation patterns (screens, widgets, components, theming, spacing, visual patterns).
118
+
119
+ If a UI skill is found, read its full content. Extract aesthetic patterns (colors, components, spacing, typography) for the `<existing_aesthetic>` block passed to ms-designer.
118
120
 
119
121
  **3d. Optional context - codebase analysis:**
120
122
 
@@ -140,7 +142,7 @@ Document discovered patterns for the designer.
140
142
 
141
143
  Assess context coverage:
142
144
  - Can platform be inferred? (from codebase or PROJECT.md)
143
- - Can visual style be inferred? (from implement-ui or codebase)
145
+ - Can visual style be inferred? (from project UI skill or codebase)
144
146
  - Can design priorities be inferred? (from CONTEXT.md or phase requirements)
145
147
 
146
148
  **If everything can be inferred:** Skip to step 5.
@@ -240,15 +242,15 @@ Reference products: [From Q&A if asked, or "None specified"]
240
242
  </user_vision>
241
243
 
242
244
  <existing_aesthetic>
243
- [If implement-ui skill exists:]
245
+ [If project UI skill exists:]
244
246
 
245
- Authoritative patterns from implement-ui skill:
247
+ Authoritative patterns from project UI skill:
246
248
  - Color palette: [exact values]
247
249
  - Typography: [font families, sizes]
248
250
  - Spacing system: [scale values]
249
251
  - Component library: [named components]
250
252
 
251
- [If no skill, from codebase analysis:]
253
+ [If no UI skill, from codebase analysis:]
252
254
 
253
255
  Discovered patterns from codebase:
254
256
  - Colors found: [hex values from theme/styles]
@@ -393,7 +395,7 @@ Update `.planning/STATE.md` Last Command field:
393
395
  - [ ] Phase validated against roadmap
394
396
  - [ ] Existing design checked and handled appropriately
395
397
  - [ ] Context chain loaded (PROJECT.md, ROADMAP.md, CONTEXT.md if exists)
396
- - [ ] implement-ui skill loaded if exists
398
+ - [ ] Project UI skill discovered and loaded if exists
397
399
  - [ ] Codebase analyzed for existing patterns
398
400
  - [ ] Adaptive Q&A completed if gaps existed
399
401
  - [ ] Mockup generation offered if phase has significant new UI
@@ -173,15 +173,6 @@ All three run in parallel. Task tool blocks until all complete.
173
173
  **No polling.** No background agents. No TaskOutput loops.
174
174
  </wave_execution>
175
175
 
176
- <checkpoint_handling>
177
- Plans with `autonomous: false` have checkpoints. The execute-phase.md workflow handles the full checkpoint flow:
178
- - Subagent pauses at checkpoint, returns structured state
179
- - Orchestrator presents to user, collects response
180
- - Spawns fresh continuation agent (not resume)
181
-
182
- See `@~/.claude/mindsystem/workflows/execute-phase.md` step `checkpoint_handling` for complete details.
183
- </checkpoint_handling>
184
-
185
176
  <deviation_rules>
186
177
  During execution, handle discoveries automatically:
187
178
 
@@ -31,16 +31,15 @@ Output ONLY the reference content below. Do NOT add:
31
31
 
32
32
  1. `/ms:new-project` - Initialize project with brief
33
33
  2. `/ms:research-project` - (optional) Research domain ecosystem
34
- 3. `/ms:define-requirements` - Scope v1/v2/out of scope
35
- 4. `/ms:create-roadmap` - Create roadmap and phases
36
- 5. `/ms:plan-phase 1` - Create detailed plan for first phase
37
- 6. `/ms:execute-phase 1` - Execute with parallel agents
34
+ 3. `/ms:create-roadmap` - Define requirements and create roadmap
35
+ 4. `/ms:plan-phase 1` - Create detailed plan for first phase
36
+ 5. `/ms:execute-phase 1` - Execute with parallel agents
38
37
 
39
38
  ### Brownfield (existing codebase)
40
39
 
41
40
  1. `/ms:map-codebase` - Analyze existing code first
42
41
  2. `/ms:new-project` - Questions focus on what you’re adding/changing
43
- 3. Continue with steps 2-6 above (codebase docs load automatically)
42
+ 3. Continue with steps 2-5 above (codebase docs load automatically)
44
43
 
45
44
  ## Staying Updated
46
45
 
@@ -59,7 +58,7 @@ npx mindsystem-cc@latest
59
58
  ## Core Workflow
60
59
 
61
60
  ```
62
- Initialize → (Optional Research) → Requirements → Roadmap → Plan → Execute → Verify → Milestone
61
+ Initialize → (Optional Research) → Roadmap → Plan → Execute → Verify → Milestone
63
62
  ```
64
63
 
65
64
  Common deviations:
@@ -93,20 +92,12 @@ Research domain ecosystem before creating roadmap.
93
92
 
94
93
  Usage: `/ms:research-project`
95
94
 
96
- **`/ms:define-requirements`**
97
- Define what "done" looks like with checkable requirements.
98
-
99
- - Use when: you’re ready to lock v1 scope (and explicitly defer v2/out-of-scope).
100
- - Scopes features as v1, v2, or out of scope
101
- - Works with or without prior research
102
- - Creates `.planning/REQUIREMENTS.md` with traceability
103
-
104
- Usage: `/ms:define-requirements`
105
-
106
95
  **`/ms:create-roadmap`**
107
- Create roadmap and state tracking for initialized project.
96
+ Define requirements and create roadmap with phases.
108
97
 
109
- - Use when: requirements are defined and you want phases mapped to them.
98
+ - Use when: project is initialized and you want to scope requirements and map them to phases.
99
+ - Derives REQUIREMENTS.md from MILESTONE-CONTEXT.md (or through questioning)
100
+ - Creates `.planning/REQUIREMENTS.md` (scoped requirements)
110
101
  - Creates `.planning/ROADMAP.md` (phase breakdown)
111
102
  - Creates `.planning/STATE.md` (project memory)
112
103
  - Creates `.planning/phases/` directories
@@ -141,7 +132,7 @@ Create visual/UX design specifications for UI-heavy phases.
141
132
  - Produces DESIGN.md with layouts, components, flows, verification criteria
142
133
  - Optionally generates parallel HTML mockup variants for visual direction exploration
143
134
  - Applies quality-forcing patterns to prevent generic AI output
144
- - Checks for existing implement-ui skill and harmonizes with codebase
135
+ - Discovers project UI skill dynamically and harmonizes with codebase
145
136
  - Use for phases with significant UI work, novel components, or cross-platform design
146
137
 
147
138
  Usage: `/ms:design-phase 3`
@@ -203,7 +194,6 @@ Execute all unexecuted plans in a phase with wave-based parallelization.
203
194
 
204
195
  - Use when: the phase has PLAN.md files and you want Mindsystem to run them (including verification and possible gap-closure loop).
205
196
  - Spawns parallel agents for independent plans
206
- - Handles checkpoints with user interaction
207
197
  - Resumes automatically from interrupted execution
208
198
  - Creates SUMMARY.md for each completed plan
209
199
  - Respects max_concurrent_agents from config.json
@@ -212,7 +202,6 @@ Usage: `/ms:execute-phase 5`
212
202
 
213
203
  Options (via `.planning/config.json` parallelization section):
214
204
  - `max_concurrent_agents`: Limit parallel agents (default: 3)
215
- - `skip_checkpoints`: Skip human checkpoints in background (default: true)
216
205
  - `min_plans_for_parallel`: Minimum plans to trigger parallelization (default: 2)
217
206
 
218
207
  ### Verification
@@ -285,14 +274,17 @@ Result: Phase 17 deleted, phases 18-20 become 17-19
285
274
 
286
275
  ### Milestone Management
287
276
 
288
- **`/ms:new-milestone <name>`**
289
- Create a new milestone with phases for an existing project.
277
+ **`/ms:new-milestone [name]`**
278
+ Discover what to build next and start a new milestone.
290
279
 
291
- - Use when: you shipped a version and want to scope the next one (or you want guided discovery for what to build next).
292
- - Adds milestone section to ROADMAP.md
293
- - Creates phase directories
294
- - Updates STATE.md for new milestone
280
+ - Use when: you shipped a version and want to figure out what's next or you already know and want to make it official.
281
+ - Loads previous milestone context and suggests directions
282
+ - Collaborative discovery through adaptive questioning
283
+ - Updates PROJECT.md with new goals
284
+ - Creates MILESTONE-CONTEXT.md for downstream consumption (roadmap, planning)
285
+ - Routes to create-roadmap or research-project
295
286
 
287
+ Usage: `/ms:new-milestone`
296
288
  Usage: `/ms:new-milestone "v2.0 Features"`
297
289
 
298
290
  **`/ms:complete-milestone <version>`**
@@ -446,8 +438,7 @@ Usage: `/ms:release-notes`
446
438
  ```
447
439
  /ms:new-project # Extract your idea through questions
448
440
  /ms:research-project # (recommended) Research domain ecosystem
449
- /ms:define-requirements # Scope v1/v2/out of scope
450
- /ms:create-roadmap # Create phases mapped to requirements
441
+ /ms:create-roadmap # Define requirements and create phases
451
442
  /ms:plan-phase 1 # Create detailed plan
452
443
  /ms:execute-phase 1 # Execute with parallel agents
453
444
  ```
@@ -458,8 +449,7 @@ Usage: `/ms:release-notes`
458
449
  /ms:map-codebase # Step 1: Analyze existing code
459
450
  /ms:new-project # Step 2: Questions focus on what you're adding/changing
460
451
  /ms:research-project # (optional) Research new domain areas
461
- /ms:define-requirements # Scope what's changing
462
- /ms:create-roadmap # Create roadmap
452
+ /ms:create-roadmap # Define requirements and create roadmap
463
453
  /ms:plan-phase 1 # Codebase docs load automatically
464
454
  /ms:execute-phase 1 # Claude knows your patterns & conventions
465
455
  ```
@@ -506,14 +496,13 @@ Common options:
506
496
  - Add work later: `/ms:add-phase "…"`
507
497
  - Insert urgent work before the next phase: `/ms:insert-phase <after> "…"`
508
498
  - Cut future work: `/ms:remove-phase <phase>`
509
- - Re-scope v1/v2/out-of-scope: `/ms:define-requirements` (choose Replace) → `/ms:create-roadmap` (choose Replace)
499
+ - Re-scope v1/v2/out-of-scope: `/ms:create-roadmap` (choose Replace)
510
500
 
511
501
  **Implementing a new feature after shipping (new milestone):**
512
502
 
513
503
  ```
514
- /ms:new-milestone "v1.1 New feature" # Choose discovery mode if you want help scoping
504
+ /ms:new-milestone # Discover what to build, update PROJECT.md
515
505
  /ms:research-project # (optional) Domain / stack research
516
- /ms:define-requirements # Re-scope v1/v2 for this milestone
517
506
  /ms:create-roadmap # New phases mapped to requirements
518
507
  /ms:plan-phase # Auto-detect next unplanned phase
519
508
  /ms:execute-phase <phase>
@@ -524,7 +513,7 @@ Common options:
524
513
  ```
525
514
  /ms:audit-milestone 1.0.0 # Verify before completing
526
515
  /ms:complete-milestone 1.0.0 # Archive and tag
527
- /ms:new-milestone "v1.1 Features"
516
+ /ms:new-milestone # Discover and start next milestone
528
517
  ```
529
518
 
530
519
  **Closing gaps from audit:**