veto_pre_commit
Scans staged changes for secrets and reviews code in parallel, returning blocked, warn, or pass verdict for commit-time validation.
Instructions
Pre-commit gate: runs secrets scan (hard block on any finding) + code review in parallel on staged changes. Faster than veto_full_review — tuned for commit-time validation. Returns a blocked/warn/pass verdict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional: branch name or additional context. | |
| project_dir | Yes | Absolute path to project. Reads staged changes (git diff --cached) automatically. | |
| agent_outputs | No | Phase 2 responses from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |