veto_pre_commit
Scans staged changes for secrets and provides code review in parallel, blocking commits on any secret finding. Returns a verdict: blocked, warn, or pass.
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. |