mindsystem-cc 3.19.0 → 3.21.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 (83) hide show
  1. package/README.md +5 -6
  2. package/agents/ms-designer.md +5 -2
  3. package/agents/ms-mockup-designer.md +1 -1
  4. package/agents/ms-plan-writer.md +8 -1
  5. package/agents/ms-product-researcher.md +69 -0
  6. package/agents/ms-research-synthesizer.md +1 -1
  7. package/agents/ms-researcher.md +8 -8
  8. package/agents/ms-roadmapper.md +9 -13
  9. package/bin/install.js +68 -5
  10. package/commands/ms/add-phase.md +30 -18
  11. package/commands/ms/adhoc.md +1 -1
  12. package/commands/ms/audit-milestone.md +12 -12
  13. package/commands/ms/complete-milestone.md +25 -22
  14. package/commands/ms/config.md +202 -0
  15. package/commands/ms/design-phase.md +34 -29
  16. package/commands/ms/discuss-phase.md +26 -22
  17. package/commands/ms/doctor.md +22 -202
  18. package/commands/ms/execute-phase.md +18 -7
  19. package/commands/ms/help.md +46 -39
  20. package/commands/ms/insert-phase.md +29 -17
  21. package/commands/ms/new-milestone.md +42 -19
  22. package/commands/ms/new-project.md +88 -103
  23. package/commands/ms/plan-milestone-gaps.md +4 -5
  24. package/commands/ms/plan-phase.md +5 -3
  25. package/commands/ms/progress.md +2 -4
  26. package/commands/ms/research-phase.md +7 -12
  27. package/commands/ms/research-project.md +12 -12
  28. package/mindsystem/references/continuation-format.md +3 -3
  29. package/mindsystem/references/plan-format.md +11 -1
  30. package/mindsystem/references/principles.md +1 -1
  31. package/mindsystem/references/questioning.md +50 -8
  32. package/mindsystem/references/routing/audit-result-routing.md +12 -11
  33. package/mindsystem/references/routing/between-milestones-routing.md +2 -2
  34. package/mindsystem/references/routing/milestone-complete-routing.md +1 -1
  35. package/mindsystem/references/routing/next-phase-routing.md +4 -2
  36. package/mindsystem/templates/context.md +7 -6
  37. package/mindsystem/templates/milestone-archive.md +5 -5
  38. package/mindsystem/templates/milestone-context.md +1 -1
  39. package/mindsystem/templates/milestone.md +9 -9
  40. package/mindsystem/templates/project.md +70 -64
  41. package/mindsystem/templates/research-subagent-prompt.md +3 -3
  42. package/mindsystem/templates/roadmap-milestone.md +14 -14
  43. package/mindsystem/templates/roadmap.md +9 -7
  44. package/mindsystem/workflows/adhoc.md +1 -1
  45. package/mindsystem/workflows/complete-milestone.md +66 -107
  46. package/mindsystem/workflows/discuss-phase.md +137 -65
  47. package/mindsystem/workflows/doctor-fixes.md +273 -0
  48. package/mindsystem/workflows/execute-phase.md +7 -3
  49. package/mindsystem/workflows/execute-plan.md +6 -5
  50. package/mindsystem/workflows/map-codebase.md +2 -2
  51. package/mindsystem/workflows/mockup-generation.md +1 -1
  52. package/mindsystem/workflows/plan-phase.md +28 -3
  53. package/mindsystem/workflows/transition.md +20 -25
  54. package/mindsystem/workflows/verify-work.md +1 -1
  55. package/package.json +1 -1
  56. package/scripts/__pycache__/ms-tools.cpython-314.pyc +0 -0
  57. package/scripts/__pycache__/test_ms_tools.cpython-314-pytest-9.0.2.pyc +0 -0
  58. package/scripts/fixtures/scan-context/.planning/ROADMAP.md +16 -0
  59. package/scripts/fixtures/scan-context/.planning/adhoc/20260220-fix-token-SUMMARY.md +12 -0
  60. package/scripts/fixtures/scan-context/.planning/config.json +3 -0
  61. package/scripts/fixtures/scan-context/.planning/debug/resolved/token-bug.md +11 -0
  62. package/scripts/fixtures/scan-context/.planning/knowledge/auth.md +11 -0
  63. package/scripts/fixtures/scan-context/.planning/phases/02-infra/02-1-SUMMARY.md +20 -0
  64. package/scripts/fixtures/scan-context/.planning/phases/04-setup/04-1-SUMMARY.md +21 -0
  65. package/scripts/fixtures/scan-context/.planning/phases/05-auth/05-1-SUMMARY.md +28 -0
  66. package/scripts/fixtures/scan-context/.planning/todos/done/setup-db.md +10 -0
  67. package/scripts/fixtures/scan-context/.planning/todos/pending/add-logout.md +10 -0
  68. package/scripts/fixtures/scan-context/expected-output.json +257 -0
  69. package/scripts/ms-tools.py +2139 -0
  70. package/scripts/test_ms_tools.py +836 -0
  71. package/commands/ms/list-phase-assumptions.md +0 -56
  72. package/mindsystem/workflows/list-phase-assumptions.md +0 -178
  73. package/scripts/__pycache__/compare_mockups.cpython-314.pyc +0 -0
  74. package/scripts/archive-milestone-files.sh +0 -68
  75. package/scripts/archive-milestone-phases.sh +0 -138
  76. package/scripts/doctor-scan.sh +0 -379
  77. package/scripts/gather-milestone-stats.sh +0 -179
  78. package/scripts/generate-adhoc-patch.sh +0 -79
  79. package/scripts/generate-phase-patch.sh +0 -169
  80. package/scripts/scan-artifact-subsystems.sh +0 -55
  81. package/scripts/scan-planning-context.py +0 -839
  82. package/scripts/update-state.sh +0 -59
  83. package/scripts/validate-execution-order.sh +0 -104
@@ -65,8 +65,8 @@ mkdir -p .planning/research
65
65
  ```
66
66
 
67
67
  **Determine milestone context:**
68
- - If no "Validated" requirements in REQUIREMENTS.md → Greenfield (v1.0)
69
- - If "Validated" requirements exist → Subsequent milestone (v1.1+)
68
+ - If no "Validated" requirements in REQUIREMENTS.md → Greenfield
69
+ - If "Validated" requirements exist → Subsequent milestone
70
70
 
71
71
  Spawn all 4 in parallel with rich context:
72
72
 
@@ -79,10 +79,10 @@ Project Research — Stack dimension for [domain].
79
79
  <milestone_context>
80
80
  {greenfield OR subsequent}
81
81
 
82
- **Greenfield (v1.0):**
82
+ **Greenfield (first milestone):**
83
83
  Research the standard stack for building [domain] from scratch. Full ecosystem investigation.
84
84
 
85
- **Subsequent (v1.1+):**
85
+ **Subsequent (later milestones):**
86
86
  Research what's needed to add [target features] to an existing [domain] app.
87
87
 
88
88
  IMPORTANT for subsequent milestones:
@@ -128,10 +128,10 @@ Project Research — Features dimension for [domain].
128
128
  <milestone_context>
129
129
  {greenfield OR subsequent}
130
130
 
131
- **Greenfield (v1.0):**
131
+ **Greenfield (first milestone):**
132
132
  What features do [domain] products have? What's table stakes vs differentiating?
133
133
 
134
- **Subsequent (v1.1+):**
134
+ **Subsequent (later milestones):**
135
135
  How do [target features] typically work? What's expected behavior?
136
136
 
137
137
  IMPORTANT for subsequent milestones:
@@ -176,10 +176,10 @@ Project Research — Architecture dimension for [domain].
176
176
  <milestone_context>
177
177
  {greenfield OR subsequent}
178
178
 
179
- **Greenfield (v1.0):**
179
+ **Greenfield (first milestone):**
180
180
  How are [domain] systems typically structured? What are major components?
181
181
 
182
- **Subsequent (v1.1+):**
182
+ **Subsequent (later milestones):**
183
183
  How do [target features] integrate with existing [domain] architecture?
184
184
 
185
185
  IMPORTANT for subsequent milestones:
@@ -224,10 +224,10 @@ Project Research — Pitfalls dimension for [domain].
224
224
  <milestone_context>
225
225
  {greenfield OR subsequent}
226
226
 
227
- **Greenfield (v1.0):**
227
+ **Greenfield (first milestone):**
228
228
  What do [domain] projects commonly get wrong? Critical mistakes?
229
229
 
230
- **Subsequent (v1.1+):**
230
+ **Subsequent (later milestones):**
231
231
  What are common mistakes when adding [target features] to [domain]?
232
232
 
233
233
  IMPORTANT for subsequent milestones:
@@ -303,8 +303,8 @@ After creating SUMMARY.md, update config.json code_review fields with agent name
303
303
  1. Read recommended stack from STACK.md
304
304
  2. Map to code review agent names:
305
305
  - Flutter/Dart:
306
- - adhoc: \"ms-flutter-simplifier\"
307
- - phase: \"ms-flutter-simplifier\"
306
+ - adhoc: \"ms-flutter-code-quality\"
307
+ - phase: \"ms-flutter-code-quality\"
308
308
  - milestone: \"ms-flutter-reviewer\"
309
309
  - All others:
310
310
  - adhoc: \"ms-code-simplifier\"
@@ -59,7 +59,7 @@ When there's meaningful additional context (like a phase identifier), add it as
59
59
 
60
60
  **Also available:**
61
61
  - Review plans before executing
62
- - `/ms:list-phase-assumptions 2` — check assumptions
62
+ - `/ms:discuss-phase 2` — gather context and validate assumptions
63
63
 
64
64
  ---
65
65
  ```
@@ -84,7 +84,7 @@ Add note that this is the last phase and what comes after:
84
84
 
85
85
  **After this completes:**
86
86
  - Milestone complete
87
- - Next: `/ms:complete-milestone` — archive and tag
87
+ - Next: `/ms:complete-milestone` — archive milestone
88
88
 
89
89
  ---
90
90
  ```
@@ -168,7 +168,7 @@ When there's no clear primary action:
168
168
  ```
169
169
  ---
170
170
 
171
- ## 🎉 Milestone v1.0 Complete
171
+ ## 🎉 Milestone Complete
172
172
 
173
173
  All 4 phases shipped
174
174
 
@@ -43,7 +43,7 @@ Details referencing existing utilities: "Use `comparePassword` in `src/lib/crypt
43
43
  | Section | Purpose | Required |
44
44
  |---------|---------|----------|
45
45
  | `# Plan NN: Title` | H1 with plan number and descriptive title | Yes |
46
- | `**Subsystem:** X \| **Type:** Y` | Inline metadata (replaces YAML frontmatter) | Yes (type defaults to `execute`) |
46
+ | `**Subsystem:** X \| **Type:** Y \| **Skills:** Z` | Inline metadata (replaces YAML frontmatter) | Yes (type defaults to `execute`, skills optional) |
47
47
  | `## Context` | Why this work exists, why this approach | Yes |
48
48
  | `## Changes` | Numbered subsections with files and implementation details | Yes |
49
49
  | `## Verification` | Bash commands and observable checks | Yes |
@@ -130,6 +130,15 @@ Matches vocabulary from the project's `config.json`. Used by the executor when g
130
130
 
131
131
  When `**Type:**` is omitted, the plan defaults to `execute`.
132
132
 
133
+ ### Skills
134
+
135
+ | Value | Behavior |
136
+ |-------|----------|
137
+ | *(omitted)* | No skills loaded. Skill discovery happens during `/ms:plan-phase` — absence means none were relevant. |
138
+ | `skill-a, skill-b` | Executor invokes listed skills via Skill tool before implementing. |
139
+
140
+ Skills are confirmed by the user during `/ms:plan-phase` and encoded into plans. Comma-separated list of skill names matching entries in the system-reminder.
141
+
133
142
  ---
134
143
 
135
144
  ## Must-Haves Specification
@@ -190,6 +199,7 @@ Execution order lives in a single `EXECUTION-ORDER.md` file alongside the plans.
190
199
  | What triggers TDD lazy-loading? | `**Type:** tdd` in inline metadata |
191
200
  | How does the executor know why an approach was chosen? | Reads `## Context` section |
192
201
  | How does the executor find existing utilities? | Reads `**Files:**` lines and inline references in `## Changes` |
202
+ | What triggers skill loading in executor? | `**Skills:**` in inline metadata. No skills loaded if omitted. |
193
203
 
194
204
  ---
195
205
 
@@ -54,7 +54,7 @@ No enterprise process. No approval gates.
54
54
 
55
55
  Plan → Execute → Ship → Learn → Repeat
56
56
 
57
- Milestones mark shipped versions (v1.0v1.1v2.0).
57
+ Milestones mark shipped work (MVPPush Notifications ...).
58
58
  </ship_fast>
59
59
 
60
60
  <anti_enterprise>
@@ -16,9 +16,10 @@ 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-project** needs: what domain to research, what the user already knows, what unknowns exist
20
- - **create-roadmap** needs: clear enough vision to decompose into phases, what "done" looks like
21
- - **plan-phase** needs: specific requirements to break into tasks, context for implementation choices
19
+ - **research-project** needs: product domain, target audience, core problem, what unknowns exist
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
+ - **plan-phase** needs: audience context for task weighting, specific requirements for implementation choices
22
+ - **discuss-phase** needs: business context for PO-style analysis — audience, problem, differentiation inform scope recommendations
22
23
  - **execute-phase** needs: success criteria to verify against, the "why" behind requirements
23
24
 
24
25
  A vague PROJECT.md forces every downstream phase to guess. The cost compounds.
@@ -37,13 +38,17 @@ A vague PROJECT.md forces every downstream phase to guess. The cost compounds.
37
38
 
38
39
  **Clarify ambiguity.** "When you say Z, do you mean A or B?" "You mentioned X — tell me more."
39
40
 
41
+ **Brownfield reframing.** For brownfield projects, reframe to product-level before feature-level. "Tell me about this project" not "What do you want to build?" Users with existing codebases default to describing the next feature — redirect to the product as a whole first.
42
+
43
+ **Derive before asking.** Infer business context from feature descriptions before asking directly. "You described X, Y, Z — it sounds like this is for [audience] dealing with [problem]. Sound right?" This leverages what they've already said and gives them something concrete to react to.
44
+
40
45
  **Know when to stop.** When you understand what they want, why they want it, who it's for, and what done looks like — offer to proceed.
41
46
 
42
47
  </how_to_question>
43
48
 
44
49
  <highest_leverage>
45
50
 
46
- These three questions unlock the most downstream value. Everything else is nice-to-have context.
51
+ These four questions unlock the most downstream value. Everything else is nice-to-have context.
47
52
 
48
53
  1. **"What does done look like?"** — Without observable outcomes, every downstream phase guesses scope. Roadmap can't decompose, plans can't verify, execution can't stop.
49
54
 
@@ -51,7 +56,9 @@ These three questions unlock the most downstream value. Everything else is nice-
51
56
 
52
57
  3. **"What already exists / what can't change?"** — Constraints and existing code prevent planning in a vacuum. Surfaces brownfield reality, API limitations, time pressure.
53
58
 
54
- If you only get three answers, get these three.
59
+ 4. **"How will you know this is a success?"** — Reveals what actually matters: commercial viability, reliability, user experience, personal satisfaction. Informs Core Value and the weighting of all sections.
60
+
61
+ If you only get four answers, get these four.
55
62
 
56
63
  </highest_leverage>
57
64
 
@@ -109,16 +116,49 @@ User mentions "frustrated with current tools"
109
116
 
110
117
  </using_askuserquestion>
111
118
 
119
+ <clarity_adaptive>
120
+
121
+ Clarity is non-uniform across dimensions. Track per-section, not globally. Spend questioning budget where clarity is lowest.
122
+
123
+ **High clarity signals:** Specific demographics, named competitors, concrete scenarios, quantifiable outcomes, clear success metrics.
124
+ → Confirm and move on. Probe one level deeper to test robustness at most.
125
+
126
+ **Low clarity signals:** Broad categories ("developers", "small businesses"), vague benefits ("makes things easier"), no competitor awareness ("nothing else does this"), feature-focused language, hedging ("I think", "maybe").
127
+ → Offer frameworks. Provide concrete options via AskUserQuestion with derived options. Use scenarios to ground.
128
+
129
+ If audience is crystal-clear but differentiation is fuzzy, probe differentiation — don't revisit audience.
130
+
131
+ </clarity_adaptive>
132
+
133
+ <grounding_questions>
134
+
135
+ Grounding questions produce better answers than template-shaped questions. Use these instead of asking directly for template sections.
136
+
137
+ | Section | Don't Ask | Ask Instead |
138
+ |---------|-----------|-------------|
139
+ | Who It's For | "Who is your target audience?" | "Who would be your first 10 users — real people you'd tell tomorrow?" |
140
+ | Core Problem | "What problem does this solve?" | "What triggered you to want to build this? What's broken today?" |
141
+ | How It's Different | "What's your USP?" | "What are people using today instead? What's wrong with it?" |
142
+ | Core Value | "What's most important?" | "If only ONE thing worked perfectly and everything else was mediocre, what would that one thing be?" |
143
+ | Key User Flows | "What are the key flows?" | "Walk me through a session. You open the app — then what?" |
144
+ | Success | "How do you define success?" | "Imagine this is wildly successful in a year. What does that look like?" |
145
+
146
+ People articulate by reacting, not generating.
147
+
148
+ </grounding_questions>
149
+
112
150
  <context_checklist>
113
151
 
114
152
  Use this as a **background checklist**, not a conversation structure. Check these mentally as you go. If gaps remain, weave questions naturally.
115
153
 
116
154
  - [ ] What they're building (concrete enough to explain to a stranger)
117
155
  - [ ] Why it needs to exist (the problem or desire driving it)
118
- - [ ] Who it's for (even if just themselves)
119
- - [ ] What "done" looks like (observable outcomes)
156
+ - [ ] Who it's for (specific enough to find 10 of these people)
157
+ - [ ] What makes it different (from alternatives, even manual ones)
158
+ - [ ] What users actually do (2-3 core interactions)
159
+ - [ ] What success looks like (how they'll know it worked)
120
160
 
121
- Four things. If they volunteer more, capture it.
161
+ Six things. If they volunteer more, capture it.
122
162
 
123
163
  </context_checklist>
124
164
 
@@ -148,6 +188,8 @@ Loop until "Create PROJECT.md" selected.
148
188
  - **Shallow acceptance** — Taking vague answers without probing
149
189
  - **Premature constraints** — Asking about tech stack before understanding the idea
150
190
  - **User skills** — NEVER ask about user's technical experience. Claude builds.
191
+ - **Accepting "everyone" as audience** — Always narrow: "Who needs this MOST?" Broad audiences are a sign of fuzzy thinking, not universal appeal.
192
+ - **Skipping differentiation** — "Nothing else does this" is almost always wrong. Probe alternatives including manual workarounds, spreadsheets, competitor products.
151
193
 
152
194
  </anti_patterns>
153
195
 
@@ -9,7 +9,8 @@ Route user to appropriate next action based on audit status (passed, gaps_found,
9
9
  ## Variables
10
10
 
11
11
  From calling context:
12
- - `{version}` — milestone version
12
+ - `{name}` — milestone name
13
+ - `{slug}` — milestone slug (for file paths)
13
14
  - `{N}/{M}` — requirements score
14
15
  - `{status}` — audit result: passed | gaps_found | tech_debt
15
16
  - `{assumptions_count}` — number of untested assumptions (from UAT)
@@ -21,10 +22,10 @@ Read the audit status and present the matching section below.
21
22
  ## If Passed
22
23
 
23
24
  ```markdown
24
- ## ✓ Milestone {version} — Audit Passed
25
+ ## ✓ Milestone {name} — Audit Passed
25
26
 
26
27
  **Score:** {N}/{M} requirements satisfied
27
- **Report:** .planning/v{version}-MILESTONE-AUDIT.md
28
+ **Report:** .planning/MILESTONE-AUDIT.md
28
29
 
29
30
  All requirements covered. Cross-phase integration verified. E2E flows complete.
30
31
 
@@ -38,7 +39,7 @@ See full list in MILESTONE-AUDIT.md. Consider addressing in next milestone.
38
39
 
39
40
  ## ▶ Next Up
40
41
 
41
- `/ms:complete-milestone {version}` — archive and tag
42
+ `/ms:complete-milestone` — archive milestone
42
43
 
43
44
  <sub>`/clear` first → fresh context window</sub>
44
45
  ```
@@ -46,10 +47,10 @@ See full list in MILESTONE-AUDIT.md. Consider addressing in next milestone.
46
47
  ## If Gaps Found
47
48
 
48
49
  ```markdown
49
- ## ⚠ Milestone {version} — Gaps Found
50
+ ## ⚠ Milestone {name} — Gaps Found
50
51
 
51
52
  **Score:** {N}/{M} requirements satisfied
52
- **Report:** .planning/v{version}-MILESTONE-AUDIT.md
53
+ **Report:** .planning/MILESTONE-AUDIT.md
53
54
 
54
55
  ### Unsatisfied Requirements
55
56
 
@@ -78,17 +79,17 @@ See full list in MILESTONE-AUDIT.md. Consider addressing in next milestone.
78
79
  ---
79
80
 
80
81
  **Also available:**
81
- - `cat .planning/v{version}-MILESTONE-AUDIT.md` — see full report
82
- - `/ms:complete-milestone {version}` — proceed anyway (accept tech debt)
82
+ - `cat .planning/MILESTONE-AUDIT.md` — see full report
83
+ - `/ms:complete-milestone` — proceed anyway (accept tech debt)
83
84
  ```
84
85
 
85
86
  ## If Tech Debt (no blockers but accumulated debt)
86
87
 
87
88
  ```markdown
88
- ## ⚡ Milestone {version} — Tech Debt Review
89
+ ## ⚡ Milestone {name} — Tech Debt Review
89
90
 
90
91
  **Score:** {N}/{M} requirements satisfied
91
- **Report:** .planning/v{version}-MILESTONE-AUDIT.md
92
+ **Report:** .planning/MILESTONE-AUDIT.md
92
93
 
93
94
  All requirements met. No critical blockers. Accumulated tech debt needs review.
94
95
 
@@ -108,7 +109,7 @@ See full list in MILESTONE-AUDIT.md. Consider addressing in next milestone.
108
109
 
109
110
  ## ▶ Options
110
111
 
111
- - `/ms:complete-milestone {version}` — accept debt, track in backlog
112
+ - `/ms:complete-milestone` — accept debt, track in backlog
112
113
  - `/ms:plan-milestone-gaps` — address debt before completing
113
114
 
114
115
  <sub>`/clear` first → fresh context window</sub>
@@ -15,14 +15,14 @@ cat .planning/MILESTONES.md 2>/dev/null
15
15
  ```
16
16
 
17
17
  Extract:
18
- - `{X.Y}` — last completed milestone version
18
+ - `{name}` — last completed milestone name from MILESTONES.md
19
19
 
20
20
  ## Output Format
21
21
 
22
22
  ```markdown
23
23
  ---
24
24
 
25
- ## ✓ Milestone v{X.Y} Complete
25
+ ## ✓ Milestone {name} Complete
26
26
 
27
27
  Ready to plan the next milestone.
28
28
 
@@ -10,7 +10,7 @@ Celebrate milestone completion and guide user toward audit or archive.
10
10
 
11
11
  From calling context:
12
12
  - `{N}` — total number of phases in milestone
13
- - `{version}` — milestone version (if known)
13
+ - `{name}` — milestone name (if known)
14
14
 
15
15
  ## Output Format
16
16
 
@@ -108,7 +108,7 @@ ELSE:
108
108
 
109
109
  ### Suggested
110
110
 
111
- `/ms:discuss-phase 3` — ambiguous user flow
111
+ `/ms:discuss-phase 3` — assumes grid layout, unclear what metrics matter
112
112
 
113
113
  <sub>`/clear` first → fresh context window</sub>
114
114
 
@@ -130,17 +130,19 @@ ELSE:
130
130
 
131
131
  | Pre-work | Status | Topics/Focus |
132
132
  |----------|--------|--------------|
133
+ | Discuss | Likely | assumes one-time payments only, unclear if subscriptions needed, refund policy unspecified |
133
134
  | Research | Likely | Stripe API, webhook handling, idempotency |
134
135
 
135
136
  ### Suggested
136
137
 
137
- `/ms:research-phase 4` — external API integration
138
+ `/ms:discuss-phase 4` — assumes one-time payments, subscription model unclear
138
139
 
139
140
  <sub>`/clear` first → fresh context window</sub>
140
141
 
141
142
  ---
142
143
 
143
144
  **Also available:**
145
+ - `/ms:research-phase 4` — external API integration
144
146
  - `/ms:plan-phase 4` — plan directly
145
147
  ```
146
148
 
@@ -53,10 +53,10 @@ Template for `.planning/phases/XX-name/{phase}-CONTEXT.md` - captures the user's
53
53
  <decisions>
54
54
  ## Decisions (Locked)
55
55
 
56
- [Concrete implementation decisions made during discussion. These are NOT optional — plans must implement these exactly.]
56
+ [Concrete implementation decisions made during discussion. These are NOT optional — plans must implement these exactly. Each decision includes inline reasoning grounded in vision, audience, or tradeoff analysis.]
57
57
 
58
- - [Decision 1]
59
- - [Decision 2]
58
+ - [Decision 1] — [Why: grounded in vision, audience, or tradeoff]
59
+ - [Decision 2] — [Reasoning from product analysis or user preference]
60
60
 
61
61
  ### Claude's Discretion
62
62
 
@@ -128,9 +128,9 @@ Priority is clarity over features. Better to show less and make it obvious than
128
128
  <decisions>
129
129
  ## Decisions (Locked)
130
130
 
131
- - Card layout for projects (not a list)
132
- - "Today" section at top showing urgent items
133
- - Dark mode support (already exists from Phase 2)
131
+ - Card layout for projects (not a list) — Why: user wants personal feel, cards feel more like a notebook than enterprise software; Linear uses cards successfully for similar "what's mine" views
132
+ - "Today" section at top showing urgent items — Why: at-a-glance clarity is the #1 essential; surfacing urgency immediately matches user's "what should I work on today" mental model
133
+ - Dark mode support (already exists from Phase 2) — Why: user considers this essential for the calm aesthetic
134
134
 
135
135
  ### Claude's Discretion
136
136
 
@@ -173,6 +173,7 @@ Vision sections capture the user's own words — how they imagine it, what they
173
173
  - Concrete choices (not vague preferences)
174
174
  - Checkable by downstream agents
175
175
  - Clear about what's locked vs discretionary
176
+ - Include inline reasoning ("— Why: ...") grounded in vision, audience needs, competitor patterns, or explicit tradeoff analysis
176
177
 
177
178
  **Content should NOT read like:**
178
179
  - A technical specification
@@ -6,7 +6,7 @@ This template is used by the complete-milestone workflow to create archive files
6
6
 
7
7
  ## File Template
8
8
 
9
- # Milestone v{{VERSION}}: {{MILESTONE_NAME}}
9
+ # Milestone: {{MILESTONE_NAME}}
10
10
 
11
11
  **Status:** ✅ SHIPPED {{DATE}}
12
12
  **Phases:** {{PHASE_START}}-{{PHASE_END}}
@@ -97,13 +97,13 @@ _For current project status, see .planning/PROJECT.md_
97
97
 
98
98
  <guidelines>
99
99
  **When to create milestone archives:**
100
- - After completing all phases in a milestone (v1.0, v1.1, v2.0, etc.)
100
+ - After completing all phases in a milestone
101
101
  - Triggered by complete-milestone workflow
102
102
  - Before planning next milestone work
103
103
 
104
104
  **How to fill template:**
105
105
 
106
- - Replace {{PLACEHOLDERS}} with actual values
106
+ - Replace {{PLACEHOLDERS}} with actual values ({{MILESTONE_NAME}}, {{MILESTONE_SLUG}} for paths)
107
107
  - Extract phase details from ROADMAP.md
108
108
  - Document decimal phases with (INSERTED) marker
109
109
  - Include key decisions from PROJECT-STATE.md or SUMMARY files
@@ -112,8 +112,8 @@ _For current project status, see .planning/PROJECT.md_
112
112
 
113
113
  **Archive location:**
114
114
 
115
- - Save to `.planning/milestones/v{VERSION}/ROADMAP.md`
116
- - Example: `.planning/milestones/v1.0/ROADMAP.md`
115
+ - Save to `.planning/milestones/{MILESTONE_SLUG}/ROADMAP.md`
116
+ - Example: `.planning/milestones/mvp/ROADMAP.md`
117
117
 
118
118
  **After archiving:**
119
119
 
@@ -5,7 +5,7 @@ Template for `.planning/MILESTONE-CONTEXT.md` — captures brainstorming context
5
5
  <template>
6
6
 
7
7
  ```markdown
8
- # Milestone Context: v[X.Y] [Name]
8
+ # Milestone Context: [Name]
9
9
 
10
10
  **Generated:** [date]
11
11
  **Source:** /ms:new-milestone brainstorming session
@@ -3,7 +3,7 @@
3
3
  Add this entry to `.planning/MILESTONES.md` when completing a milestone:
4
4
 
5
5
  ```markdown
6
- ## v[X.Y] [Name] (Shipped: YYYY-MM-DD)
6
+ ## [Name] (Shipped: YYYY-MM-DD)
7
7
 
8
8
  **Delivered:** [One sentence describing what shipped]
9
9
 
@@ -40,9 +40,9 @@ If MILESTONES.md doesn't exist, create it with header:
40
40
 
41
41
  <guidelines>
42
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)
43
+ - Initial MVP shipped
44
+ - Major feature sets complete
45
+ - Significant feature milestones
46
46
  - Before archiving planning (capture what was shipped)
47
47
 
48
48
  **Don't create milestones for:**
@@ -65,7 +65,7 @@ If MILESTONES.md doesn't exist, create it with header:
65
65
  ```markdown
66
66
  # Project Milestones: WeatherBar
67
67
 
68
- ## v1.1 Security & Polish (Shipped: 2025-12-10)
68
+ ## Security & Polish (Shipped: 2025-12-10)
69
69
 
70
70
  **Delivered:** Security hardening with Keychain integration and comprehensive error handling
71
71
 
@@ -81,15 +81,15 @@ If MILESTONES.md doesn't exist, create it with header:
81
81
  - 23 files modified
82
82
  - 650 lines of Swift added
83
83
  - 2 phases, 3 plans, 12 tasks
84
- - 8 days from v1.0 to v1.1
84
+ - 8 days
85
85
 
86
86
  **Git range:** `feat(05-01)` → `feat(06-02)`
87
87
 
88
- **What's next:** v2.0 SwiftUI redesign with widget support
88
+ **What's next:** SwiftUI redesign with widget support
89
89
 
90
90
  ---
91
91
 
92
- ## v1.0 MVP (Shipped: 2025-11-25)
92
+ ## MVP (Shipped: 2025-11-25)
93
93
 
94
94
  **Delivered:** Menu bar weather app with current conditions and 3-day forecast
95
95
 
@@ -110,6 +110,6 @@ If MILESTONES.md doesn't exist, create it with header:
110
110
 
111
111
  **Git range:** `feat(01-01)` → `feat(04-01)`
112
112
 
113
- **What's next:** Security audit and hardening for v1.1
113
+ **What's next:** Security audit and hardening
114
114
  ```
115
115
  </example>