mindsystem-cc 3.20.0 → 3.22.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 +9 -18
- package/agents/ms-mockup-designer.md +1 -1
- package/agents/ms-plan-checker.md +30 -30
- package/agents/ms-plan-writer.md +1 -1
- package/agents/ms-product-researcher.md +71 -0
- package/agents/ms-research-synthesizer.md +1 -1
- package/agents/ms-researcher.md +8 -8
- package/agents/ms-roadmapper.md +9 -13
- package/agents/ms-verifier.md +25 -117
- package/bin/install.js +68 -5
- package/commands/ms/add-phase.md +7 -8
- package/commands/ms/add-todo.md +3 -4
- package/commands/ms/adhoc.md +4 -5
- package/commands/ms/audit-milestone.md +15 -14
- package/commands/ms/complete-milestone.md +27 -24
- package/commands/ms/config.md +229 -0
- package/commands/ms/create-roadmap.md +3 -4
- package/commands/ms/debug.md +3 -4
- package/commands/ms/design-phase.md +11 -13
- package/commands/ms/discuss-phase.md +26 -22
- package/commands/ms/doctor.md +28 -205
- package/commands/ms/execute-phase.md +20 -12
- package/commands/ms/help.md +46 -39
- package/commands/ms/insert-phase.md +6 -7
- package/commands/ms/map-codebase.md +1 -2
- package/commands/ms/new-milestone.md +41 -19
- package/commands/ms/new-project.md +56 -47
- package/commands/ms/plan-milestone-gaps.md +7 -9
- package/commands/ms/plan-phase.md +4 -5
- package/commands/ms/progress.md +3 -4
- package/commands/ms/remove-phase.md +3 -4
- package/commands/ms/research-phase.md +11 -16
- package/commands/ms/research-project.md +19 -26
- package/commands/ms/review-design.md +4 -2
- package/commands/ms/verify-work.md +6 -8
- 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/references/verification-patterns.md +0 -37
- package/mindsystem/templates/config.json +2 -1
- 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 +10 -8
- package/mindsystem/templates/state.md +2 -2
- package/mindsystem/templates/verification-report.md +3 -26
- package/mindsystem/workflows/adhoc.md +1 -1
- package/mindsystem/workflows/complete-milestone.md +40 -75
- package/mindsystem/workflows/discuss-phase.md +141 -65
- package/mindsystem/workflows/doctor-fixes.md +273 -0
- package/mindsystem/workflows/execute-phase.md +9 -21
- package/mindsystem/workflows/execute-plan.md +3 -0
- package/mindsystem/workflows/map-codebase.md +6 -12
- package/mindsystem/workflows/mockup-generation.md +47 -23
- package/mindsystem/workflows/plan-phase.md +13 -6
- package/mindsystem/workflows/transition.md +2 -2
- package/mindsystem/workflows/verify-work.md +97 -70
- 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 +2884 -0
- package/scripts/test_ms_tools.py +1622 -0
- package/agents/ms-flutter-code-quality.md +0 -169
- package/agents/ms-flutter-reviewer.md +0 -211
- package/agents/ms-flutter-simplifier.md +0 -79
- package/commands/ms/list-phase-assumptions.md +0 -56
- package/mindsystem/workflows/list-phase-assumptions.md +0 -178
- package/mindsystem/workflows/verify-phase.md +0 -625
- 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
- package/skills/flutter-code-quality/SKILL.md +0 -143
- package/skills/flutter-code-simplification/SKILL.md +0 -102
- package/skills/flutter-senior-review/AGENTS.md +0 -869
- package/skills/flutter-senior-review/SKILL.md +0 -205
- package/skills/flutter-senior-review/principles/dependencies-data-not-callbacks.md +0 -75
- package/skills/flutter-senior-review/principles/dependencies-provider-tree.md +0 -85
- package/skills/flutter-senior-review/principles/dependencies-temporal-coupling.md +0 -97
- package/skills/flutter-senior-review/principles/pragmatism-consistent-error-handling.md +0 -130
- package/skills/flutter-senior-review/principles/pragmatism-speculative-generality.md +0 -91
- package/skills/flutter-senior-review/principles/state-data-clumps.md +0 -64
- package/skills/flutter-senior-review/principles/state-invalid-states.md +0 -53
- package/skills/flutter-senior-review/principles/state-single-source-of-truth.md +0 -68
- package/skills/flutter-senior-review/principles/state-type-hierarchies.md +0 -75
- package/skills/flutter-senior-review/principles/structure-composition-over-config.md +0 -105
- package/skills/flutter-senior-review/principles/structure-shared-visual-patterns.md +0 -107
- package/skills/flutter-senior-review/principles/structure-wrapper-pattern.md +0 -90
|
@@ -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)
|
|
@@ -133,11 +135,11 @@ Phases execute in numeric order: 2 → 2.1 → 2.2 → 3 → 3.1 → 4
|
|
|
133
135
|
- 2-5 observable behaviors per phase (from user's perspective)
|
|
134
136
|
- Cross-checked against requirements during roadmap creation
|
|
135
137
|
- Flow downstream to `## Must-Haves` in plan-phase
|
|
136
|
-
- Verified by
|
|
138
|
+
- Verified by ms-verifier agent after execution
|
|
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
|
|
@@ -115,8 +115,8 @@ STATE.md is the project's short-term memory spanning all phases and sessions.
|
|
|
115
115
|
- adhoc: After adhoc work completed
|
|
116
116
|
- Add entry to "Recent Adhoc Work" section
|
|
117
117
|
- Keep last 5 entries (older entries remain in .planning/adhoc/)
|
|
118
|
-
- Any state-changing command:
|
|
119
|
-
-
|
|
118
|
+
- Any state-changing command: `ms-tools set-last-command "ms:{command} {args}"`
|
|
119
|
+
- Appends real local timestamp via `datetime.now()`
|
|
120
120
|
- Enables status line to show context without running /ms:progress
|
|
121
121
|
|
|
122
122
|
</lifecycle>
|
|
@@ -10,15 +10,16 @@ Template for `.planning/phases/XX-name/{phase}-VERIFICATION.md` — phase goal v
|
|
|
10
10
|
---
|
|
11
11
|
phase: XX-name
|
|
12
12
|
verified: YYYY-MM-DDTHH:MM:SSZ
|
|
13
|
-
status: passed | gaps_found
|
|
13
|
+
status: passed | gaps_found
|
|
14
14
|
score: N/M must-haves verified
|
|
15
|
+
uncertain: N # UNCERTAIN truths + NEEDS HUMAN requirements
|
|
15
16
|
---
|
|
16
17
|
|
|
17
18
|
# Phase {X}: {Name} Verification Report
|
|
18
19
|
|
|
19
20
|
**Phase Goal:** {goal from ROADMAP.md}
|
|
20
21
|
**Verified:** {timestamp}
|
|
21
|
-
**Status:** {passed | gaps_found
|
|
22
|
+
**Status:** {passed | gaps_found}
|
|
22
23
|
|
|
23
24
|
## Goal Achievement
|
|
24
25
|
|
|
@@ -72,23 +73,6 @@ score: N/M must-haves verified
|
|
|
72
73
|
|
|
73
74
|
**Anti-patterns:** {N} found ({blockers} blockers, {warnings} warnings)
|
|
74
75
|
|
|
75
|
-
## Human Verification Required
|
|
76
|
-
|
|
77
|
-
{If no human verification needed:}
|
|
78
|
-
None — all verifiable items checked programmatically.
|
|
79
|
-
|
|
80
|
-
{If human verification needed:}
|
|
81
|
-
|
|
82
|
-
### 1. {Test Name}
|
|
83
|
-
**Test:** {What to do}
|
|
84
|
-
**Expected:** {What should happen}
|
|
85
|
-
**Why human:** {Why can't verify programmatically}
|
|
86
|
-
|
|
87
|
-
### 2. {Test Name}
|
|
88
|
-
**Test:** {What to do}
|
|
89
|
-
**Expected:** {What should happen}
|
|
90
|
-
**Why human:** {Why can't verify programmatically}
|
|
91
|
-
|
|
92
76
|
## Gaps Summary
|
|
93
77
|
|
|
94
78
|
{If no gaps:}
|
|
@@ -149,7 +133,6 @@ None — all verifiable items checked programmatically.
|
|
|
149
133
|
**Verification approach:** Goal-backward (derived from phase goal)
|
|
150
134
|
**Must-haves source:** {PLAN.md ## Must-Haves section | derived from ROADMAP.md goal}
|
|
151
135
|
**Automated checks:** {N} passed, {M} failed
|
|
152
|
-
**Human checks required:** {N}
|
|
153
136
|
**Total verification time:** {duration}
|
|
154
137
|
|
|
155
138
|
---
|
|
@@ -164,7 +147,6 @@ None — all verifiable items checked programmatically.
|
|
|
164
147
|
**Status values:**
|
|
165
148
|
- `passed` — All must-haves verified, no blockers
|
|
166
149
|
- `gaps_found` — One or more critical gaps found
|
|
167
|
-
- `human_needed` — Automated checks pass but human verification required
|
|
168
150
|
|
|
169
151
|
**Evidence types:**
|
|
170
152
|
- For EXISTS: "File at path, exports X"
|
|
@@ -257,10 +239,6 @@ score: 2/5 must-haves verified
|
|
|
257
239
|
|
|
258
240
|
**Anti-patterns:** 3 found (2 blockers, 1 warning)
|
|
259
241
|
|
|
260
|
-
## Human Verification Required
|
|
261
|
-
|
|
262
|
-
None needed until automated gaps are fixed.
|
|
263
|
-
|
|
264
242
|
## Gaps Summary
|
|
265
243
|
|
|
266
244
|
### Critical Gaps (Block Progress)
|
|
@@ -313,7 +291,6 @@ None needed until automated gaps are fixed.
|
|
|
313
291
|
**Verification approach:** Goal-backward (derived from phase goal)
|
|
314
292
|
**Must-haves source:** 03-01-PLAN.md ## Must-Haves section
|
|
315
293
|
**Automated checks:** 2 passed, 8 failed
|
|
316
|
-
**Human checks required:** 0 (blocked by automated failures)
|
|
317
294
|
**Total verification time:** 2 min
|
|
318
295
|
|
|
319
296
|
---
|
|
@@ -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):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<purpose>
|
|
2
2
|
|
|
3
|
-
Mark a shipped
|
|
3
|
+
Mark a shipped milestone as complete. This creates a historical record in MILESTONES.md, performs full PROJECT.md evolution review, and archives ROADMAP.md and REQUIREMENTS.md.
|
|
4
4
|
|
|
5
5
|
</purpose>
|
|
6
6
|
|
|
@@ -20,9 +20,9 @@ Mark a shipped version (v1.0, v1.1, v2.0) as complete. This creates a historical
|
|
|
20
20
|
|
|
21
21
|
When a milestone completes, this workflow:
|
|
22
22
|
|
|
23
|
-
1. Creates `.planning/milestones/
|
|
24
|
-
2. Extracts full milestone details to `.planning/milestones/
|
|
25
|
-
3. Archives requirements to `.planning/milestones/
|
|
23
|
+
1. Creates `.planning/milestones/{slug}/` directory for all archive files
|
|
24
|
+
2. Extracts full milestone details to `.planning/milestones/{slug}/ROADMAP.md`
|
|
25
|
+
3. Archives requirements to `.planning/milestones/{slug}/REQUIREMENTS.md`
|
|
26
26
|
4. Archives milestone files via script (audit, context, research — whichever exist)
|
|
27
27
|
5. Consolidates phase summaries, deletes artifacts, moves phase dirs via script
|
|
28
28
|
6. Deletes REQUIREMENTS.md (fresh one created for next milestone)
|
|
@@ -68,7 +68,7 @@ cat .planning/config.json 2>/dev/null
|
|
|
68
68
|
Run the stats script to get readiness status and git statistics:
|
|
69
69
|
|
|
70
70
|
```bash
|
|
71
|
-
|
|
71
|
+
ms-tools gather-milestone-stats $PHASE_START $PHASE_END
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
The script outputs:
|
|
@@ -133,7 +133,7 @@ If exists, prepend new entry (reverse chronological order).
|
|
|
133
133
|
Use template from `templates/milestone.md`:
|
|
134
134
|
|
|
135
135
|
```markdown
|
|
136
|
-
##
|
|
136
|
+
## [Name] (Shipped: YYYY-MM-DD)
|
|
137
137
|
|
|
138
138
|
**Delivered:** [One sentence from user]
|
|
139
139
|
|
|
@@ -185,7 +185,7 @@ cat .planning/phases/*-*/*-SUMMARY.md
|
|
|
185
185
|
|
|
186
186
|
**Validated section:**
|
|
187
187
|
- All requirements shipped in this milestone → Add to Validated
|
|
188
|
-
- Format: `- ✓ [Requirement] —
|
|
188
|
+
- Format: `- ✓ [Requirement] — [Name]`
|
|
189
189
|
|
|
190
190
|
**Out of Scope audit:**
|
|
191
191
|
- Review each item — is the reasoning still valid?
|
|
@@ -218,10 +218,10 @@ Make all edits inline. Update "Last updated" footer:
|
|
|
218
218
|
|
|
219
219
|
```markdown
|
|
220
220
|
---
|
|
221
|
-
*Last updated: [date] after
|
|
221
|
+
*Last updated: [date] after [Name] milestone*
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
-
**Example full evolution (
|
|
224
|
+
**Example full evolution (MVP → Security & Polish prep):**
|
|
225
225
|
|
|
226
226
|
Before:
|
|
227
227
|
|
|
@@ -249,7 +249,7 @@ Currently using Miro or physical whiteboards.
|
|
|
249
249
|
- Video chat — use external tools
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
After
|
|
252
|
+
After MVP:
|
|
253
253
|
|
|
254
254
|
```markdown
|
|
255
255
|
## What This Is
|
|
@@ -267,9 +267,9 @@ Currently using Miro but frustrated by complexity and latency.
|
|
|
267
267
|
|
|
268
268
|
## Validated
|
|
269
269
|
|
|
270
|
-
- ✓ Canvas drawing tools —
|
|
271
|
-
- ✓ Real-time sync < 500ms —
|
|
272
|
-
- ✓ User authentication —
|
|
270
|
+
- ✓ Canvas drawing tools — MVP
|
|
271
|
+
- ✓ Real-time sync < 500ms — MVP (achieved 200ms avg)
|
|
272
|
+
- ✓ User authentication — MVP
|
|
273
273
|
|
|
274
274
|
## Out of Scope
|
|
275
275
|
|
|
@@ -279,7 +279,7 @@ Currently using Miro but frustrated by complexity and latency.
|
|
|
279
279
|
|
|
280
280
|
## Technical Context
|
|
281
281
|
|
|
282
|
-
Shipped
|
|
282
|
+
Shipped MVP with 2,400 LOC TypeScript.
|
|
283
283
|
Tech stack: Next.js, Supabase, Canvas API.
|
|
284
284
|
Initial user testing showed demand for shape tools.
|
|
285
285
|
```
|
|
@@ -305,9 +305,9 @@ Extract completed milestone details and create archive file.
|
|
|
305
305
|
|
|
306
306
|
1. Create milestone directory and archive file:
|
|
307
307
|
```bash
|
|
308
|
-
mkdir -p .planning/milestones/
|
|
308
|
+
mkdir -p .planning/milestones/{slug}
|
|
309
309
|
```
|
|
310
|
-
Archive file path: `.planning/milestones/
|
|
310
|
+
Archive file path: `.planning/milestones/{slug}/ROADMAP.md`
|
|
311
311
|
|
|
312
312
|
2. Read `~/.claude/mindsystem/templates/milestone-archive.md` template
|
|
313
313
|
|
|
@@ -332,7 +332,7 @@ Extract completed milestone details and create archive file.
|
|
|
332
332
|
- {{DECISIONS_FROM_PROJECT}} — Key decisions from PROJECT.md
|
|
333
333
|
- {{ISSUES_RESOLVED_DURING_MILESTONE}} — From summaries
|
|
334
334
|
|
|
335
|
-
6. Write filled template to `.planning/milestones/
|
|
335
|
+
6. Write filled template to `.planning/milestones/{slug}/ROADMAP.md`
|
|
336
336
|
|
|
337
337
|
7. Delete ROADMAP.md (fresh one created for next milestone):
|
|
338
338
|
```bash
|
|
@@ -341,17 +341,17 @@ Extract completed milestone details and create archive file.
|
|
|
341
341
|
|
|
342
342
|
8. Verify archive exists:
|
|
343
343
|
```bash
|
|
344
|
-
ls .planning/milestones/
|
|
344
|
+
ls .planning/milestones/{slug}/ROADMAP.md
|
|
345
345
|
```
|
|
346
346
|
|
|
347
347
|
9. Confirm roadmap archive complete:
|
|
348
348
|
|
|
349
349
|
```
|
|
350
|
-
✅
|
|
350
|
+
✅ Roadmap archived to milestones/{slug}/ROADMAP.md
|
|
351
351
|
✅ ROADMAP.md deleted (fresh one for next milestone)
|
|
352
352
|
```
|
|
353
353
|
|
|
354
|
-
**Note:** Phase directories are moved to `milestones/
|
|
354
|
+
**Note:** Phase directories are moved to `milestones/{slug}/phases/` by the archive_and_cleanup_phases step. After milestone completion, `.planning/phases/` contains only the next milestone's work. Phase numbering continues (MVP phases 1-4, next milestone phases 5-8, etc.).
|
|
355
355
|
|
|
356
356
|
</step>
|
|
357
357
|
|
|
@@ -366,7 +366,7 @@ Archive requirements and prepare for fresh requirements in next milestone.
|
|
|
366
366
|
cat .planning/REQUIREMENTS.md
|
|
367
367
|
```
|
|
368
368
|
|
|
369
|
-
2. Create archive file: `.planning/milestones/
|
|
369
|
+
2. Create archive file: `.planning/milestones/{slug}/REQUIREMENTS.md`
|
|
370
370
|
|
|
371
371
|
3. Transform requirements for archive:
|
|
372
372
|
- Mark all v1 requirements as `[x]` complete
|
|
@@ -379,12 +379,12 @@ Archive requirements and prepare for fresh requirements in next milestone.
|
|
|
379
379
|
|
|
380
380
|
4. Write archive file with header:
|
|
381
381
|
```markdown
|
|
382
|
-
# Requirements Archive:
|
|
382
|
+
# Requirements Archive: [Milestone Name]
|
|
383
383
|
|
|
384
384
|
**Archived:** [DATE]
|
|
385
385
|
**Status:** ✅ SHIPPED
|
|
386
386
|
|
|
387
|
-
This is the archived requirements specification for
|
|
387
|
+
This is the archived requirements specification for [Milestone Name].
|
|
388
388
|
For current requirements, see `.planning/REQUIREMENTS.md` (created for next milestone).
|
|
389
389
|
|
|
390
390
|
---
|
|
@@ -400,7 +400,7 @@ Archive requirements and prepare for fresh requirements in next milestone.
|
|
|
400
400
|
**Dropped:** [list any requirements removed and why]
|
|
401
401
|
|
|
402
402
|
---
|
|
403
|
-
*Archived: [DATE] as part of
|
|
403
|
+
*Archived: [DATE] as part of [Milestone Name] milestone completion*
|
|
404
404
|
```
|
|
405
405
|
|
|
406
406
|
5. Delete original REQUIREMENTS.md:
|
|
@@ -410,7 +410,7 @@ Archive requirements and prepare for fresh requirements in next milestone.
|
|
|
410
410
|
|
|
411
411
|
6. Confirm:
|
|
412
412
|
```
|
|
413
|
-
✅ Requirements archived to milestones/
|
|
413
|
+
✅ Requirements archived to milestones/{slug}/REQUIREMENTS.md
|
|
414
414
|
✅ REQUIREMENTS.md deleted (fresh one needed for next milestone)
|
|
415
415
|
```
|
|
416
416
|
|
|
@@ -423,7 +423,7 @@ Archive requirements and prepare for fresh requirements in next milestone.
|
|
|
423
423
|
Archive optional milestone files (audit, context, research) to the milestone directory:
|
|
424
424
|
|
|
425
425
|
```bash
|
|
426
|
-
|
|
426
|
+
ms-tools archive-milestone-files {slug}
|
|
427
427
|
```
|
|
428
428
|
|
|
429
429
|
The script moves whichever files exist and reports what was archived. Files that don't exist are skipped silently.
|
|
@@ -435,22 +435,22 @@ The script moves whichever files exist and reports what was archived. Files that
|
|
|
435
435
|
Consolidate phase summaries, delete raw artifacts, and move phase directories to the milestone archive. This runs after all steps that read summaries (extract_accomplishments, evolve_project_full_review) and after archive_milestone creates the milestone directory.
|
|
436
436
|
|
|
437
437
|
```bash
|
|
438
|
-
|
|
438
|
+
ms-tools archive-milestone-phases $PHASE_START $PHASE_END {slug}
|
|
439
439
|
```
|
|
440
440
|
|
|
441
441
|
Verify archive:
|
|
442
442
|
|
|
443
443
|
```bash
|
|
444
|
-
ls .planning/milestones/
|
|
445
|
-
ls .planning/milestones/
|
|
444
|
+
ls .planning/milestones/{slug}/PHASE-SUMMARIES.md
|
|
445
|
+
ls .planning/milestones/{slug}/phases/
|
|
446
446
|
```
|
|
447
447
|
|
|
448
448
|
Present:
|
|
449
449
|
|
|
450
450
|
```
|
|
451
|
-
✅ Phase summaries consolidated to milestones/
|
|
451
|
+
✅ Phase summaries consolidated to milestones/{slug}/PHASE-SUMMARIES.md
|
|
452
452
|
✅ Raw artifacts deleted from phase directories
|
|
453
|
-
✅ Phase directories moved to milestones/
|
|
453
|
+
✅ Phase directories moved to milestones/{slug}/phases/
|
|
454
454
|
✅ .planning/phases/ clean for next milestone
|
|
455
455
|
```
|
|
456
456
|
|
|
@@ -479,7 +479,7 @@ See: .planning/PROJECT.md (updated [today])
|
|
|
479
479
|
Phase: [Next phase] of [Total] ([Phase name])
|
|
480
480
|
Plan: Not started
|
|
481
481
|
Status: Ready to plan
|
|
482
|
-
Last activity: [today] —
|
|
482
|
+
Last activity: [today] — [Name] milestone complete
|
|
483
483
|
|
|
484
484
|
Progress: [updated progress bar]
|
|
485
485
|
```
|
|
@@ -492,45 +492,13 @@ Progress: [updated progress bar]
|
|
|
492
492
|
|
|
493
493
|
</step>
|
|
494
494
|
|
|
495
|
-
<step name="git_tag">
|
|
496
|
-
|
|
497
|
-
Create git tag for milestone:
|
|
498
|
-
|
|
499
|
-
```bash
|
|
500
|
-
git tag -a v[X.Y] -m "$(cat <<'EOF'
|
|
501
|
-
v[X.Y] [Name]
|
|
502
|
-
|
|
503
|
-
Delivered: [One sentence]
|
|
504
|
-
|
|
505
|
-
Key accomplishments:
|
|
506
|
-
- [Item 1]
|
|
507
|
-
- [Item 2]
|
|
508
|
-
- [Item 3]
|
|
509
|
-
|
|
510
|
-
See .planning/MILESTONES.md for full details.
|
|
511
|
-
EOF
|
|
512
|
-
)"
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
Confirm: "Tagged: v[X.Y]"
|
|
516
|
-
|
|
517
|
-
Ask: "Push tag to remote? (y/n)"
|
|
518
|
-
|
|
519
|
-
If yes:
|
|
520
|
-
|
|
521
|
-
```bash
|
|
522
|
-
git push origin v[X.Y]
|
|
523
|
-
```
|
|
524
|
-
|
|
525
|
-
</step>
|
|
526
|
-
|
|
527
495
|
<step name="git_commit_milestone">
|
|
528
496
|
|
|
529
497
|
Commit milestone completion including archive files and deletions.
|
|
530
498
|
|
|
531
499
|
```bash
|
|
532
500
|
# Stage archive directory (covers ROADMAP, REQUIREMENTS, AUDIT, CONTEXT, research)
|
|
533
|
-
git add .planning/milestones/
|
|
501
|
+
git add .planning/milestones/{slug}/
|
|
534
502
|
|
|
535
503
|
# Stage updated files
|
|
536
504
|
git add .planning/MILESTONES.md
|
|
@@ -542,9 +510,9 @@ git add -u .planning/
|
|
|
542
510
|
|
|
543
511
|
# Commit with descriptive message
|
|
544
512
|
git commit -m "$(cat <<'EOF'
|
|
545
|
-
chore: complete
|
|
513
|
+
chore: complete [Name] milestone
|
|
546
514
|
|
|
547
|
-
Archived to milestones/
|
|
515
|
+
Archived to milestones/{slug}/:
|
|
548
516
|
- ROADMAP.md
|
|
549
517
|
- REQUIREMENTS.md
|
|
550
518
|
- PHASE-SUMMARIES.md (consolidated from phase directories)
|
|
@@ -567,32 +535,29 @@ Updated:
|
|
|
567
535
|
- MILESTONES.md (new entry)
|
|
568
536
|
- PROJECT.md (requirements → Validated)
|
|
569
537
|
- STATE.md (reset for next milestone)
|
|
570
|
-
|
|
571
|
-
Tagged: v[X.Y]
|
|
572
538
|
EOF
|
|
573
539
|
)"
|
|
574
540
|
```
|
|
575
541
|
|
|
576
|
-
Confirm: "Committed: chore: complete
|
|
542
|
+
Confirm: "Committed: chore: complete [Name] milestone"
|
|
577
543
|
|
|
578
544
|
</step>
|
|
579
545
|
|
|
580
546
|
<step name="offer_next">
|
|
581
547
|
|
|
582
548
|
```
|
|
583
|
-
✅ Milestone
|
|
549
|
+
✅ Milestone [Name] complete
|
|
584
550
|
|
|
585
551
|
Shipped:
|
|
586
552
|
- [N] phases ([M] plans, [P] tasks)
|
|
587
553
|
- [One sentence of what shipped]
|
|
588
554
|
|
|
589
|
-
Archived to milestones/
|
|
555
|
+
Archived to milestones/{slug}/:
|
|
590
556
|
- ROADMAP.md
|
|
591
557
|
- REQUIREMENTS.md
|
|
592
558
|
- research/ (if existed)
|
|
593
559
|
|
|
594
560
|
Summary: .planning/MILESTONES.md
|
|
595
|
-
Tag: v[X.Y]
|
|
596
561
|
|
|
597
562
|
---
|
|
598
563
|
|
|
@@ -624,8 +589,8 @@ Milestone completion is successful when (ordered by skip risk):
|
|
|
624
589
|
- [ ] All shipped requirements moved to Validated in PROJECT.md
|
|
625
590
|
- [ ] Key Decisions updated with outcomes
|
|
626
591
|
- [ ] MILESTONES.md entry created with stats and accomplishments
|
|
627
|
-
- [ ] Roadmap archive created (milestones/
|
|
628
|
-
- [ ] Requirements archive created (milestones/
|
|
592
|
+
- [ ] Roadmap archive created (milestones/{slug}/ROADMAP.md)
|
|
593
|
+
- [ ] Requirements archive created (milestones/{slug}/REQUIREMENTS.md)
|
|
629
594
|
- [ ] REQUIREMENTS.md deleted (fresh for next milestone)
|
|
630
595
|
- [ ] STATE.md updated with fresh project reference
|
|
631
596
|
|