mindsystem-cc 3.11.0 → 3.13.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 (35) hide show
  1. package/agents/ms-consolidator.md +4 -4
  2. package/agents/ms-executor.md +19 -351
  3. package/agents/ms-flutter-code-quality.md +7 -6
  4. package/agents/ms-plan-checker.md +170 -175
  5. package/agents/ms-plan-writer.md +121 -125
  6. package/agents/ms-roadmapper.md +1 -18
  7. package/agents/ms-verifier.md +22 -18
  8. package/commands/ms/check-phase.md +3 -3
  9. package/commands/ms/design-phase.md +2 -9
  10. package/commands/ms/execute-phase.md +8 -6
  11. package/commands/ms/help.md +0 -5
  12. package/commands/ms/new-project.md +3 -40
  13. package/commands/ms/plan-phase.md +4 -3
  14. package/commands/ms/review-design.md +1 -8
  15. package/mindsystem/references/goal-backward.md +10 -25
  16. package/mindsystem/references/plan-format.md +326 -247
  17. package/mindsystem/references/scope-estimation.md +29 -57
  18. package/mindsystem/references/tdd-execution.md +70 -0
  19. package/mindsystem/references/tdd.md +53 -194
  20. package/mindsystem/templates/config.json +0 -11
  21. package/mindsystem/templates/phase-prompt.md +51 -367
  22. package/mindsystem/templates/roadmap.md +2 -2
  23. package/mindsystem/templates/verification-report.md +2 -2
  24. package/mindsystem/workflows/adhoc.md +16 -21
  25. package/mindsystem/workflows/execute-phase.md +71 -50
  26. package/mindsystem/workflows/execute-plan.md +183 -1060
  27. package/mindsystem/workflows/mockup-generation.md +10 -4
  28. package/mindsystem/workflows/plan-phase.md +56 -75
  29. package/mindsystem/workflows/transition.md +1 -10
  30. package/mindsystem/workflows/verify-phase.md +16 -20
  31. package/package.json +1 -1
  32. package/scripts/update-state.sh +59 -0
  33. package/scripts/validate-execution-order.sh +102 -0
  34. package/skills/flutter-code-quality/SKILL.md +4 -3
  35. package/mindsystem/templates/summary.md +0 -293
@@ -47,8 +47,8 @@ A task "create auth endpoint" can be in the plan while password hashing is missi
47
47
  Goal-backward plan verification starts from the outcome and works backwards:
48
48
 
49
49
  1. What must be TRUE for the phase goal to be achieved?
50
- 2. Which tasks address each truth?
51
- 3. Are those tasks complete (files, action, verify, done)?
50
+ 2. Which changes address each truth?
51
+ 3. Are those changes complete (Files, implementation details, verification)?
52
52
  4. Are artifacts wired together, not just created in isolation?
53
53
  5. Will execution complete within context budget?
54
54
 
@@ -88,35 +88,37 @@ issue:
88
88
  fix_hint: "Add task for logout endpoint in plan 01 or new plan"
89
89
  ```
90
90
 
91
- ## Dimension 2: Task Completeness
91
+ ## Dimension 2: Change Completeness
92
92
 
93
- **Question:** Does every task have Files + Action + Verify + Done?
93
+ **Question:** Does every change subsection have Files + implementation details + corresponding verification and must-have entries?
94
94
 
95
95
  **Process:**
96
- 1. Parse each `<task>` element in PLAN.md
97
- 2. Check for required fields based on task type
98
- 3. Flag incomplete tasks
99
-
100
- **Required by task type:**
101
- | Type | Files | Action | Verify | Done |
102
- |------|-------|--------|--------|------|
103
- | `auto` | Required | Required | Required | Required |
104
- | `tdd` | Required | Behavior + Implementation | Test commands | Expected outcomes |
96
+ 1. Parse each `### N.` subsection in PLAN.md `## Changes` section
97
+ 2. Check for required content
98
+ 3. Flag incomplete changes
99
+
100
+ **Required per change subsection:**
101
+ | Element | Required | What to check |
102
+ |---------|----------|---------------|
103
+ | `**Files:**` line | Yes | Lists files created/modified |
104
+ | Implementation details | Yes | Specific enough to execute (not "implement auth") |
105
+ | `## Verification` entry | Yes | Corresponding way to confirm this change works |
106
+ | `## Must-Haves` entry | Yes | Observable truth this change supports |
105
107
 
106
108
  **Red flags:**
107
- - Missing `<verify>` can't confirm completion
108
- - Missing `<done>`no acceptance criteria
109
- - Vague `<action>` "implement auth" instead of specific steps
110
- - Empty `<files>` what gets created?
109
+ - Change subsection missing `**Files:**` line
110
+ - Vague implementation details "implement auth" instead of specific steps
111
+ - No corresponding entry in `## Verification`
112
+ - No corresponding entry in `## Must-Haves`
111
113
 
112
114
  **Example issue:**
113
115
  ```yaml
114
116
  issue:
115
- dimension: task_completeness
117
+ dimension: change_completeness
116
118
  severity: blocker
117
- description: "Task 2 missing <verify> element"
119
+ description: "Change 2 has no corresponding verification entry"
118
120
  plan: "16-01"
119
- task: 2
121
+ change: 2
120
122
  fix_hint: "Add verification command for build output"
121
123
  ```
122
124
 
@@ -125,29 +127,30 @@ issue:
125
127
  **Question:** Are plan dependencies valid and acyclic?
126
128
 
127
129
  **Process:**
128
- 1. Parse `depends_on` from each plan frontmatter
129
- 2. Build dependency graph
130
- 3. Check for cycles, missing references, future references
130
+ 1. Read EXECUTION-ORDER.md for wave groups and dependency declarations
131
+ 2. Build dependency graph from wave assignments and explicit dependencies
132
+ 3. Check for cycles, missing references, file conflicts within waves
131
133
 
132
134
  **Red flags:**
133
- - Plan references non-existent plan (`depends_on: ["99"]` when 99 doesn't exist)
135
+ - Plan listed in EXECUTION-ORDER.md but PLAN.md file doesn't exist
136
+ - PLAN.md file exists but not listed in EXECUTION-ORDER.md
134
137
  - Circular dependency (A -> B -> A)
135
- - Future reference (plan 01 referencing plan 03's output)
138
+ - Plans in same wave with overlapping `**Files:**` entries (file conflict)
136
139
  - Wave assignment inconsistent with dependencies
137
140
 
138
- **Dependency rules:**
139
- - `depends_on: []` = Wave 1 (can run parallel)
140
- - `depends_on: ["01"]` = Wave 2 minimum (must wait for 01)
141
- - Wave number = max(deps) + 1
141
+ **Dependency rules (from EXECUTION-ORDER.md):**
142
+ - Wave 1 plans have no dependencies (can run parallel)
143
+ - Later wave plans depend on earlier waves completing
144
+ - Plans in same wave must not modify the same files
142
145
 
143
146
  **Example issue:**
144
147
  ```yaml
145
148
  issue:
146
149
  dimension: dependency_correctness
147
150
  severity: blocker
148
- description: "Circular dependency between plans 02 and 03"
151
+ description: "Plans 02 and 03 in Wave 1 both modify src/lib/auth.ts"
149
152
  plans: ["02", "03"]
150
- fix_hint: "Plan 02 depends on 03, but 03 depends on 02"
153
+ fix_hint: "Move plan 03 to Wave 2 or split shared file into separate modules"
151
154
  ```
152
155
 
153
156
  ## Dimension 4: Key Links Planned
@@ -155,9 +158,9 @@ issue:
155
158
  **Question:** Are artifacts wired together, not just created in isolation?
156
159
 
157
160
  **Process:**
158
- 1. Identify artifacts in `must_haves.artifacts`
159
- 2. Check that `must_haves.key_links` connects them
160
- 3. Verify tasks actually implement the wiring (not just artifact creation)
161
+ 1. Identify artifacts from `**Files:**` lines in `## Changes`
162
+ 2. Check that implementation details describe wiring between artifacts
163
+ 3. Verify changes actually implement the wiring (not just artifact creation)
161
164
 
162
165
  **Red flags:**
163
166
  - Component created but not imported anywhere
@@ -189,21 +192,21 @@ issue:
189
192
  **Question:** Will plans complete within context budget?
190
193
 
191
194
  **Process:**
192
- 1. Count tasks per plan
193
- 2. Estimate files modified per plan
195
+ 1. Count `### ` subsections (changes) per plan
196
+ 2. Count files from `**Files:**` lines per plan
194
197
  3. Check against thresholds
195
198
 
196
199
  **Thresholds:**
197
200
  | Metric | Target | Warning | Blocker |
198
201
  |--------|--------|---------|---------|
199
- | Tasks/plan | 2-3 | 4 | 5+ |
202
+ | Changes/plan | 2-3 | 4 | 5+ |
200
203
  | Files/plan | 5-8 | 10 | 15+ |
201
204
  | Total context | ~50% | ~70% | 80%+ |
202
205
 
203
206
  **Red flags:**
204
- - Plan with 5+ tasks (quality degrades)
207
+ - Plan with 5+ changes (quality degrades)
205
208
  - Plan with 15+ file modifications
206
- - Single task with 10+ files
209
+ - Single change with 10+ files
207
210
  - Complex work (auth, payments) crammed into one plan
208
211
 
209
212
  **Example issue:**
@@ -211,38 +214,38 @@ issue:
211
214
  issue:
212
215
  dimension: scope_sanity
213
216
  severity: warning
214
- description: "Plan 01 has 5 tasks - split recommended"
217
+ description: "Plan 01 has 5 changes - split recommended"
215
218
  plan: "01"
216
219
  metrics:
217
- tasks: 5
220
+ changes: 5
218
221
  files: 12
219
222
  fix_hint: "Split into 2 plans: foundation (01) and integration (02)"
220
223
  ```
221
224
 
222
225
  ## Dimension 6: Verification Derivation
223
226
 
224
- **Question:** Do must_haves trace back to phase goal?
227
+ **Question:** Do Must-Haves trace back to phase goal?
225
228
 
226
229
  **Process:**
227
- 1. Check each plan has `must_haves` in frontmatter
228
- 2. Verify truths are user-observable (not implementation details)
229
- 3. Verify artifacts support the truths
230
- 4. Verify key_links connect artifacts to functionality
230
+ 1. Check each plan has a `## Must-Haves` section with checklist items
231
+ 2. Verify checklist items are user-observable (not implementation details)
232
+ 3. Verify `## Changes` subsections with `**Files:**` lines support the truths
233
+ 4. Verify implementation details describe wiring between artifacts, not just creation
231
234
 
232
235
  **Red flags:**
233
- - Missing `must_haves` entirely
234
- - Truths are implementation-focused ("bcrypt installed") not user-observable ("passwords are secure")
235
- - Artifacts don't map to truths
236
- - Key links missing for critical wiring
236
+ - Missing `## Must-Haves` section entirely
237
+ - Checklist items are implementation-focused ("bcrypt installed") not user-observable ("passwords are secure")
238
+ - `## Changes` doesn't create artifacts needed for Must-Haves truths
239
+ - No wiring described between artifacts that must work together
237
240
 
238
241
  **Example issue:**
239
242
  ```yaml
240
243
  issue:
241
244
  dimension: verification_derivation
242
245
  severity: warning
243
- description: "Plan 02 must_haves.truths are implementation-focused"
246
+ description: "Plan 02 Must-Haves are implementation-focused"
244
247
  plan: "02"
245
- problematic_truths:
248
+ problematic_items:
246
249
  - "JWT library installed"
247
250
  - "Prisma schema updated"
248
251
  fix_hint: "Reframe as user-observable: 'User can log in', 'Session persists'"
@@ -329,32 +332,30 @@ done
329
332
  ```
330
333
 
331
334
  **Parse from each plan:**
332
- - Frontmatter (phase, plan, wave, depends_on, files_modified, must_haves)
333
- - Objective
334
- - Tasks (type, name, files, action, verify, done)
335
- - Verification criteria
336
- - Success criteria
335
+ - Inline metadata (Subsystem, Type)
336
+ - Context section
337
+ - Changes subsections (`### N.` headers with `**Files:**` lines)
338
+ - Verification section
339
+ - Must-Haves section (markdown checklist)
337
340
 
338
- ## Step 3: Parse must_haves
341
+ ## Step 3: Parse Must-Haves
339
342
 
340
- Extract must_haves from each plan frontmatter.
343
+ Extract Must-Haves from each plan's `## Must-Haves` section.
341
344
 
342
- **Structure:**
343
- ```yaml
344
- must_haves:
345
- truths:
346
- - "User can log in with email/password"
347
- - "Invalid credentials return 401"
348
- artifacts:
349
- - path: "src/app/api/auth/login/route.ts"
350
- provides: "Login endpoint"
351
- min_lines: 30
352
- key_links:
353
- - from: "src/components/LoginForm.tsx"
354
- to: "/api/auth/login"
355
- via: "fetch in onSubmit"
345
+ **Structure (markdown checklist):**
346
+ ```markdown
347
+ ## Must-Haves
348
+ - [ ] User can log in with email/password
349
+ - [ ] Invalid credentials return 401
350
+ - [ ] Session persists across page reload
356
351
  ```
357
352
 
353
+ Each `- [ ]` item is a user-observable truth to verify.
354
+
355
+ **Also extract from `## Changes`:**
356
+ - `**Files:**` lines → artifacts that must exist
357
+ - Implementation details → key links between artifacts (fetch calls, imports, queries)
358
+
358
359
  **Aggregate across plans** to get full picture of what phase delivers.
359
360
 
360
361
  ## Step 4: Check Requirement Coverage
@@ -375,50 +376,47 @@ User can log out | - | - | MISSING
375
376
  Session persists | 01 | 3 | COVERED
376
377
  ```
377
378
 
378
- ## Step 5: Validate Task Structure
379
+ ## Step 5: Validate Change Structure
379
380
 
380
- For each task, verify required fields exist.
381
+ For each change subsection, verify required content exists.
381
382
 
382
383
  ```bash
383
- # Count tasks and check structure
384
- grep -c "<task" "$PHASE_DIR"/*-PLAN.md
384
+ # Count changes per plan
385
+ grep -c "^### " "$PHASE_DIR"/*-PLAN.md
385
386
 
386
- # Check for missing verify elements
387
- grep -B5 "</task>" "$PHASE_DIR"/*-PLAN.md | grep -v "<verify>"
387
+ # Check for Files lines in each plan
388
+ grep "^\*\*Files:\*\*" "$PHASE_DIR"/*-PLAN.md
388
389
  ```
389
390
 
390
391
  **Check:**
391
- - Task type is valid (auto, tdd)
392
- - Auto tasks have: files, action, verify, done
393
- - Action is specific (not "implement auth")
394
- - Verify is runnable (command or check)
395
- - Done is measurable (acceptance criteria)
392
+ - Each `### N.` subsection has a `**Files:**` line
393
+ - Implementation details are specific (not "implement auth")
394
+ - `## Verification` section has entries
395
+ - `## Must-Haves` section has checklist items
396
396
 
397
397
  ## Step 6: Verify Dependency Graph
398
398
 
399
- Build and validate the dependency graph.
399
+ Read and validate EXECUTION-ORDER.md.
400
400
 
401
- **Parse dependencies:**
401
+ **Parse EXECUTION-ORDER.md:**
402
402
  ```bash
403
- # Extract depends_on from each plan
404
- for plan in "$PHASE_DIR"/*-PLAN.md; do
405
- grep "depends_on:" "$plan"
406
- done
403
+ cat "$PHASE_DIR"/EXECUTION-ORDER.md
407
404
  ```
408
405
 
409
406
  **Validate:**
410
- 1. All referenced plans exist
411
- 2. No circular dependencies
412
- 3. Wave numbers consistent with dependencies
413
- 4. No forward references (early plan depending on later)
407
+ 1. All PLAN.md files in phase directory are listed in EXECUTION-ORDER.md
408
+ 2. No PLAN.md files missing from EXECUTION-ORDER.md
409
+ 3. No circular dependencies between waves
410
+ 4. Plans in same wave don't modify the same files (check `**Files:**` lines)
411
+ 5. Wave ordering is consistent (later waves depend on earlier ones)
414
412
 
415
- **Cycle detection:** If A -> B -> C -> A, report cycle.
413
+ **File conflict detection:** Parse `**Files:**` from plans in the same wave. If overlap found, report conflict.
416
414
 
417
415
  ## Step 7: Check Key Links Planned
418
416
 
419
417
  Verify artifacts are wired together in task actions.
420
418
 
421
- **For each key_link in must_haves:**
419
+ **For each key link identified from `## Changes`:**
422
420
  1. Find the source artifact task
423
421
  2. Check if action mentions the connection
424
422
  3. Flag missing wiring
@@ -437,36 +435,31 @@ Evaluate scope against context budget.
437
435
 
438
436
  **Metrics per plan:**
439
437
  ```bash
440
- # Count tasks
441
- grep -c "<task" "$PHASE_DIR"/${PHASE}-01-PLAN.md
438
+ # Count changes (### subsections)
439
+ grep -c "^### " "$PHASE_DIR"/${PHASE}-01-PLAN.md
442
440
 
443
- # Count files in files_modified
444
- grep "files_modified:" "$PHASE_DIR"/${PHASE}-01-PLAN.md
441
+ # Count files from **Files:** lines
442
+ grep "^\*\*Files:\*\*" "$PHASE_DIR"/${PHASE}-01-PLAN.md
445
443
  ```
446
444
 
447
445
  **Thresholds:**
448
- - 2-3 tasks/plan: Good
449
- - 4 tasks/plan: Warning
450
- - 5+ tasks/plan: Blocker (split required)
446
+ - 2-3 changes/plan: Good
447
+ - 4 changes/plan: Warning
448
+ - 5+ changes/plan: Blocker (split required)
451
449
 
452
- ## Step 9: Verify must_haves Derivation
450
+ ## Step 9: Verify Must-Haves Derivation
453
451
 
454
- Check that must_haves are properly derived from phase goal.
452
+ Check that `## Must-Haves` checklist items are properly derived from phase goal.
455
453
 
456
- **Truths should be:**
454
+ **Checklist items should be:**
457
455
  - User-observable (not "bcrypt installed" but "passwords are secure")
458
456
  - Testable by human using the app
459
457
  - Specific enough to verify
460
458
 
461
- **Artifacts should:**
462
- - Map to truths (which truth does this artifact support?)
463
- - Have reasonable min_lines estimates
464
- - List exports or key content expected
465
-
466
- **Key_links should:**
467
- - Connect artifacts that must work together
468
- - Specify the connection method (fetch, Prisma query, import)
469
- - Cover critical wiring (where stubs hide)
459
+ **Changes should support Must-Haves:**
460
+ - Each Must-Have item has corresponding change(s) in `## Changes`
461
+ - `**Files:**` lines identify artifacts that make truths possible
462
+ - Implementation details describe wiring between artifacts (not just creation)
470
463
 
471
464
  ## Step 10: Determine Overall Status
472
465
 
@@ -478,7 +471,7 @@ Based on all dimension checks:
478
471
  - Dependency graph valid
479
472
  - Key links planned
480
473
  - Scope within budget
481
- - must_haves properly derived
474
+ - Must-Haves properly derived
482
475
 
483
476
  **Status: issues_found**
484
477
  - One or more blockers or warnings
@@ -523,68 +516,70 @@ issue:
523
516
  fix_hint: "Add logout endpoint task to Plan 01 or create Plan 03"
524
517
  ```
525
518
 
526
- ## Example 2: Circular Dependency
519
+ ## Example 2: Dependency Conflict
527
520
 
528
- **Plan frontmatter:**
529
- ```yaml
530
- # Plan 02
531
- depends_on: ["01", "03"]
521
+ **EXECUTION-ORDER.md:**
522
+ ```markdown
523
+ ## Wave 1 (parallel)
524
+ - 03-01-PLAN.md
525
+ - 03-02-PLAN.md
532
526
 
533
- # Plan 03
534
- depends_on: ["02"]
527
+ ## Wave 2
528
+ - 03-03-PLAN.md (after: 01, 02)
535
529
  ```
536
530
 
531
+ **But Plan 02 references output from Plan 03 in its implementation details.**
532
+
537
533
  **Analysis:**
538
- - Plan 02 waits for Plan 03
539
- - Plan 03 waits for Plan 02
540
- - Deadlock: Neither can start
534
+ - Plan 02 in Wave 1 needs output from Plan 03 (Wave 2)
535
+ - Plan 03 waits for Plan 02 to complete
536
+ - Contradiction: forward reference from earlier wave
541
537
 
542
538
  **Issue:**
543
539
  ```yaml
544
540
  issue:
545
541
  dimension: dependency_correctness
546
542
  severity: blocker
547
- description: "Circular dependency between plans 02 and 03"
543
+ description: "Plan 02 (Wave 1) references output from Plan 03 (Wave 2)"
548
544
  plans: ["02", "03"]
549
- fix_hint: "Plan 02 depends_on includes 03, but 03 depends_on includes 02. Remove one dependency."
545
+ fix_hint: "Move Plan 02 to Wave 2 or remove the forward reference"
550
546
  ```
551
547
 
552
- ## Example 3: Task Missing Verification
548
+ ## Example 3: Change Missing Verification
553
549
 
554
- **Task in Plan 01:**
555
- ```xml
556
- <task type="auto">
557
- <name>Task 2: Create login endpoint</name>
558
- <files>src/app/api/auth/login/route.ts</files>
559
- <action>POST endpoint accepting {email, password}, validates using bcrypt...</action>
560
- <!-- Missing <verify> -->
561
- <done>Login works with valid credentials</done>
562
- </task>
550
+ **Change in Plan 01:**
551
+ ```markdown
552
+ ### 2. Create login endpoint
553
+ **Files:** `src/app/api/auth/login/route.ts`
554
+
555
+ POST endpoint accepting {email, password}, validates using bcrypt...
563
556
  ```
564
557
 
558
+ **But `## Verification` has no entry for this change, and `## Must-Haves` doesn't reference login.**
559
+
565
560
  **Analysis:**
566
- - Task has files, action, done
567
- - Missing `<verify>` element
568
- - Cannot confirm task completion programmatically
561
+ - Change has Files and implementation details
562
+ - No corresponding verification entry
563
+ - Cannot confirm change completion
569
564
 
570
565
  **Issue:**
571
566
  ```yaml
572
567
  issue:
573
- dimension: task_completeness
568
+ dimension: change_completeness
574
569
  severity: blocker
575
- description: "Task 2 missing <verify> element"
570
+ description: "Change 2 has no corresponding verification entry"
576
571
  plan: "01"
577
- task: 2
578
- task_name: "Create login endpoint"
579
- fix_hint: "Add <verify> with curl command or test command to confirm endpoint works"
572
+ change: 2
573
+ change_name: "Create login endpoint"
574
+ fix_hint: "Add curl command or test to ## Verification for login endpoint"
580
575
  ```
581
576
 
582
577
  ## Example 4: Scope Exceeded
583
578
 
584
579
  **Plan 01 analysis:**
585
580
  ```
586
- Tasks: 5
587
- Files modified: 12
581
+ Changes (### subsections): 5
582
+ Files (from **Files:** lines): 12
588
583
  - prisma/schema.prisma
589
584
  - src/app/api/auth/login/route.ts
590
585
  - src/app/api/auth/logout/route.ts
@@ -600,7 +595,7 @@ Files modified: 12
600
595
  ```
601
596
 
602
597
  **Analysis:**
603
- - 5 tasks exceeds 2-3 target
598
+ - 5 changes exceeds 2-3 target
604
599
  - 12 files is high
605
600
  - Auth is complex domain
606
601
  - Risk of quality degradation
@@ -610,10 +605,10 @@ Files modified: 12
610
605
  issue:
611
606
  dimension: scope_sanity
612
607
  severity: blocker
613
- description: "Plan 01 has 5 tasks with 12 files - exceeds context budget"
608
+ description: "Plan 01 has 5 changes with 12 files - exceeds context budget"
614
609
  plan: "01"
615
610
  metrics:
616
- tasks: 5
611
+ changes: 5
617
612
  files: 12
618
613
  estimated_context: "~80%"
619
614
  fix_hint: "Split into: 01 (schema + API), 02 (middleware + lib), 03 (UI components)"
@@ -630,10 +625,10 @@ Each issue follows this structure:
630
625
  ```yaml
631
626
  issue:
632
627
  plan: "16-01" # Which plan (null if phase-level)
633
- dimension: "task_completeness" # Which dimension failed
628
+ dimension: "change_completeness" # Which dimension failed
634
629
  severity: "blocker" # blocker | warning | info
635
- description: "Task 2 missing <verify> element"
636
- task: 2 # Task number if applicable
630
+ description: "Change 2 has no corresponding verification entry"
631
+ change: 2 # Change number if applicable
637
632
  fix_hint: "Add verification command for build output"
638
633
  ```
639
634
 
@@ -641,9 +636,9 @@ issue:
641
636
 
642
637
  **blocker** - Must fix before execution
643
638
  - Missing requirement coverage
644
- - Missing required task fields
645
- - Circular dependencies
646
- - Scope > 5 tasks per plan
639
+ - Missing required change fields
640
+ - Circular dependencies or file conflicts in same wave
641
+ - Scope > 5 changes per plan
647
642
 
648
643
  **warning** - Should fix, execution may work
649
644
  - Scope 4 tasks (borderline)
@@ -662,22 +657,22 @@ Return issues as structured list:
662
657
  ```yaml
663
658
  issues:
664
659
  - plan: "01"
665
- dimension: "task_completeness"
660
+ dimension: "change_completeness"
666
661
  severity: "blocker"
667
- description: "Task 2 missing <verify> element"
662
+ description: "Change 2 has no corresponding verification entry"
668
663
  fix_hint: "Add verification command"
669
664
 
670
665
  - plan: "01"
671
666
  dimension: "scope_sanity"
672
667
  severity: "warning"
673
- description: "Plan has 4 tasks - consider splitting"
668
+ description: "Plan has 4 changes - consider splitting"
674
669
  fix_hint: "Split into foundation + integration plans"
675
670
 
676
671
  - plan: null
677
672
  dimension: "requirement_coverage"
678
673
  severity: "blocker"
679
- description: "Logout requirement has no covering task"
680
- fix_hint: "Add logout task to existing plan or new plan"
674
+ description: "Logout requirement has no covering change"
675
+ fix_hint: "Add logout change to existing plan or new plan"
681
676
  ```
682
677
 
683
678
  </issue_structure>
@@ -748,9 +743,9 @@ When issues need fixing:
748
743
  ```yaml
749
744
  issues:
750
745
  - plan: "01"
751
- dimension: "task_completeness"
746
+ dimension: "change_completeness"
752
747
  severity: "blocker"
753
- description: "Task 2 missing <verify> element"
748
+ description: "Change 2 has no corresponding verification entry"
754
749
  fix_hint: "Add verification command"
755
750
  ```
756
751
 
@@ -767,15 +762,15 @@ issues:
767
762
 
768
763
  **DO NOT run the application.** This is static plan analysis. No `npm start`, no `curl` to running server.
769
764
 
770
- **DO NOT accept vague tasks.** "Implement auth" is not specific enough. Tasks need concrete files, actions, verification.
765
+ **DO NOT accept vague changes.** "Implement auth" is not specific enough. Changes need concrete files, implementation details, verification.
771
766
 
772
- **DO NOT skip dependency analysis.** Circular or broken dependencies cause execution failures.
767
+ **DO NOT skip dependency analysis.** Missing EXECUTION-ORDER.md entries or file conflicts cause execution failures.
773
768
 
774
- **DO NOT ignore scope.** 5+ tasks per plan degrades quality. Better to report and split.
769
+ **DO NOT ignore scope.** 5+ changes per plan degrades quality. Better to report and split.
775
770
 
776
771
  **DO NOT verify implementation details.** Check that plans describe what to build, not that code exists.
777
772
 
778
- **DO NOT trust task names alone.** Read the action, verify, done fields. A well-named task can be empty.
773
+ **DO NOT trust change titles alone.** Read the implementation details, Files lines, verification entries. A well-named change can be empty.
779
774
 
780
775
  </anti_patterns>
781
776
 
@@ -785,16 +780,16 @@ Plan verification complete when:
785
780
 
786
781
  - [ ] Phase goal extracted from ROADMAP.md
787
782
  - [ ] All PLAN.md files in phase directory loaded
788
- - [ ] must_haves parsed from each plan frontmatter
789
- - [ ] Requirement coverage checked (all requirements have tasks)
790
- - [ ] Task completeness validated (all required fields present)
791
- - [ ] Dependency graph verified (no cycles, valid references)
783
+ - [ ] Must-Haves parsed from `## Must-Haves` sections
784
+ - [ ] Requirement coverage checked (all requirements have changes)
785
+ - [ ] Change completeness validated (Files, details, verification)
786
+ - [ ] EXECUTION-ORDER.md validated (all plans listed, no cycles, no file conflicts)
792
787
  - [ ] Key links checked (wiring planned, not just artifacts)
793
788
  - [ ] Scope assessed (within context budget)
794
- - [ ] must_haves derivation verified (user-observable truths)
789
+ - [ ] Must-Haves derivation verified (user-observable truths)
795
790
  - [ ] Context compliance checked (if CONTEXT.md provided):
796
- - [ ] Locked decisions have implementing tasks
797
- - [ ] No tasks contradict locked decisions
791
+ - [ ] Locked decisions have implementing changes
792
+ - [ ] No changes contradict locked decisions
798
793
  - [ ] Deferred ideas not included in plans
799
794
  - [ ] Overall status determined (passed | issues_found)
800
795
  - [ ] Structured issues returned (if any found)