ai_guard_verify_change
Verifies a Git change by reporting introduced lint findings, skipped or weakened tests, and agent-config issues; flags blocking problems to fix first without modifying source.
Instructions
One verdict for the current Git change: lint findings it introduced, focused/skipped/removed/weakened tests, and agent-config issues. pass=false means fix blocking first; report every item in disclosures to the user. Does not modify source.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ai_guard_verify_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Compare the branch through its merge-base with this ref. Default: uncommitted changes vs HEAD | |
| preset | No | agent | |
| maxFindings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| pass | Yes | ||
| errors | Yes | ||
| status | Yes | ||
| success | Yes | ||
| summary | Yes | ||
| blocking | Yes | ||
| truncated | Yes | ||
| disclosures | Yes | ||
| preExisting | Yes | ||
| changedFiles | Yes | ||
| totalBlocking | Yes | ||
| totalDisclosures | Yes |