agy_verify
Runs an independent read-only cross-vendor blind audit in a fresh context to verify code changes against an approved plan and return PASS, FAIL, or BLOCKED verdicts.
Instructions
Run an independent read-only primary cross-vendor blind audit via local Antigravity CLI (agy --mode plan, default gemini-4-carbon-high) in a fresh context without --resume or executor self-reports. Acquires a shared read lock (runs in parallel with claude_verify for double-blind checks on major changes), checks directory snapshots, enforces VERDICT: PASS|FAIL|BLOCKED, and supports async_mode=true.
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": "agy_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 | Optional agy verifier model slug (default: gemini-4-carbon-high; override e.g. gemini-4-neon-xhigh, or set AGY_VERIFY_MODEL='' to follow agy settings.json). | |
| effort | No | Optional reasoning effort: low, medium, high, xhigh, or max. | |
| plan_file | No | Optional path to Markdown/text file containing the approved plan (relative to workspace_dir or absolute). | |
| allow_bash | No | Allow read-only verification shell checks during audit (default: true). | |
| async_mode | No | If true, return job_id immediately for long full-workspace audits; poll with claude_execute_status (default: false). | |
| diff_scope | No | 'last_run' (default, changes since pre_run_tree) or 'workspace'. | |
| allowed_files | No | Authorized file paths Claude is permitted to create or modify. | |
| extra_context | No | Optional audit focus or disputed finding for targeted arbitration. | |
| workspace_dir | Yes | Absolute path to the target project workspace directory. | |
| include_history | No | Inject bounded L1 .agents/state/workspace-brief.md plus the latest 2 L2 plan-history entries on fresh/rotated/fallback runs (default: true). | |
| timeout_seconds | No | Timeout in seconds (sync cap 165s, async max 1800s). | |
| include_git_diff | No | Inject bounded current git diff and status into the audit prompt (default: true). | |
| verification_commands | No | Read-only verification commands agy should run when allow_bash is true. |