AI failsafe system for VS Code. Intercepts dangerous operations (destructive pushes, deletions, infrastructure changes) and requires human verification before they proceed.
Features
- Status Bar — shows guard state (ON/OFF) and pending operations
- Block Notifications — alerts when an operation is blocked with one-click verification
- Sidebar — guard state, platform status, and recent audit activity
- Commands — activate/deactivate push guard, enter verification codes, view audit log
Commands
| Command | Description |
|---|---|
theGuard: Activate Push Guard |
Enable the push guard |
theGuard: Deactivate Push Guard |
Disable the push guard |
theGuard: Enter Verification Code |
Enter a code received via email |
theGuard: Show Status |
Display current guard configuration |
theGuard: Setup AI Tool Integrations |
Configure AI tool hooks |
theGuard: View Audit Log |
Open the audit log file |
Activation
The extension activates automatically when a .the-guard directory is present in the workspace root.
Requirements
- theGuard must be initialized in the project (
npx the-guard init) - Node.js 18+