Skip to content

/massu-verify

Run all VR-* verification checks for current work with mandatory proof output


/massu-verify

Runs all applicable VR-* verification checks against the current work and produces a report with actual command output as proof. It enforces a zero-gap audit loop where all checks must pass in a single run before verification is complete.

Usage

/massu-verify

No arguments required. The command automatically determines which VR-* checks are applicable based on the work being verified.

What It Does

Verification Planning

Before running any checks, the command enumerates all applicable VR-* checks based on the domains touched (tools, config, hooks, build, tests) and creates a verification strategy.

Core Checks (Always Run)

CheckCommandWhat It Catches
VR-BUILDnpm run buildBuild failures, compilation errors
VR-TYPEnpx tsc --noEmitType errors, interface mismatches
VR-TESTnpm testRegressions, broken logic
Pattern Scannerbash scripts/massu-pattern-scanner.shPattern violations
SecurityScan for staged secrets and credentials in codeLeaked credentials

Conditional Checks

CheckRuns WhenWhat It Verifies
VR-FILEFiles created or modifiedFile existence with non-zero size
VR-GREPCode patterns addedPattern present with line number proof
VR-NEGATIVECode removedZero remaining references via grep
VR-CONFIGConfig changes madeConfig-code alignment for every key
VR-TOOL-REGNew MCP tools addedTool registered in tools.ts, not just created
VR-HOOK-BUILDHooks modifiedHook compilation with esbuild
VR-HANDLERTool handlers addedHandler exists and returns a result
VR-PLAN-COVERAGEImplementing a plan100% of plan items verified

Dual Gate System

Verification uses two independent gates that both must pass:

  1. Code Quality Gate -- All VR-* checks pass, patterns comply, no security issues
  2. Plan Coverage Gate -- Every plan deliverable is verified (100% coverage required)

Zero-Gap Audit Loop

If any check fails, all issues are fixed and the entire audit re-runs from the beginning. Partial re-checks are not valid. The command only reports VERIFIED when a single complete pass finds zero issues.

Output

Produces a structured report showing:

  • Each VR-* check with its command, expected result, actual result, and PASS/FAIL status
  • Pass/fail counts per category
  • Plan coverage percentage (if applicable)
  • Overall dual verification status
  • List of gaps found (if any) with required fixes

When to Use

  • Before claiming any work is complete
  • After implementing a plan to verify all deliverables
  • As the final gate before /massu-commit
  • When you need verifiable proof that changes are correct and complete