jev_verify_diff
Verifies a git diff against the original spec, checking security risk, regressions, spec fit, and test coverage in one pass. Returns ALLOW, ASK_USER, or BLOCK to flag issues before completion.
Instructions
Zero-token Spec-to-Diff verification gate. Automatically collects local git diff (if omitted) and evaluates spec fulfillment, bug risk, security risk, and test coverage in 1 parallel pass. BLOCK = elevated security or regression risk: fix before finishing. ASK_USER = warning (spec alignment uncertain or tests missing): tell the user which parts are uncertain instead of rewriting the spec to pass. ALLOW = clean.
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": {
"spec": "<spec>"
},
"name": "jev_verify_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The user's original request or acceptance criteria for this step, verbatim where possible. Do not paraphrase the diff. | |
| git_diff | No | Optional git diff string. Leave empty to auto-collect local `git diff HEAD` | |
| test_output | No | Optional test runner output | |
| working_directory | No | Workspace path for local git collection |