claude_verify
Run an independent, read-only blind audit via local Claude Code CLI, blocking write/edit tools and enforcing PASS/FAIL/BLOCKED verdicts for high-risk changes.
Instructions
Run an independent read-only blind audit via local Claude Code CLI (default Opus 5.5, --model opus) in a fresh no-persistence context without executor self-reports. Serves as the parallel secondary double-blind auditor alongside agy_verify for major/milestone/high-risk changes and automatic fallback when agy CLI is unavailable. Blocks write/edit/mutating tools, checks directory snapshots for read_only_violation, audits a turn-scoped or full-workspace git diff plus .agents/state/plan-history.md, and enforces VERDICT: PASS|FAIL|BLOCKED.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_dir": "<workspace_dir>"
},
"name": "claude_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Complete approved implementation plan or fix-round instructions (optional when plan_file is provided). | |
| model | No | Claude verifier model alias or ID (default: opus -> Opus 5.5; e.g. claude-opus-5-5, opus[1m]). | |
| effort | No | Claude CLI verifier reasoning effort: low, medium, high, xhigh, or max (default: CLAUDE_VERIFY_EFFORT or high). | |
| max_turns | No | Maximum Claude CLI verifier turns (default: 25). | |
| plan_file | No | Optional path to Markdown/text file containing the approved plan (relative to workspace_dir or absolute). | |
| allow_bash | No | Allow non-mutating Bash commands (tests, typechecks, linters) during read-only audit (default: true). | |
| diff_scope | No | 'last_run' (default): diff only the changes since the last executor run checkpoint pre_run_tree (new files included), falling back to 'workspace' when unavailable; 'workspace': full uncommitted workspace diff (milestones / pre-commit / pre-PR). | |
| allowed_files | No | Authorized file paths Claude is permitted to create or modify. | |
| extra_context | No | Optional additional focus areas or disputed findings (do not feed executor self-reports for normal blind audits). | |
| workspace_dir | Yes | Absolute path to the target project workspace directory. | |
| include_history | No | Read-only inject .agents/state/plan-history.md to verify cross-plan compatibility and anti-duplication (default: true). | |
| timeout_seconds | No | Sync verify timeout in seconds (default: 150, max: 165). | |
| include_git_diff | No | Inject bounded current git diff and status into the audit prompt (default: true). | |
| verification_commands | No | Read-only verification commands the verifier should run to collect objective runtime evidence. |