@massu/core 0.5.0 → 0.6.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 (118) hide show
  1. package/README.md +40 -0
  2. package/agents/massu-architecture-reviewer.md +104 -0
  3. package/agents/massu-blast-radius-analyzer.md +84 -0
  4. package/agents/massu-competitive-scorer.md +126 -0
  5. package/agents/massu-help-sync.md +73 -0
  6. package/agents/massu-migration-writer.md +94 -0
  7. package/agents/massu-output-scorer.md +87 -0
  8. package/agents/massu-pattern-reviewer.md +84 -0
  9. package/agents/massu-plan-auditor.md +170 -0
  10. package/agents/massu-schema-sync-verifier.md +70 -0
  11. package/agents/massu-security-reviewer.md +98 -0
  12. package/agents/massu-ux-reviewer.md +106 -0
  13. package/commands/_shared-preamble.md +53 -23
  14. package/commands/_shared-references/auto-learning-protocol.md +71 -0
  15. package/commands/_shared-references/blast-radius-protocol.md +76 -0
  16. package/commands/_shared-references/security-pre-screen.md +64 -0
  17. package/commands/_shared-references/test-first-protocol.md +87 -0
  18. package/commands/_shared-references/verification-table.md +52 -0
  19. package/commands/massu-article-review.md +343 -0
  20. package/commands/massu-autoresearch/references/eval-runner.md +84 -0
  21. package/commands/massu-autoresearch/references/safety-rails.md +125 -0
  22. package/commands/massu-autoresearch/references/scoring-protocol.md +151 -0
  23. package/commands/massu-autoresearch.md +258 -0
  24. package/commands/massu-batch.md +44 -12
  25. package/commands/massu-bearings.md +42 -8
  26. package/commands/massu-checkpoint.md +588 -0
  27. package/commands/massu-ci-fix.md +2 -2
  28. package/commands/massu-command-health.md +132 -0
  29. package/commands/massu-command-improve.md +232 -0
  30. package/commands/massu-commit.md +205 -44
  31. package/commands/massu-create-plan.md +239 -57
  32. package/commands/massu-data/references/common-queries.md +79 -0
  33. package/commands/massu-data/references/table-guide.md +50 -0
  34. package/commands/massu-data.md +66 -0
  35. package/commands/massu-dead-code.md +29 -34
  36. package/commands/massu-debug/references/auto-learning.md +61 -0
  37. package/commands/massu-debug/references/codegraph-tracing.md +80 -0
  38. package/commands/massu-debug/references/common-shortcuts.md +98 -0
  39. package/commands/massu-debug/references/investigation-phases.md +294 -0
  40. package/commands/massu-debug/references/report-format.md +107 -0
  41. package/commands/massu-debug.md +105 -386
  42. package/commands/massu-docs.md +1 -1
  43. package/commands/massu-full-audit.md +61 -0
  44. package/commands/massu-gap-enhancement-analyzer.md +276 -16
  45. package/commands/massu-golden-path/references/approval-points.md +216 -0
  46. package/commands/massu-golden-path/references/competitive-mode.md +273 -0
  47. package/commands/massu-golden-path/references/error-handling.md +121 -0
  48. package/commands/massu-golden-path/references/phase-0-requirements.md +53 -0
  49. package/commands/massu-golden-path/references/phase-1-plan-creation.md +168 -0
  50. package/commands/massu-golden-path/references/phase-2-implementation.md +397 -0
  51. package/commands/massu-golden-path/references/phase-2.5-gap-analyzer.md +156 -0
  52. package/commands/massu-golden-path/references/phase-3-simplify.md +40 -0
  53. package/commands/massu-golden-path/references/phase-4-commit.md +94 -0
  54. package/commands/massu-golden-path/references/phase-5-push.md +116 -0
  55. package/commands/massu-golden-path/references/phase-5.5-production-verify.md +170 -0
  56. package/commands/massu-golden-path/references/phase-6-completion.md +113 -0
  57. package/commands/massu-golden-path/references/qa-evaluator-spec.md +137 -0
  58. package/commands/massu-golden-path/references/sprint-contract-protocol.md +117 -0
  59. package/commands/massu-golden-path/references/vr-visual-calibration.md +73 -0
  60. package/commands/massu-golden-path.md +114 -848
  61. package/commands/massu-guide.md +72 -69
  62. package/commands/massu-hooks.md +27 -12
  63. package/commands/massu-hotfix.md +221 -144
  64. package/commands/massu-incident.md +49 -20
  65. package/commands/massu-infra-audit.md +187 -0
  66. package/commands/massu-learning-audit.md +211 -0
  67. package/commands/massu-loop/references/auto-learning.md +49 -0
  68. package/commands/massu-loop/references/checkpoint-audit.md +40 -0
  69. package/commands/massu-loop/references/guardrails.md +17 -0
  70. package/commands/massu-loop/references/iteration-structure.md +115 -0
  71. package/commands/massu-loop/references/loop-controller.md +188 -0
  72. package/commands/massu-loop/references/plan-extraction.md +78 -0
  73. package/commands/massu-loop/references/vr-plan-spec.md +140 -0
  74. package/commands/massu-loop-playwright.md +9 -9
  75. package/commands/massu-loop.md +115 -670
  76. package/commands/massu-new-pattern.md +423 -0
  77. package/commands/massu-perf.md +422 -0
  78. package/commands/massu-plan-audit.md +1 -1
  79. package/commands/massu-plan.md +389 -122
  80. package/commands/massu-production-verify.md +433 -0
  81. package/commands/massu-push.md +62 -378
  82. package/commands/massu-recap.md +29 -3
  83. package/commands/massu-rollback.md +613 -0
  84. package/commands/massu-scaffold-hook.md +2 -4
  85. package/commands/massu-scaffold-page.md +2 -3
  86. package/commands/massu-scaffold-router.md +1 -2
  87. package/commands/massu-security.md +619 -0
  88. package/commands/massu-simplify.md +115 -85
  89. package/commands/massu-squirrels.md +2 -2
  90. package/commands/massu-tdd.md +38 -22
  91. package/commands/massu-test.md +3 -3
  92. package/commands/massu-type-mismatch-audit.md +469 -0
  93. package/commands/massu-ui-audit.md +587 -0
  94. package/commands/massu-verify-playwright.md +287 -32
  95. package/commands/massu-verify.md +150 -46
  96. package/dist/cli.js +146 -95
  97. package/package.json +6 -2
  98. package/patterns/build-patterns.md +302 -0
  99. package/patterns/component-patterns.md +246 -0
  100. package/patterns/display-patterns.md +185 -0
  101. package/patterns/form-patterns.md +890 -0
  102. package/patterns/integration-testing-checklist.md +445 -0
  103. package/patterns/security-patterns.md +219 -0
  104. package/patterns/testing-patterns.md +569 -0
  105. package/patterns/tool-routing.md +81 -0
  106. package/patterns/ui-patterns.md +371 -0
  107. package/protocols/plan-implementation.md +267 -0
  108. package/protocols/recovery.md +225 -0
  109. package/protocols/verification.md +404 -0
  110. package/reference/command-taxonomy.md +178 -0
  111. package/reference/cr-rules-reference.md +76 -0
  112. package/reference/hook-execution-order.md +148 -0
  113. package/reference/lessons-learned.md +175 -0
  114. package/reference/patterns-quickref.md +208 -0
  115. package/reference/standards.md +135 -0
  116. package/reference/subagents-reference.md +17 -0
  117. package/reference/vr-verification-reference.md +867 -0
  118. package/src/commands/install-commands.ts +149 -53
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: massu-verify
3
- description: Run all VR-* verification checks for current work with mandatory proof output
3
+ description: "When user says 'verify', 'run verification', 'check everything', or needs to run all VR-* verification checks with mandatory proof output before claiming work is complete"
4
4
  allowed-tools: Bash(*), Read(*), Grep(*), Glob(*)
5
5
  ---
6
6
  name: massu-verify
7
7
 
8
- > **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding. CR-9, CR-35 enforced.
8
+ > **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding. CR-5, CR-12 enforced.
9
9
 
10
10
  # Massu Verify: Comprehensive Verification Protocol
11
11
 
@@ -20,15 +20,15 @@ Run ALL applicable VR-* verification checks and produce proof output. This comma
20
20
  - **Proof > Claims** - Show command output, not summaries
21
21
  - **ALL checks run** - Do not skip any applicable verification
22
22
  - **Zero tolerance** - Any failure blocks "complete" status
23
- - **No assumptions** - Check actual state, don't guess
23
+ - **No assumptions** - Query schema AND data, don't guess
24
24
  - **Plan Coverage** - Verify ALL plan items, not just code quality
25
25
  - **VR-CONFIG mandatory** - For config-driven features, verify config values match code expectations
26
- - **VR-TEST mandatory (CR-7)** - ALL tests MUST pass, tests are NEVER optional
26
+ - **VR-TEST mandatory** - ALL tests MUST pass, tests are NEVER optional
27
27
  - **FIX ALL ISSUES ENCOUNTERED (CR-9)** - If ANY issue is discovered during verification - whether from current changes OR pre-existing - fix it immediately. "Not in scope" and "pre-existing" are NEVER valid reasons to skip a fix. When fixing a bug, search entire codebase for same pattern and fix ALL instances.
28
28
 
29
29
  ---
30
30
 
31
- ## CR-7: TEST REQUIREMENT (MANDATORY)
31
+ ## TEST REQUIREMENT (MANDATORY)
32
32
 
33
33
  **ALL tests MUST pass before verification can be marked complete. Tests are NEVER optional.**
34
34
 
@@ -44,7 +44,7 @@ npm test
44
44
  | Tests not run | Run tests first | NO |
45
45
  | "Tests not applicable" | INVALID - tests are ALWAYS applicable | NO |
46
46
 
47
- **Why This Is Mandatory (CR-7):**
47
+ **Why This Is Mandatory:**
48
48
  - "Tests are optional" escape hatch led to false "complete" claims
49
49
  - Tests catch regressions other checks miss
50
50
  - Production-grade means ALL tests pass
@@ -89,7 +89,7 @@ Based on verification scope, load relevant pattern files:
89
89
  | Tool modules | `.claude/patterns/tool-patterns.md` | Verifying MCP tools |
90
90
  | Config | `.claude/patterns/config-patterns.md` | Verifying config changes |
91
91
  | Hooks | `.claude/patterns/hook-patterns.md` | Verifying hook changes |
92
- | Build | `.claude/patterns/build-patterns.md` | Investigating failures |
92
+ | Build issues | `.claude/patterns/build-patterns.md` | Investigating failures |
93
93
 
94
94
  ---
95
95
 
@@ -122,13 +122,13 @@ grep -rn "[removed_pattern]" packages/core/src/ | wc -l
122
122
  ### VR-BUILD: Build Integrity Verification
123
123
  ```bash
124
124
  npm run build
125
- # Expected: Exit 0
125
+ # Expected: Exit 0, "Build complete" message
126
126
  # Failure: Exit non-zero or errors
127
127
  ```
128
128
 
129
129
  ### VR-TYPE: Type Safety Verification
130
130
  ```bash
131
- cd packages/core && npx tsc --noEmit
131
+ npx tsc --noEmit
132
132
  # Expected: 0 errors
133
133
  # Failure: Any type errors
134
134
  ```
@@ -145,11 +145,11 @@ grep -c "[pattern]" [file]
145
145
  **Config existence does not equal correctness. A config key can exist with completely wrong values.**
146
146
 
147
147
  ```bash
148
- # VR-CONFIG-001: Parse and validate massu.config.yaml
148
+ # VR-CONFIG-001: Validate config file
149
149
  node -e "const yaml = require('yaml'); const fs = require('fs'); yaml.parse(fs.readFileSync('massu.config.yaml', 'utf-8'));"
150
150
 
151
151
  # VR-CONFIG-002: Extract ALL config keys used in code
152
- grep -rn "getConfig()" packages/core/src/ | grep -oP 'config\.\w+' | sort -u
152
+ grep -rn "getConfig()" packages/core/src/ | sed 's/.*\(config\.[a-zA-Z_]*\).*/\1/' | sort -u
153
153
 
154
154
  # VR-CONFIG-003: Verify config values match code expectations
155
155
  grep -rn "toolPrefix\|config\." packages/core/src/ | head -20
@@ -188,18 +188,29 @@ grep "getXToolDefinitions\|isXTool\|handleXToolCall" packages/core/src/tools.ts
188
188
 
189
189
  **Why this matters**: Build/type checks pass when code compiles, but don't verify tools are REGISTERED. A tool module that exists but isn't wired into tools.ts is USELESS to users.
190
190
 
191
- ### VR-INTEGRATION: Full Integration Verification
191
+ ### VR-RENDER: Component Render Verification (CRITICAL)
192
192
  ```bash
193
- # Tool is imported AND registered AND build passes
194
- grep "[ModuleName]" packages/core/src/tools.ts && npm run build
195
- # Expected: Both checks pass
193
+ # For EACH UI component claimed to be "implemented":
194
+
195
+ # 1. Verify component file exists
196
+ ls -la src/components/[feature]/ComponentName.tsx
197
+
198
+ # 2. Verify component is exported
199
+ grep "export.*ComponentName" src/components/[feature]/index.ts
200
+
201
+ # 3. CRITICAL: Verify component is RENDERED in a page
202
+ grep "<ComponentName" src/app/**/page.tsx
203
+ # Expected: Match found in at least one page file
204
+ # Failure: 0 matches = component NOT implemented (just created)
196
205
  ```
197
206
 
198
- ### VR-HOOK-BUILD: Hook Compilation Verification
207
+ **Why this matters**: Build/type checks pass when code compiles, but don't verify components are USED. A component that exists but isn't rendered in any page is USELESS to users.
208
+
209
+ ### VR-INTEGRATION: Full Integration Verification
199
210
  ```bash
200
- cd packages/core && npm run build:hooks
201
- # Expected: Exit 0
202
- # Failure: Compilation error
211
+ # Module is imported AND registered AND build passes
212
+ grep "[ModuleName]" packages/core/src/tools.ts && npm run build
213
+ # Expected: Both checks pass
203
214
  ```
204
215
 
205
216
  ### VR-REUSE: Component/Code Reuse Verification
@@ -210,14 +221,33 @@ grep -rn "[functionality]" packages/core/src/
210
221
  # Expected: Use existing or document why new needed
211
222
  ```
212
223
 
224
+ ### VR-FLOW: User Flow Verification
225
+ ```bash
226
+ # For each button/action, trace complete path:
227
+ # 1. Button onClick handler exists
228
+ grep "onClick={" [component]
229
+
230
+ # 2. Handler calls API
231
+ grep "api\.[router]\.[procedure]" [component]
232
+
233
+ # 3. Response handled
234
+ grep "onSuccess\|onError\|toast\." [component]
235
+
236
+ # 4. UI updates
237
+ grep "refetch\|invalidate\|set" [component]
238
+ ```
239
+
213
240
  ### VR-STATES: State Completeness Verification
214
241
  ```bash
215
- # For tool handlers, verify all states:
216
- # Success response
217
- grep "content.*text" [file]
242
+ # For data fetching components, verify all states:
243
+ # Loading state
244
+ grep "isLoading\|isPending" [file]
245
+
246
+ # Error state
247
+ grep "isError\|error\s*&&" [file]
218
248
 
219
- # Error handling
220
- grep "try\|catch\|error" [file]
249
+ # Empty state
250
+ grep "length === 0\|EmptyState" [file]
221
251
 
222
252
  # Expected: All states handled
223
253
  ```
@@ -228,7 +258,7 @@ grep "try\|catch\|error" [file]
228
258
 
229
259
  ```bash
230
260
  # Step 1: Find where type is defined
231
- grep "interface\|type.*=" [source_file]
261
+ grep "interface.*Props" [parent_component] | grep "[propName]"
232
262
 
233
263
  # Step 2: Verify type is exported
234
264
  grep "export.*TypeName" [source_file]
@@ -247,37 +277,111 @@ grep "TypeName" [consumer_file] | grep -v "import"
247
277
  | ToolResult | tools.ts | module.ts | handler | YES/NO | PASS/FAIL |
248
278
  ```
249
279
 
250
- ### VR-HANDLER: Tool Handler Verification (CRITICAL)
280
+ ### VR-HANDLER: Tool/Button Handler Verification (CRITICAL)
251
281
 
252
- **For EVERY tool, verify the handler exists AND does something.**
282
+ **For EVERY tool or button, verify the handler exists AND does something.**
253
283
 
254
284
  ```bash
255
- # Step 1: Find all tool definitions
256
- grep -rn "name:.*_tool_" packages/core/src/
285
+ # Step 1: Find all tool definitions or buttons with onClick
286
+ grep -rn "name:.*_tool_\|onClick={" [component_or_module]
257
287
 
258
- # Step 2: For each tool, find the handler
259
- grep "case.*tool_name" packages/core/src/
288
+ # Step 2: For each, find the handler
289
+ grep "case.*tool_name\|const [handlerName] = " [file]
260
290
 
261
291
  # Step 3: Verify handler does something (not empty)
262
- grep -A 10 "case.*tool_name" packages/core/src/ | grep "return"
292
+ grep -A 10 "case.*tool_name\|const [handlerName] = " [file] | grep "return\|api\.\|toast\.\|set\|router"
263
293
  ```
264
294
 
295
+ **Common failures:**
296
+ - `onClick={handleSomething}` but `handleSomething` not defined
297
+ - `onClick={() => {}}` - empty handler
298
+ - `onClick={handleSomething}` but `handleSomething` only logs to console
299
+
265
300
  ```markdown
266
301
  ### VR-HANDLER Verification
267
- | Tool | Handler | Defined? | Does Something? | Status |
268
- |------|---------|----------|-----------------|--------|
302
+ | Tool/Action | Handler | Defined? | Does Something? | Status |
303
+ |-------------|---------|----------|-----------------|--------|
269
304
  | tool_action | handleAction | YES | Returns result | PASS |
270
- | tool_other | undefined | NO | N/A | FAIL |
305
+ | Delete button | handleDelete | YES | Empty function | FAIL |
306
+ ```
307
+
308
+ ### VR-API-CONTRACT: Frontend-Backend Contract Verification (CRITICAL)
309
+
310
+ **Verify frontend calls EXACTLY match backend procedure definitions.**
311
+
312
+ ```bash
313
+ # Step 1: Find frontend API calls
314
+ grep -rn "api\.[router]\.[procedure]" src/components/ src/app/
315
+
316
+ # Step 2: Verify procedure exists in router
317
+ grep "[procedure]:" src/server/api/routers/[router].ts
318
+
319
+ # Step 3: Verify input schema matches
320
+ # Frontend call:
321
+ grep -A 5 "api\.[router]\.[procedure]" [component] | grep "mutate\|useQuery"
322
+
323
+ # Backend expects:
324
+ grep -A 10 "[procedure]:" src/server/api/routers/[router].ts | grep "input"
325
+ ```
326
+
327
+ **Common failures:**
328
+ - Frontend calls `api.users.getUser` but backend has `api.users.getUserById`
329
+ - Frontend sends `{ id }` but backend expects `{ userId }`
330
+ - Frontend expects return type that backend doesn't return
331
+
332
+ ```markdown
333
+ ### VR-API-CONTRACT Matrix
334
+ | Frontend Call | Backend Procedure | Exists? | Input Matches? | Status |
335
+ |---------------|-------------------|---------|----------------|--------|
336
+ | api.users.getById | users.getById | YES | YES | PASS |
337
+ | api.products.create | products.create | YES | NO (missing field) | FAIL |
271
338
  ```
272
339
 
273
340
  ### VR-ENV: Environment Variable Parity
341
+
342
+ **Verify all required environment variables exist across all deployment environments.**
343
+
274
344
  ```bash
275
345
  # Step 1: Find all env var usage
276
- grep -rn "process.env\." packages/core/src/ | grep -oP 'process\.env\.\w+' | sort -u
346
+ grep -rn "process.env\." packages/core/src/ src/ | sed 's/.*\(process\.env\.[a-zA-Z_]*\).*/\1/' | sort -u
347
+
348
+ # Step 2: Compare to .env.example
349
+ cat .env.example | grep -v "^#" | cut -d= -f1 | sort
277
350
 
278
- # Step 2: Verify each env var is documented
351
+ # Step 3: Verify each env var is documented
279
352
  ```
280
353
 
354
+ ```markdown
355
+ ### VR-ENV Matrix
356
+ | Variable | .env.example | CI/CD | Status |
357
+ |----------|--------------|-------|--------|
358
+ | DATABASE_URL | YES | YES | PASS |
359
+ | API_KEY | YES | NO | FAIL |
360
+ ```
361
+
362
+ ### VR-RUNTIME: Runtime Behavior Verification
363
+
364
+ **After ALL other VR-* checks pass, verify feature actually WORKS at runtime.**
365
+
366
+ ```markdown
367
+ ### VR-RUNTIME Manual Verification Checklist
368
+
369
+ For each feature/change:
370
+ 1. [ ] Start dev server or run the tool
371
+ 2. [ ] Navigate to affected page or invoke affected command
372
+ 3. [ ] Perform the action being implemented
373
+ 4. [ ] Verify expected result occurs
374
+ 5. [ ] Check for errors in output/console
375
+ 6. [ ] Verify data persisted (if applicable)
376
+
377
+ ### Runtime Test Results
378
+ | Feature | Action Taken | Expected Result | Actual Result | Status |
379
+ |---------|--------------|-----------------|---------------|--------|
380
+ | [feature] | [action] | [expected] | [actual] | PASS/FAIL |
381
+ ```
382
+
383
+ **Why this is last**: All other VR-* verifications check that code EXISTS and COMPILES. VR-RUNTIME verifies it actually WORKS.
384
+
281
385
  ### VR-DEFAULTS: Default Value Alignment
282
386
 
283
387
  **Verify default values in code match default values in config.**
@@ -293,6 +397,7 @@ grep -rn "?? '" packages/core/src/ | grep -v node_modules
293
397
  | Field | Config Default | Code Default | Match? | Status |
294
398
  |-------|---------------|--------------|--------|--------|
295
399
  | toolPrefix | 'massu' | 'massu' | YES | PASS |
400
+ | priority | 'normal' | 'high' | NO | FAIL |
296
401
  ```
297
402
 
298
403
  ### VR-PLAN-COVERAGE: Plan Item Coverage Verification (CRITICAL)
@@ -354,7 +459,7 @@ git diff --cached --name-only | grep -E '\.(env|pem|key|secret)' && echo "FAIL:
354
459
 
355
460
  ### No Credentials in Code
356
461
  ```bash
357
- grep -rn "sk-\|password.*=.*['\"]" --include="*.ts" packages/core/src/ | grep -v "process.env" | wc -l
462
+ grep -rn "sk-\|password.*=.*['\"]" --include="*.ts" --include="*.tsx" packages/core/src/ src/ | grep -v "process.env" | wc -l
358
463
  # Expected: 0
359
464
  ```
360
465
 
@@ -405,7 +510,7 @@ npm run build
405
510
 
406
511
  ## VR-TYPE Verification
407
512
  ```bash
408
- cd packages/core && npx tsc --noEmit
513
+ npx tsc --noEmit
409
514
  ```
410
515
  **Status**: PASS/FAIL
411
516
  **Errors**: 0/N
@@ -458,7 +563,7 @@ cd packages/core && npx tsc --noEmit
458
563
  - VR-BUILD: PASS/FAIL
459
564
  - VR-TYPE: PASS/FAIL
460
565
  - VR-CONFIG: X/X PASS (config-code alignment verified)
461
- - VR-TOOL-REG: X/X PASS (tools registered in tools.ts)
566
+ - VR-TOOL-REG: X/X PASS (tools registered)
462
567
  - Patterns: X/X PASS
463
568
  - Security: X/X PASS
464
569
 
@@ -495,9 +600,8 @@ For faster verification, use **Task agents** to run independent checks simultane
495
600
  ```markdown
496
601
  ### Launch Parallel Verification Agents (single message, all at once)
497
602
  - Agent 1: "Run pattern scanner" -> bash scripts/massu-pattern-scanner.sh
498
- - Agent 2: "Run TypeScript check" -> cd packages/core && npx tsc --noEmit
603
+ - Agent 2: "Run TypeScript check" -> npx tsc --noEmit
499
604
  - Agent 3: "Run unit tests" -> npm test
500
- - Agent 4: "Run hook build" -> cd packages/core && npm run build:hooks
501
605
  ```
502
606
 
503
607
  ### Benefits
@@ -516,7 +620,7 @@ For quick checks without full report:
516
620
  ```bash
517
621
  # Run all critical checks
518
622
  bash scripts/massu-pattern-scanner.sh && \
519
- cd packages/core && npx tsc --noEmit && \
623
+ npx tsc --noEmit && \
520
624
  npm run build && \
521
625
  echo "QUICK VERIFY: PASS"
522
626
  ```
@@ -614,7 +718,7 @@ Complete this enumeration before running any commands:
614
718
  |---|------------|--------|----------------|--------|
615
719
  | 1 | VR-BUILD | Full project | Always required | PENDING |
616
720
  | 2 | VR-TYPE | Full project | Always required | PENDING |
617
- | 3 | VR-TEST | Full project | Always required (CR-7) | PENDING |
721
+ | 3 | VR-TEST | Full project | Always required | PENDING |
618
722
  | ... | ... | ... | ... | ... |
619
723
 
620
724
  **Total checks planned**: [N]
@@ -629,9 +733,9 @@ Complete this enumeration before running any commands:
629
733
  | VR-NEGATIVE | Code removed |
630
734
  | VR-CONFIG | Config changes |
631
735
  | VR-TOOL-REG | New MCP tools |
632
- | VR-HOOK-BUILD | Hook changes |
633
- | VR-HANDLER | Tool handlers added |
736
+ | VR-HANDLER, VR-API-CONTRACT | Tool handlers, frontend-backend calls |
634
737
  | VR-PLAN-COVERAGE | Implementing a plan |
738
+ | VR-RUNTIME | After all other checks pass |
635
739
 
636
740
  ---
637
741