prufgate_contract_check
Detects undeclared or hallucinated imports, undocumented environment variables, and frontend/backend route mismatches so repository contracts stay consistent.
Instructions
Engine 4: undeclared or hallucinated imports, undocumented environment variables and frontend/backend route mismatches.
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": "prufgate_contract_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_ref | No | Base git ref to diff against, e.g. origin/main | |
| changed_only | No | Scan only changed files | |
| workspace_path | No | Path to the repository to scan | . |