mindsystem-cc 3.20.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.
- package/README.md +5 -6
- package/agents/ms-mockup-designer.md +1 -1
- package/agents/ms-product-researcher.md +69 -0
- package/agents/ms-research-synthesizer.md +1 -1
- package/agents/ms-researcher.md +8 -8
- package/agents/ms-roadmapper.md +9 -13
- package/bin/install.js +68 -5
- package/commands/ms/add-phase.md +4 -4
- package/commands/ms/adhoc.md +1 -1
- package/commands/ms/audit-milestone.md +12 -12
- package/commands/ms/complete-milestone.md +25 -22
- package/commands/ms/config.md +202 -0
- package/commands/ms/design-phase.md +3 -8
- package/commands/ms/discuss-phase.md +26 -22
- package/commands/ms/doctor.md +22 -202
- package/commands/ms/execute-phase.md +18 -7
- package/commands/ms/help.md +46 -39
- package/commands/ms/insert-phase.md +3 -3
- package/commands/ms/new-milestone.md +40 -16
- package/commands/ms/new-project.md +53 -42
- package/commands/ms/plan-milestone-gaps.md +4 -5
- package/commands/ms/plan-phase.md +2 -2
- package/commands/ms/progress.md +2 -4
- package/commands/ms/research-phase.md +7 -12
- package/commands/ms/research-project.md +12 -12
- package/mindsystem/references/continuation-format.md +3 -3
- package/mindsystem/references/principles.md +1 -1
- package/mindsystem/references/routing/audit-result-routing.md +12 -11
- package/mindsystem/references/routing/between-milestones-routing.md +2 -2
- package/mindsystem/references/routing/milestone-complete-routing.md +1 -1
- package/mindsystem/references/routing/next-phase-routing.md +4 -2
- package/mindsystem/templates/context.md +7 -6
- package/mindsystem/templates/milestone-archive.md +5 -5
- package/mindsystem/templates/milestone-context.md +1 -1
- package/mindsystem/templates/milestone.md +9 -9
- package/mindsystem/templates/project.md +2 -2
- package/mindsystem/templates/research-subagent-prompt.md +3 -3
- package/mindsystem/templates/roadmap-milestone.md +14 -14
- package/mindsystem/templates/roadmap.md +9 -7
- package/mindsystem/workflows/adhoc.md +1 -1
- package/mindsystem/workflows/complete-milestone.md +40 -75
- package/mindsystem/workflows/discuss-phase.md +137 -65
- package/mindsystem/workflows/doctor-fixes.md +273 -0
- package/mindsystem/workflows/execute-phase.md +7 -3
- package/mindsystem/workflows/execute-plan.md +3 -0
- package/mindsystem/workflows/map-codebase.md +2 -2
- package/mindsystem/workflows/mockup-generation.md +1 -1
- package/mindsystem/workflows/plan-phase.md +1 -1
- package/mindsystem/workflows/transition.md +2 -2
- package/mindsystem/workflows/verify-work.md +1 -1
- package/package.json +1 -1
- package/scripts/__pycache__/ms-tools.cpython-314.pyc +0 -0
- package/scripts/__pycache__/test_ms_tools.cpython-314-pytest-9.0.2.pyc +0 -0
- package/scripts/fixtures/scan-context/.planning/ROADMAP.md +16 -0
- package/scripts/fixtures/scan-context/.planning/adhoc/20260220-fix-token-SUMMARY.md +12 -0
- package/scripts/fixtures/scan-context/.planning/config.json +3 -0
- package/scripts/fixtures/scan-context/.planning/debug/resolved/token-bug.md +11 -0
- package/scripts/fixtures/scan-context/.planning/knowledge/auth.md +11 -0
- package/scripts/fixtures/scan-context/.planning/phases/02-infra/02-1-SUMMARY.md +20 -0
- package/scripts/fixtures/scan-context/.planning/phases/04-setup/04-1-SUMMARY.md +21 -0
- package/scripts/fixtures/scan-context/.planning/phases/05-auth/05-1-SUMMARY.md +28 -0
- package/scripts/fixtures/scan-context/.planning/todos/done/setup-db.md +10 -0
- package/scripts/fixtures/scan-context/.planning/todos/pending/add-logout.md +10 -0
- package/scripts/fixtures/scan-context/expected-output.json +257 -0
- package/scripts/ms-tools.py +2139 -0
- package/scripts/test_ms_tools.py +836 -0
- package/commands/ms/list-phase-assumptions.md +0 -56
- package/mindsystem/workflows/list-phase-assumptions.md +0 -178
- package/scripts/__pycache__/compare_mockups.cpython-314.pyc +0 -0
- package/scripts/archive-milestone-files.sh +0 -68
- package/scripts/archive-milestone-phases.sh +0 -138
- package/scripts/doctor-scan.sh +0 -402
- package/scripts/gather-milestone-stats.sh +0 -179
- package/scripts/generate-adhoc-patch.sh +0 -79
- package/scripts/generate-phase-patch.sh +0 -169
- package/scripts/scan-artifact-subsystems.sh +0 -55
- package/scripts/scan-planning-context.py +0 -839
- package/scripts/update-state.sh +0 -59
- 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
|
|
69
|
-
- If "Validated" requirements exist → Subsequent milestone
|
|
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 (
|
|
82
|
+
**Greenfield (first milestone):**
|
|
83
83
|
Research the standard stack for building [domain] from scratch. Full ecosystem investigation.
|
|
84
84
|
|
|
85
|
-
**Subsequent (
|
|
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 (
|
|
131
|
+
**Greenfield (first milestone):**
|
|
132
132
|
What features do [domain] products have? What's table stakes vs differentiating?
|
|
133
133
|
|
|
134
|
-
**Subsequent (
|
|
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 (
|
|
179
|
+
**Greenfield (first milestone):**
|
|
180
180
|
How are [domain] systems typically structured? What are major components?
|
|
181
181
|
|
|
182
|
-
**Subsequent (
|
|
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 (
|
|
227
|
+
**Greenfield (first milestone):**
|
|
228
228
|
What do [domain] projects commonly get wrong? Critical mistakes?
|
|
229
229
|
|
|
230
|
-
**Subsequent (
|
|
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-
|
|
307
|
-
- phase: \"ms-flutter-
|
|
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:
|
|
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
|
|
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
|
|
171
|
+
## 🎉 Milestone Complete
|
|
172
172
|
|
|
173
173
|
All 4 phases shipped
|
|
174
174
|
|
|
@@ -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
|
-
- `{
|
|
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 {
|
|
25
|
+
## ✓ Milestone {name} — Audit Passed
|
|
25
26
|
|
|
26
27
|
**Score:** {N}/{M} requirements satisfied
|
|
27
|
-
**Report:** .planning/
|
|
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
|
|
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 {
|
|
50
|
+
## ⚠ Milestone {name} — Gaps Found
|
|
50
51
|
|
|
51
52
|
**Score:** {N}/{M} requirements satisfied
|
|
52
|
-
**Report:** .planning/
|
|
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/
|
|
82
|
-
- `/ms:complete-milestone
|
|
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 {
|
|
89
|
+
## ⚡ Milestone {name} — Tech Debt Review
|
|
89
90
|
|
|
90
91
|
**Score:** {N}/{M} requirements satisfied
|
|
91
|
-
**Report:** .planning/
|
|
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
|
|
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
|
-
- `{
|
|
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
|
|
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
|
-
- `{
|
|
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` —
|
|
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:
|
|
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
|
|
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
|
|
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/
|
|
116
|
-
- Example: `.planning/milestones/
|
|
115
|
+
- Save to `.planning/milestones/{MILESTONE_SLUG}/ROADMAP.md`
|
|
116
|
+
- Example: `.planning/milestones/mvp/ROADMAP.md`
|
|
117
117
|
|
|
118
118
|
**After archiving:**
|
|
119
119
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Add this entry to `.planning/MILESTONES.md` when completing a milestone:
|
|
4
4
|
|
|
5
5
|
```markdown
|
|
6
|
-
##
|
|
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
|
|
44
|
-
- Major
|
|
45
|
-
- Significant feature milestones
|
|
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
|
-
##
|
|
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
|
|
84
|
+
- 8 days
|
|
85
85
|
|
|
86
86
|
**Git range:** `feat(05-01)` → `feat(06-02)`
|
|
87
87
|
|
|
88
|
-
**What's next:**
|
|
88
|
+
**What's next:** SwiftUI redesign with widget support
|
|
89
89
|
|
|
90
90
|
---
|
|
91
91
|
|
|
92
|
-
##
|
|
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
|
|
113
|
+
**What's next:** Security audit and hardening
|
|
114
114
|
```
|
|
115
115
|
</example>
|
|
@@ -115,7 +115,7 @@ Common types: Tech stack, Timeline, Budget, Dependencies, Compatibility, Perform
|
|
|
115
115
|
|
|
116
116
|
**Validated:**
|
|
117
117
|
- Requirements that shipped and proved valuable
|
|
118
|
-
- Format: `- ✓ [Requirement] — [
|
|
118
|
+
- Format: `- ✓ [Requirement] — [Milestone Name]`
|
|
119
119
|
- These are locked — changing them requires explicit discussion
|
|
120
120
|
|
|
121
121
|
**Key Decisions:**
|
|
@@ -128,7 +128,7 @@ Common types: Tech stack, Timeline, Budget, Dependencies, Compatibility, Perform
|
|
|
128
128
|
|
|
129
129
|
**Last Updated:**
|
|
130
130
|
- Always note when and why the document was updated
|
|
131
|
-
- Format: `after Phase 2` or `after
|
|
131
|
+
- Format: `after Phase 2` or `after [Name] milestone`
|
|
132
132
|
- Triggers review of whether content is still accurate
|
|
133
133
|
|
|
134
134
|
</guidelines>
|
|
@@ -33,8 +33,8 @@ Phase Research — External Documentation focus.
|
|
|
33
33
|
<focus>
|
|
34
34
|
Library documentation, APIs, version-specific behavior, verified code examples.
|
|
35
35
|
Use the ms-lookup CLI for library docs and deep research:
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
ms-lookup docs <library> '<query>'
|
|
37
|
+
ms-lookup deep '<query>'
|
|
38
38
|
Use WebSearch for ecosystem discovery.
|
|
39
39
|
Focus on finding authoritative, current documentation for the libraries and tools
|
|
40
40
|
needed to implement this phase.
|
|
@@ -129,7 +129,7 @@ Phase Research — Best Practices & Community Consensus focus.
|
|
|
129
129
|
<focus>
|
|
130
130
|
Community consensus, common pitfalls, proven approaches, state of the art.
|
|
131
131
|
Use the ms-lookup CLI for deep research on high-value questions:
|
|
132
|
-
|
|
132
|
+
ms-lookup deep '<query>'
|
|
133
133
|
Use WebSearch for community articles, blog posts, Stack Overflow patterns.
|
|
134
134
|
Focus on what practitioners recommend and what mistakes to avoid.
|
|
135
135
|
</focus>
|
|
@@ -7,14 +7,14 @@ Template for reorganizing `ROADMAP.md` after first milestone ships. Collapse com
|
|
|
7
7
|
|
|
8
8
|
## Milestones
|
|
9
9
|
|
|
10
|
-
- ✅ **
|
|
11
|
-
- 🚧 **
|
|
12
|
-
- 📋 **
|
|
10
|
+
- ✅ **MVP** - Phases 1-4 (shipped YYYY-MM-DD)
|
|
11
|
+
- 🚧 **[Name]** - Phases 5-6 (in progress)
|
|
12
|
+
- 📋 **[Name]** - Phases 7-10 (planned)
|
|
13
13
|
|
|
14
14
|
## Phases
|
|
15
15
|
|
|
16
16
|
<details>
|
|
17
|
-
<summary>✅
|
|
17
|
+
<summary>✅ MVP (Phases 1-4) - SHIPPED YYYY-MM-DD</summary>
|
|
18
18
|
|
|
19
19
|
### Phase 1: [Name]
|
|
20
20
|
**Goal**: [What this phase delivers]
|
|
@@ -25,13 +25,13 @@ Plans:
|
|
|
25
25
|
- [x] 01-02: [Brief description]
|
|
26
26
|
- [x] 01-03: [Brief description]
|
|
27
27
|
|
|
28
|
-
[... remaining
|
|
28
|
+
[... remaining phases ...]
|
|
29
29
|
|
|
30
30
|
</details>
|
|
31
31
|
|
|
32
|
-
### 🚧
|
|
32
|
+
### 🚧 [Name] (In Progress)
|
|
33
33
|
|
|
34
|
-
**Milestone Goal:** [What
|
|
34
|
+
**Milestone Goal:** [What this milestone delivers]
|
|
35
35
|
|
|
36
36
|
#### Phase 5: [Name]
|
|
37
37
|
**Goal**: [What this phase delivers]
|
|
@@ -42,21 +42,21 @@ Plans:
|
|
|
42
42
|
- [ ] 05-01: [Brief description]
|
|
43
43
|
- [ ] 05-02: [Brief description]
|
|
44
44
|
|
|
45
|
-
[... remaining
|
|
45
|
+
[... remaining phases ...]
|
|
46
46
|
|
|
47
|
-
### 📋
|
|
47
|
+
### 📋 [Name] (Planned)
|
|
48
48
|
|
|
49
|
-
**Milestone Goal:** [What
|
|
49
|
+
**Milestone Goal:** [What this milestone delivers]
|
|
50
50
|
|
|
51
|
-
[...
|
|
51
|
+
[... phases ...]
|
|
52
52
|
|
|
53
53
|
## Progress
|
|
54
54
|
|
|
55
55
|
| Phase | Milestone | Plans Complete | Status | Completed |
|
|
56
56
|
|-------|-----------|----------------|--------|-----------|
|
|
57
|
-
| 1. Foundation |
|
|
58
|
-
| 2. Features |
|
|
59
|
-
| 5. Security |
|
|
57
|
+
| 1. Foundation | MVP | 3/3 | Complete | YYYY-MM-DD |
|
|
58
|
+
| 2. Features | MVP | 2/2 | Complete | YYYY-MM-DD |
|
|
59
|
+
| 5. Security | Security & Polish | 0/2 | Not started | - |
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
**Notes:**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Template for `.planning/ROADMAP.md`.
|
|
4
4
|
|
|
5
|
-
## Initial Roadmap (
|
|
5
|
+
## Initial Roadmap (Greenfield)
|
|
6
6
|
|
|
7
7
|
```markdown
|
|
8
8
|
# Roadmap: [Project Name]
|
|
@@ -34,7 +34,7 @@ Decimal phases appear between their surrounding integers in numeric order.
|
|
|
34
34
|
1. [Observable behavior from user perspective]
|
|
35
35
|
2. [Observable behavior from user perspective]
|
|
36
36
|
3. [Observable behavior from user perspective]
|
|
37
|
-
**Discuss**: Unlikely (
|
|
37
|
+
**Discuss**: Unlikely (mechanical setup, zero design decisions)
|
|
38
38
|
**Design**: Unlikely (backend only)
|
|
39
39
|
**Research**: Unlikely (established patterns)
|
|
40
40
|
**Plans**: [Number of plans, e.g., "3 plans" or "TBD"]
|
|
@@ -51,7 +51,7 @@ Plans:
|
|
|
51
51
|
**Success Criteria** (what must be TRUE):
|
|
52
52
|
1. [Observable behavior from user perspective]
|
|
53
53
|
2. [Observable behavior from user perspective]
|
|
54
|
-
**Discuss**: Likely (
|
|
54
|
+
**Discuss**: Likely (assumes email/password only, unclear if social login needed, session duration unspecified)
|
|
55
55
|
**Discuss topics**: [What to clarify]
|
|
56
56
|
**Design**: Likely (significant new UI)
|
|
57
57
|
**Design focus**: [What to design]
|
|
@@ -81,7 +81,8 @@ Plans:
|
|
|
81
81
|
1. [Observable behavior from user perspective]
|
|
82
82
|
2. [Observable behavior from user perspective]
|
|
83
83
|
3. [Observable behavior from user perspective]
|
|
84
|
-
**Discuss**:
|
|
84
|
+
**Discuss**: Likely (assumes standard REST patterns, error handling strategy unspecified, rate limiting approach unclear)
|
|
85
|
+
**Discuss topics**: [Integration scope, error UX, retry behavior]
|
|
85
86
|
**Design**: Unlikely (API only)
|
|
86
87
|
**Research**: Likely (external API)
|
|
87
88
|
**Research topics**: [What needs investigating]
|
|
@@ -98,7 +99,8 @@ Plans:
|
|
|
98
99
|
**Success Criteria** (what must be TRUE):
|
|
99
100
|
1. [Observable behavior from user perspective]
|
|
100
101
|
2. [Observable behavior from user perspective]
|
|
101
|
-
**Discuss**:
|
|
102
|
+
**Discuss**: Likely (assumes priority ordering of requirements, unclear if batch processing needed, edge case handling unspecified)
|
|
103
|
+
**Discuss topics**: [Priority rules, batch vs individual, error recovery]
|
|
102
104
|
**Design**: Unlikely (backend only)
|
|
103
105
|
**Research**: Unlikely (internal patterns)
|
|
104
106
|
**Plans**: [Number of plans]
|
|
@@ -120,7 +122,7 @@ Phases execute in numeric order: 2 → 2.1 → 2.2 → 3 → 3.1 → 4
|
|
|
120
122
|
```
|
|
121
123
|
|
|
122
124
|
<guidelines>
|
|
123
|
-
**Initial planning
|
|
125
|
+
**Initial planning:**
|
|
124
126
|
- Phase count derived from actual work (not a target number)
|
|
125
127
|
- Each phase delivers something coherent
|
|
126
128
|
- Phases can have 1+ plans (split by orchestrator judgment — multiple subsystems, context budget, vertical slices)
|
|
@@ -137,7 +139,7 @@ Phases execute in numeric order: 2 → 2.1 → 2.2 → 3 → 3.1 → 4
|
|
|
137
139
|
- Format: "User can [action]" or "[Thing] works/exists"
|
|
138
140
|
|
|
139
141
|
**Pre-work indicators** (all use Likely/Unlikely with parenthetical reason):
|
|
140
|
-
- `Discuss` -
|
|
142
|
+
- `Discuss` - Default Likely. Surfaces Claude's assumptions before planning. Unlikely only for fully mechanical zero-decision work (version bump, rename-only refactor, config-only change, pure deletion/cleanup). When Likely, rationale enumerates 2-4 phase-specific assumptions or open questions.
|
|
141
143
|
- `Design` - Visual unknowns: significant new UI, novel interactions, multi-screen flows
|
|
142
144
|
- `Research` - Technical unknowns: external APIs, new libraries, architectural decisions
|
|
143
145
|
- Include topic/focus fields only when Likely
|
|
@@ -381,7 +381,7 @@ Generate patch file from the adhoc commit:
|
|
|
381
381
|
```bash
|
|
382
382
|
patch_file=".planning/adhoc/${timestamp}-${slug}.patch"
|
|
383
383
|
|
|
384
|
-
|
|
384
|
+
ms-tools generate-adhoc-patch "$commit_hash" "$patch_file"
|
|
385
385
|
```
|
|
386
386
|
|
|
387
387
|
If patch generated (file exists and non-empty):
|