mindsystem-cc 3.13.1 → 3.16.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 (54) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -0
  3. package/agents/ms-codebase-researcher.md +105 -0
  4. package/agents/ms-consolidator.md +137 -286
  5. package/agents/ms-debugger.md +1 -0
  6. package/agents/ms-designer.md +1 -0
  7. package/agents/ms-executor.md +2 -1
  8. package/agents/ms-flutter-reviewer.md +1 -0
  9. package/agents/ms-integration-checker.md +1 -0
  10. package/agents/ms-plan-checker.md +17 -327
  11. package/agents/ms-researcher.md +25 -343
  12. package/agents/ms-roadmapper.md +10 -75
  13. package/agents/ms-verifier.md +33 -309
  14. package/agents/ms-verify-fixer.md +1 -0
  15. package/commands/ms/check-phase.md +24 -55
  16. package/commands/ms/complete-milestone.md +6 -25
  17. package/commands/ms/create-roadmap.md +3 -15
  18. package/commands/ms/design-phase.md +40 -2
  19. package/commands/ms/discuss-phase.md +1 -9
  20. package/commands/ms/doctor.md +224 -0
  21. package/commands/ms/execute-phase.md +22 -12
  22. package/commands/ms/help.md +11 -0
  23. package/commands/ms/new-milestone.md +3 -3
  24. package/commands/ms/plan-phase.md +1 -1
  25. package/commands/ms/research-phase.md +249 -85
  26. package/commands/ms/verify-work.md +7 -13
  27. package/mindsystem/templates/UAT.md +0 -274
  28. package/mindsystem/templates/context.md +1 -11
  29. package/mindsystem/templates/discovery.md +2 -3
  30. package/mindsystem/templates/knowledge.md +99 -0
  31. package/mindsystem/templates/requirements.md +3 -61
  32. package/mindsystem/templates/research-comparison-output.md +50 -0
  33. package/mindsystem/templates/research-feasibility-output.md +43 -0
  34. package/mindsystem/templates/research-project-output.md +81 -0
  35. package/mindsystem/templates/research-subagent-prompt.md +164 -48
  36. package/mindsystem/templates/roadmap-milestone.md +67 -0
  37. package/mindsystem/templates/roadmap.md +2 -66
  38. package/mindsystem/workflows/complete-milestone.md +23 -140
  39. package/mindsystem/workflows/define-requirements.md +4 -8
  40. package/mindsystem/workflows/discuss-phase.md +25 -8
  41. package/mindsystem/workflows/execute-phase.md +34 -0
  42. package/mindsystem/workflows/execute-plan.md +8 -0
  43. package/mindsystem/workflows/mockup-generation.md +1 -1
  44. package/mindsystem/workflows/plan-phase.md +40 -102
  45. package/mindsystem/workflows/verify-work.md +40 -234
  46. package/package.json +1 -1
  47. package/scripts/cleanup-phase-artifacts.sh +68 -0
  48. package/scripts/scan-artifact-subsystems.sh +55 -0
  49. package/scripts/scan-planning-context.py +689 -0
  50. package/skills/flutter-code-quality/SKILL.md +1 -1
  51. package/skills/flutter-code-simplification/SKILL.md +1 -1
  52. package/skills/flutter-senior-review/SKILL.md +1 -1
  53. package/mindsystem/templates/decisions.md +0 -145
  54. package/mindsystem/templates/learnings.md +0 -150
@@ -127,277 +127,3 @@ mock_type: empty_response
127
127
  reason: "[user-provided reason when skipping batch]"
128
128
  ```
129
129
 
130
- ---
131
-
132
- <section_rules>
133
-
134
- **Frontmatter:**
135
- - `status`: OVERWRITE - "testing", "fixing", or "complete"
136
- - `phase`: IMMUTABLE - set on creation
137
- - `source`: IMMUTABLE - SUMMARY files being tested
138
- - `started`: IMMUTABLE - set on creation
139
- - `updated`: OVERWRITE - update on every change
140
- - `current_batch`: OVERWRITE - current batch number
141
- - `mocked_files`: OVERWRITE - list of files with inline mocks, or empty array
142
- - `pre_work_stash`: OVERWRITE - user's pre-existing work stash or null
143
-
144
- **Progress:**
145
- - OVERWRITE after each test result or fix
146
- - Tracks: total, tested, passed, issues, fixing, pending, skipped
147
-
148
- **Current Batch:**
149
- - OVERWRITE entirely on batch transitions
150
- - Shows which batch is active
151
-
152
- **Tests:**
153
- - Each test: OVERWRITE result/fix fields when status changes
154
- - `result` values: [pending], pass, issue, blocked, skipped
155
- - If issue: add `reported` (verbatim), `severity` (inferred), `fix_status`, `fix_commit`, `retry_count`
156
- - If blocked: no additional fields (will be re-tested)
157
- - If skipped: add `reason`
158
-
159
- **Fixes Applied:**
160
- - APPEND only when fix committed
161
- - Records commit hash, test number, description, files
162
-
163
- **Batches:**
164
- - Each batch: OVERWRITE status and counts as batch progresses
165
- - Tracks: tests, status, mock_type, passed, issues
166
-
167
- **Assumptions:**
168
- - APPEND when test is skipped
169
- - Records test number, name, expected behavior, reason
170
-
171
- </section_rules>
172
-
173
- <fix_lifecycle>
174
-
175
- **When issue reported:**
176
- 1. result → "issue"
177
- 2. Add `reported`, `severity`
178
- 3. Add `fix_status: investigating`, `retry_count: 0`
179
-
180
- **When fix committed:**
181
- 4. `fix_status: applied`
182
- 5. `fix_commit: {hash}`
183
- 6. Append to "Fixes Applied" section
184
-
185
- **When re-test passes:**
186
- 7. result → "pass"
187
- 8. `fix_status: verified`
188
-
189
- **When re-test fails:**
190
- 9. Increment `retry_count`
191
- 10. If `retry_count >= 2`: offer skip/escalate options
192
- 11. If user chooses skip: result → "skipped", add reason
193
-
194
- </fix_lifecycle>
195
-
196
- <mock_lifecycle>
197
-
198
- **When batch needs mocks:**
199
- 1. Edit service methods inline (hardcoded return values)
200
- 2. Record files in `mocked_files` frontmatter
201
- 3. User hot reloads, testing proceeds
202
-
203
- **When fix needed:**
204
- 1. `git stash push -m "mocks-batch-N" -- <mocked_files>`
205
- 2. Fix applied, committed
206
- 3. `git stash pop` to restore mocks
207
- 4. If conflict: take fix version, remove file from `mocked_files`
208
-
209
- **On batch transition (different mock_type):**
210
- 1. Revert old mocks: `git checkout -- <mocked_files>`
211
- 2. Clear `mocked_files`, apply new inline mocks
212
-
213
- **On session complete:**
214
- 1. Revert all mocks: `git checkout -- <mocked_files>`
215
- 2. Restore pre_work_stash if exists
216
-
217
- </mock_lifecycle>
218
-
219
- <resume_behavior>
220
-
221
- On `/ms:verify-work` with existing UAT.md:
222
-
223
- 1. Check `status`:
224
- - "complete" → offer to re-run or view results
225
- - "testing" or "fixing" → resume
226
-
227
- 2. Check `mocked_files`:
228
- - If non-empty, verify mocks still present via `git diff --name-only`
229
- - If mocks lost, regenerate for current batch
230
-
231
- 3. Check `current_batch`:
232
- - Resume from that batch
233
-
234
- 4. Check for tests with `fix_status: investigating` or `fix_status: applied`:
235
- - Resume fix/re-test flow for those
236
-
237
- 5. Present remaining tests in current batch
238
-
239
- </resume_behavior>
240
-
241
- <severity_guide>
242
-
243
- Severity is INFERRED from user's natural language, never asked.
244
-
245
- | User describes | Infer |
246
- |----------------|-------|
247
- | Crash, error, exception, fails completely, unusable | blocker |
248
- | Doesn't work, nothing happens, wrong behavior, missing | major |
249
- | Works but..., slow, weird, off, minor, small | minor |
250
- | Color, font, spacing, alignment, looks off | cosmetic |
251
-
252
- Default: **major** (safe default, user can clarify if wrong)
253
-
254
- </severity_guide>
255
-
256
- <good_example>
257
- ```markdown
258
- ---
259
- status: fixing
260
- phase: 04-comments
261
- source: 04-01-SUMMARY.md, 04-02-SUMMARY.md
262
- started: 2025-01-15T10:30:00Z
263
- updated: 2025-01-15T11:15:00Z
264
- current_batch: 2
265
- mocked_files: [src/services/auth_service.dart, src/services/api_service.dart]
266
- pre_work_stash: null
267
- ---
268
-
269
- ## Progress
270
-
271
- total: 12
272
- tested: 7
273
- passed: 5
274
- issues: 1
275
- fixing: 1
276
- pending: 5
277
- skipped: 0
278
-
279
- ## Current Batch
280
-
281
- batch: 2 of 4
282
- name: "Error States"
283
- mock_type: error_state
284
- tests: [4, 5, 6, 7]
285
- status: testing
286
-
287
- ## Tests
288
-
289
- ### 1. View Comments on Post
290
- expected: Comments section expands, shows count and comment list
291
- mock_required: false
292
- mock_type: null
293
- result: pass
294
-
295
- ### 2. Create Top-Level Comment
296
- expected: Submit comment via rich text editor, appears in list with author info
297
- mock_required: false
298
- mock_type: null
299
- result: pass
300
-
301
- ### 3. Reply to a Comment
302
- expected: Click Reply, inline composer appears, submit shows nested reply
303
- mock_required: false
304
- mock_type: null
305
- result: pass
306
-
307
- ### 4. Login Error Message
308
- expected: Invalid credentials show "Invalid email or password" message
309
- mock_required: true
310
- mock_type: error_state
311
- result: issue
312
- reported: "Shows 'Something went wrong' instead of specific error"
313
- severity: major
314
- fix_status: applied
315
- fix_commit: abc123f
316
- retry_count: 0
317
-
318
- ### 5. Network Error Handling
319
- expected: No connection shows "Check your internet connection" with retry button
320
- mock_required: true
321
- mock_type: error_state
322
- result: [pending]
323
-
324
- ### 6. Server Error Display
325
- expected: 500 error shows "Try again later" message
326
- mock_required: true
327
- mock_type: error_state
328
- result: [pending]
329
-
330
- ### 7. Rate Limit Message
331
- expected: Too many requests shows "Too many attempts" with countdown
332
- mock_required: true
333
- mock_type: error_state
334
- result: [pending]
335
-
336
- ### 8. Premium Badge Display
337
- expected: Premium users show gold badge on profile
338
- mock_required: true
339
- mock_type: premium_user
340
- result: [pending]
341
-
342
- ### 9. Premium Feature Access
343
- expected: Premium features accessible, non-premium shows upgrade prompt
344
- mock_required: true
345
- mock_type: premium_user
346
- result: [pending]
347
-
348
- ### 10. Subscription Status
349
- expected: Account page shows current subscription tier and expiry
350
- mock_required: true
351
- mock_type: premium_user
352
- result: [pending]
353
-
354
- ### 11. Empty Comments List
355
- expected: Post with no comments shows "No comments yet" placeholder
356
- mock_required: true
357
- mock_type: empty_response
358
- result: [pending]
359
-
360
- ### 12. Empty Search Results
361
- expected: Search with no matches shows "No results found" with suggestions
362
- mock_required: true
363
- mock_type: empty_response
364
- result: [pending]
365
-
366
- ## Fixes Applied
367
-
368
- - commit: abc123f
369
- test: 4
370
- description: "Display actual error message from API response"
371
- files: [src/components/ErrorBanner.tsx]
372
-
373
- ## Batches
374
-
375
- ### Batch 1: No Mocks Required
376
- tests: [1, 2, 3]
377
- status: complete
378
- mock_type: null
379
- passed: 3
380
- issues: 0
381
-
382
- ### Batch 2: Error States
383
- tests: [4, 5, 6, 7]
384
- status: in_progress
385
- mock_type: error_state
386
- passed: 0
387
- issues: 1
388
-
389
- ### Batch 3: Premium Features
390
- tests: [8, 9, 10]
391
- status: pending
392
- mock_type: premium_user
393
-
394
- ### Batch 4: Empty States
395
- tests: [11, 12]
396
- status: pending
397
- mock_type: empty_response
398
-
399
- ## Assumptions
400
-
401
- [none yet]
402
- ```
403
- </good_example>
@@ -161,17 +161,7 @@ Priority is clarity over features. Better to show less and make it obvious than
161
161
  1. **Vision sections** (`<vision>`, `<essential>`, `<specifics>`, `<notes>`) — for human understanding
162
162
  2. **Decision sections** (`<decisions>`, `<deferred>`) — for downstream agent parsing
163
163
 
164
- The user is the visionary. They know:
165
- - How they imagine it working
166
- - What it should feel like
167
- - What's essential vs nice-to-have
168
- - References to things they like
169
-
170
- The user does NOT know (and shouldn't be asked):
171
- - Codebase patterns (Claude reads the code)
172
- - Technical risks (Claude identifies during research)
173
- - Implementation constraints (Claude figures out)
174
- - Success metrics (Claude infers from the work)
164
+ Vision sections capture the user's own words — how they imagine it, what they reference, what excites them. Do not inject technical analysis, risk assessment, or implementation constraints into vision sections.
175
165
 
176
166
  **Vision content should read like:**
177
167
  - A founder describing their product vision
@@ -119,11 +119,10 @@ Create `.planning/phases/XX-name/DISCOVERY.md`:
119
119
  </output_structure>
120
120
 
121
121
  <success_criteria>
122
- - All scope questions answered with authoritative sources
122
+ - Low-confidence findings marked with validation checkpoints
123
123
  - Quality checklist items completed
124
+ - All scope questions answered with authoritative sources
124
125
  - Clear primary recommendation
125
- - Low-confidence findings marked with validation checkpoints
126
- - Ready to inform PLAN.md creation
127
126
  </success_criteria>
128
127
 
129
128
  <guidelines>
@@ -0,0 +1,99 @@
1
+ # Knowledge Template
2
+
3
+ Template for `.planning/knowledge/{subsystem}.md` — per-subsystem knowledge files that persist across phases and milestones.
4
+
5
+ **Purpose:** Curated reference per domain area. Bridges phase-scoped execution artifacts to topic-scoped knowledge. Each file contains decisions, architecture, design, pitfalls, and key files for one subsystem.
6
+
7
+ **Created by:** `ms-consolidator` agent during `execute-phase`
8
+
9
+ **Referenced by:** All pre-planning phases (discuss-phase, design-phase, research-phase, plan-phase)
10
+
11
+ ---
12
+
13
+ <template>
14
+
15
+ ```markdown
16
+ # {subsystem}
17
+
18
+ > {One-line summary of what this subsystem does and the current approach.}
19
+
20
+ ## Decisions
21
+
22
+ | Decision | Rationale | Source |
23
+ |----------|-----------|--------|
24
+ | {choice in 5-10 words} | {reason in 5-10 words} | {vX.Y phase N} |
25
+
26
+ ## Architecture
27
+
28
+ - {Structural pattern or flow description}
29
+ - {How components connect and interact}
30
+
31
+ ## Design
32
+
33
+ - {Visual/UX spec, interaction pattern, or design token}
34
+ - {Component state, layout choice, or color value}
35
+
36
+ ## Pitfalls
37
+
38
+ - **{Brief title}**: {What to watch out for and why}
39
+ - **{Brief title}**: {Operational pattern or known trap}
40
+
41
+ ## Key Files
42
+
43
+ - `{path/to/file}` — {What it does}
44
+ - `{path/to/file}` — {What it does}
45
+ ```
46
+
47
+ </template>
48
+
49
+ <guidelines>
50
+
51
+ ## Section Purposes
52
+
53
+ | Section | Captures | Source Artifacts |
54
+ |---------|----------|-----------------|
55
+ | **Decisions** | Choices with rationale (the "because" part) | CONTEXT.md locked decisions, RESEARCH.md recommendations, PLAN.md approach rationale, SUMMARY.md key-decisions |
56
+ | **Architecture** | How the subsystem works, structural patterns | RESEARCH.md architecture patterns, PLAN.md implementation details, SUMMARY.md accomplishments |
57
+ | **Design** | Visual/UX specs, interaction patterns, design tokens | DESIGN.md component specs, UX flows, color/spacing values |
58
+ | **Pitfalls** | What to watch out for, operational patterns | RESEARCH.md common pitfalls, SUMMARY.md issues/deviations, debug resolutions, adhoc learnings |
59
+ | **Key Files** | Important file paths for this subsystem | SUMMARY.md key-files, PLAN.md file targets |
60
+
61
+ ## Format Rules
62
+
63
+ - **Omit empty sections.** A subsystem with no design work has no Design section.
64
+ - **No frontmatter.** Filename is the address (`knowledge/auth.md` = auth subsystem). The one-line summary under the heading provides orientation.
65
+ - **Decisions table is concise.** 5-10 words per cell. Extract the "because" — not a description of what was done.
66
+ - **Architecture and Design use prose bullets.** Describe how things work, not tables.
67
+ - **Pitfalls use bold titles** for scannability.
68
+ - **Key Files is a flat list.** No nesting, no grouping.
69
+ - **Rewrite semantics, not append.** Each consolidation produces the current state. Superseded decisions get updated. Outdated patterns get removed. The file is always current.
70
+
71
+ ## Cross-Reference Pattern
72
+
73
+ When a subsystem's knowledge references another subsystem, add a parenthetical cross-reference:
74
+
75
+ ```markdown
76
+ - JWT tokens validated by API middleware on all protected routes (see api subsystem)
77
+ ```
78
+
79
+ The cross-reference is navigational, not essential. Each file is self-contained for its consumer.
80
+
81
+ ## Good vs Bad Entries
82
+
83
+ **Good decision entries:**
84
+ - `jose over jsonwebtoken | Better TypeScript support, actively maintained | v1.0 phase 2`
85
+ - `httpOnly cookies over localStorage | XSS prevention | v1.0 phase 2`
86
+
87
+ **Bad decision entries:**
88
+ - `Use React | — | 1` (no rationale)
89
+ - `Implemented authentication | Users can log in | 2` (not a decision, just work done)
90
+
91
+ **Good pitfall entries:**
92
+ - **bcrypt cost factor**: Use 12, not 10. Cost factor 10 is brute-forceable on modern GPUs
93
+ - **JWT payload size**: Keep under 4KB — cookie size limits vary by browser
94
+
95
+ **Bad pitfall entries:**
96
+ - Fixed a bug in auth (description, not a reusable pattern)
97
+ - Missing import in login.ts (trivial, not worth persisting)
98
+
99
+ </guidelines>
@@ -110,23 +110,7 @@ Which phases cover which requirements. Updated by create-roadmap.
110
110
  </guidelines>
111
111
 
112
112
  <evolution>
113
-
114
- **After each phase completes:**
115
- 1. Mark covered requirements as Complete
116
- 2. Update traceability status
117
- 3. Note any requirements that changed scope
118
-
119
- **After roadmap updates:**
120
- 1. Verify all v1 requirements still mapped
121
- 2. Add new requirements if scope expanded
122
- 3. Move requirements to v2/out of scope if descoped
123
-
124
- **Requirement completion criteria:**
125
- - Requirement is "Complete" when:
126
- - Feature is implemented
127
- - Feature is verified (tests pass, manual check done)
128
- - Feature is committed
129
-
113
+ Update requirements after phase completion: mark requirements Complete, update traceability status. After roadmap changes: verify all v1 requirements still mapped, add/move requirements as scope changes. A requirement is "Complete" when implemented, verified, and committed.
130
114
  </evolution>
131
115
 
132
116
  <example>
@@ -143,31 +127,13 @@ Which phases cover which requirements. Updated by create-roadmap.
143
127
 
144
128
  - [ ] **AUTH-01**: User can sign up with email and password
145
129
  - [ ] **AUTH-02**: User receives email verification after signup
146
- - [ ] **AUTH-03**: User can reset password via email link
147
- - [ ] **AUTH-04**: User session persists across browser refresh
148
130
 
149
131
  ### Profiles
150
132
 
151
133
  - [ ] **PROF-01**: User can create profile with display name
152
134
  - [ ] **PROF-02**: User can upload avatar image
153
- - [ ] **PROF-03**: User can write bio (max 500 chars)
154
- - [ ] **PROF-04**: User can view other users' profiles
155
-
156
- ### Content
157
135
 
158
- - [ ] **CONT-01**: User can create text post
159
- - [ ] **CONT-02**: User can upload image with post
160
- - [ ] **CONT-03**: User can edit own posts
161
- - [ ] **CONT-04**: User can delete own posts
162
- - [ ] **CONT-05**: User can view feed of posts
163
-
164
- ### Social
165
-
166
- - [ ] **SOCL-01**: User can follow other users
167
- - [ ] **SOCL-02**: User can unfollow users
168
- - [ ] **SOCL-03**: User can like posts
169
- - [ ] **SOCL-04**: User can comment on posts
170
- - [ ] **SOCL-05**: User can view activity feed (followed users' posts)
136
+ [... additional categories ...]
171
137
 
172
138
  ## v2 Requirements
173
139
 
@@ -175,16 +141,7 @@ Which phases cover which requirements. Updated by create-roadmap.
175
141
 
176
142
  - **NOTF-01**: User receives in-app notifications
177
143
  - **NOTF-02**: User receives email for new followers
178
- - **NOTF-03**: User receives email for comments on own posts
179
- - **NOTF-04**: User can configure notification preferences
180
-
181
- ### Moderation
182
-
183
- - **MODR-01**: User can report content
184
- - **MODR-02**: User can block other users
185
- - **MODR-03**: Admin can view reported content
186
- - **MODR-04**: Admin can remove content
187
- - **MODR-05**: Admin can ban users
144
+ - **NOTF-03**: User can configure notification preferences
188
145
 
189
146
  ## Out of Scope
190
147
 
@@ -193,7 +150,6 @@ Which phases cover which requirements. Updated by create-roadmap.
193
150
  | Real-time chat | High complexity, not core to community value |
194
151
  | Video posts | Storage/bandwidth costs, defer to v2+ |
195
152
  | OAuth login | Email/password sufficient for v1 |
196
- | Mobile app | Web-first, mobile later |
197
153
 
198
154
  ## Traceability
199
155
 
@@ -201,22 +157,8 @@ Which phases cover which requirements. Updated by create-roadmap.
201
157
  |-------------|-------|--------|
202
158
  | AUTH-01 | Phase 1 | Pending |
203
159
  | AUTH-02 | Phase 1 | Pending |
204
- | AUTH-03 | Phase 1 | Pending |
205
- | AUTH-04 | Phase 1 | Pending |
206
160
  | PROF-01 | Phase 2 | Pending |
207
161
  | PROF-02 | Phase 2 | Pending |
208
- | PROF-03 | Phase 2 | Pending |
209
- | PROF-04 | Phase 2 | Pending |
210
- | CONT-01 | Phase 3 | Pending |
211
- | CONT-02 | Phase 3 | Pending |
212
- | CONT-03 | Phase 3 | Pending |
213
- | CONT-04 | Phase 3 | Pending |
214
- | CONT-05 | Phase 3 | Pending |
215
- | SOCL-01 | Phase 4 | Pending |
216
- | SOCL-02 | Phase 4 | Pending |
217
- | SOCL-03 | Phase 4 | Pending |
218
- | SOCL-04 | Phase 4 | Pending |
219
- | SOCL-05 | Phase 4 | Pending |
220
162
 
221
163
  **Coverage:**
222
164
  - v1 requirements: 18 total
@@ -0,0 +1,50 @@
1
+ # Comparison Output Template
2
+
3
+ Template for comparison research — side-by-side evaluation of alternatives.
4
+
5
+ **Purpose:** Provide a structured comparison matrix with clear recommendation for technology/approach decisions.
6
+
7
+ **Created by:** `ms-researcher` agent during comparison research mode
8
+
9
+ ---
10
+
11
+ ## File Template
12
+
13
+ ```markdown
14
+ # Comparison: [Option A] vs [Option B] vs [Option C]
15
+
16
+ **Context:** [what we're deciding]
17
+ **Recommendation:** [option] because [one-liner reason]
18
+
19
+ ## Quick Comparison
20
+
21
+ | Criterion | [A] | [B] | [C] |
22
+ |-----------|-----|-----|-----|
23
+ | [criterion 1] | [rating/value] | [rating/value] | [rating/value] |
24
+ | [criterion 2] | [rating/value] | [rating/value] | [rating/value] |
25
+
26
+ ## Detailed Analysis
27
+
28
+ ### [Option A]
29
+ **Strengths:**
30
+ - [strength 1]
31
+ - [strength 2]
32
+
33
+ **Weaknesses:**
34
+ - [weakness 1]
35
+
36
+ **Best for:** [use cases]
37
+
38
+ ### [Option B]
39
+ ...
40
+
41
+ ## Recommendation
42
+
43
+ [1-2 paragraphs explaining the recommendation]
44
+
45
+ **Choose [A] when:** [conditions]
46
+ **Choose [B] when:** [conditions]
47
+
48
+ ## Sources
49
+ [URLs with confidence levels]
50
+ ```
@@ -0,0 +1,43 @@
1
+ # Feasibility Assessment Output Template
2
+
3
+ Template for feasibility research — can we actually do this?
4
+
5
+ **Purpose:** Provide a clear yes/no/maybe verdict with evidence for technical feasibility decisions.
6
+
7
+ **Created by:** `ms-researcher` agent during feasibility research mode
8
+
9
+ ---
10
+
11
+ ## File Template
12
+
13
+ ```markdown
14
+ # Feasibility Assessment: [Goal]
15
+
16
+ **Verdict:** [YES / NO / MAYBE with conditions]
17
+ **Confidence:** [HIGH/MEDIUM/LOW]
18
+
19
+ ## Summary
20
+
21
+ [2-3 paragraph assessment]
22
+
23
+ ## Requirements
24
+
25
+ What's needed to achieve this:
26
+
27
+ | Requirement | Status | Notes |
28
+ |-------------|--------|-------|
29
+ | [req 1] | [available/partial/missing] | [details] |
30
+
31
+ ## Blockers
32
+
33
+ | Blocker | Severity | Mitigation |
34
+ |---------|----------|------------|
35
+ | [blocker] | [high/medium/low] | [how to address] |
36
+
37
+ ## Recommendation
38
+
39
+ [What to do based on findings]
40
+
41
+ ## Sources
42
+ [URLs with confidence levels]
43
+ ```
@@ -0,0 +1,81 @@
1
+ # Project Research Output Template
2
+
3
+ Template for `.planning/research/` files — research before creating roadmap.
4
+
5
+ **Purpose:** Document ecosystem-level findings for a whole project, informing phase structure and technology choices.
6
+
7
+ **Created by:** `ms-researcher` agent during `/ms:research-project`
8
+
9
+ ---
10
+
11
+ ## Output Files
12
+
13
+ ### SUMMARY.md
14
+
15
+ Executive summary synthesizing all research with roadmap implications.
16
+
17
+ ```markdown
18
+ # Research Summary: [Project Name]
19
+
20
+ **Domain:** [type of product]
21
+ **Researched:** [date]
22
+ **Overall confidence:** [HIGH/MEDIUM/LOW]
23
+
24
+ ## Executive Summary
25
+
26
+ [3-4 paragraphs synthesizing all findings]
27
+
28
+ ## Key Findings
29
+
30
+ **Stack:** [one-liner from STACK.md]
31
+ **Architecture:** [one-liner from ARCHITECTURE.md]
32
+ **Critical pitfall:** [most important from PITFALLS.md]
33
+
34
+ ## Implications for Roadmap
35
+
36
+ Based on research, suggested phase structure:
37
+
38
+ 1. **[Phase name]** - [rationale]
39
+ - Addresses: [features from FEATURES.md]
40
+ - Avoids: [pitfall from PITFALLS.md]
41
+
42
+ 2. **[Phase name]** - [rationale]
43
+ ...
44
+
45
+ **Phase ordering rationale:**
46
+ - [Why this order based on dependencies]
47
+
48
+ **Research flags for phases:**
49
+ - Phase [X]: Likely needs deeper research (reason)
50
+ - Phase [Y]: Standard patterns, unlikely to need research
51
+
52
+ ## Confidence Assessment
53
+
54
+ | Area | Confidence | Notes |
55
+ |------|------------|-------|
56
+ | Stack | [level] | [reason] |
57
+ | Features | [level] | [reason] |
58
+ | Architecture | [level] | [reason] |
59
+ | Pitfalls | [level] | [reason] |
60
+
61
+ ## Gaps to Address
62
+
63
+ - [Areas where research was inconclusive]
64
+ - [Topics needing phase-specific research later]
65
+ ```
66
+
67
+ ### STACK.md
68
+
69
+ Recommended technologies with versions and rationale.
70
+
71
+ ### FEATURES.md
72
+
73
+ Feature landscape - table stakes, differentiators, anti-features.
74
+
75
+ ### ARCHITECTURE.md
76
+
77
+ System structure patterns with component boundaries.
78
+
79
+ ### PITFALLS.md
80
+
81
+ Common mistakes with prevention strategies.