Running Automated Unit Tests#
MonoForge uses Vitest with JSDOM for fast unit and component testing. Execute the test suite with:
BASH
To run Vitest in interactive watch mode during development:
BASH
Static Type Checking#
Verify that all TypeScript code passes strict compiler checks:
BASH
Production Build Verification#
To confirm that all routes, dynamic metadata, and static assets compile successfully for production:
BASH
This command executes Next.js build with Turbopack, validating that every route compiles without errors.
Diagnostics HUD (`Ctrl+Shift+D`)#
MonoForge includes a built-in real-time Diagnostics HUD accessible from anywhere in the application.
- Shortcut: Press
Ctrl+Shift+D(orCmd+Shift+Don macOS). - Command Palette: Open with
Cmd+Kand typeDiagnostics.
The Diagnostics HUD validates:
- Current Zustand store size and section count.
- Markdown length, word count, and AST node depth.
- Active GitHub Camo compliance score.
- Telemetry engines loaded in memory.
