verify_fix
Check a proposed diff for fix completeness before committing. Returns a verdict on untouched references, test impact, and risk level to confirm the root cause is addressed.
Instructions
Check fix completeness against a raw unified diff before committing.
Runs completeness + test-impact analysis on the proposed diff and returns a verdict. Iterate until verdict == "complete" (no untouched call sites). "complete" covers the root cause but does not imply a test exists - a complete but untested fix comes back at risk_level "medium" with a note, so check risk_level/notes and add the test before committing.
Returns: {verdict: "complete"|"partial"|"risky", symbols_fixed: [...], untouched_references: [...], tests_to_run: [...], adds_test: bool, risk_level: "low"|"medium"|"high", notes: [...]}
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": {
"repo": "<repo>",
"proposed_diff": "<proposed_diff>"
},
"name": "verify_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| repo | Yes | ||
| proposed_diff | Yes |