Verify a fix
yof_verifyRe-scan one file to confirm a reported finding is fixed. Returns fixed status, reason, and redacted remaining matches; run yof_check_diff afterward to cover the rest of the change.
Instructions
Re-scan one file on this computer and report whether a finding is gone. Use it right after fixing something yof_check, yof_check_diff or yof_fix_prompt pointed to; it reads only that file, so run yof_check_diff afterwards to cover the rest of the change. With no rule_id it looks for every key rule (secret.*); a package rule needs package and asks npm, PyPI and OSV unless offline is true. A missing file, or one over 1 MB, counts as fixed. Returns file, rule, fixed (true, false, or null when a registry did not answer), why, and for key rules the matches still there, redacted.
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": {
"file": "<file>"
},
"name": "yof_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The file to re-scan, relative to the project root. | |
| offline | No | true skips the npm, PyPI and OSV lookups, so nothing leaves this computer; package problems are then not reported. Default false. | |
| package | No | The package name. Required when rule_id is a package rule (package.*). | |
| rule_id | No | The rule id to look for, for example secret.stripe_live. Default: every key rule. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | Yes | The reason, in plain words. | |
| file | Yes | The file re-scanned. | |
| rule | Yes | The rule checked, or null for every key rule. | |
| fixed | Yes | true when gone, false when still there, null when a registry did not answer. | |
| still | No | Key matches still in the file (key rules). | |
| package | No | The package (package rules). | |
| reminder | No | For a removed key: replace it at the provider too. |