vet_lockfile_change
Audit only the packages a lockfile change adds by comparing the working file with a git ref. Returns one verdict per added package and an aggregate exit code; incomplete audits report 3.
Instructions
Audit only the packages a lockfile change adds, comparing the working file against a git ref. Returns one verdict per added package plus an aggregate exit code; an incomplete audit reports 3, never a pass.
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": {
"lockfile": "<lockfile>"
},
"name": "vet_lockfile_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Git ref to compare against, such as HEAD~1 or origin/main. Defaults to HEAD. | |
| lockfile | Yes | Lockfile path, relative to the working directory and inside it: package-lock.json, requirements.txt, Cargo.lock, pnpm-lock.yaml, deno.lock, and the rest. |