/massu-push
The /massu-push command is the final quality gate before pushing to the remote repository. It runs a more comprehensive verification suite than /massu-commit, including full build verification, all tests, and pattern compliance.
Usage
/massu-pushVerification Suite
The command runs all /massu-commit checks plus:
1. Full Build
$ npm run buildComplete production build including hook compilation.
2. Hook Compilation
$ cd packages/core && npm run build:hooksAll hooks must compile with esbuild without errors.
3. Comprehensive Type Check
$ cd packages/core && npx tsc --noEmitFull type checking across the entire project.
4. Full Test Suite
$ npm testAll tests must pass (not just affected tests).
5. Pattern Scanner
$ bash scripts/massu-pattern-scanner.shComplete pattern compliance check.
6. Security Scan
Reviews all changes being pushed for security vulnerabilities using the security scorer.
Failure Handling
If any check fails:
- The push is blocked
- The specific failure is reported with details
- Fixes are applied where possible
- Checks are re-run
- Push only proceeds when everything passes
Important Notes
- This is the most thorough verification gate -- it catches issues that
/massu-commitmight miss - Running
/massu-pushon a clean commit should always pass if/massu-commitpassed - The command does not force-push -- it uses standard
git push - May edit source files only to fix issues, never to add features