krusch_context_nudge
Audits staged code or unified diffs against active project invariants, returning up to three findings to catch issues before commit.
Instructions
Audit staged code or unified diffs against active project invariants (max 3 findings).
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": "krusch_context_nudge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Code or unified diff to audit | |
| trigger | No | pre_commit | |
| file_path | No | Optional target file path for git blame attribution | |
| enable_lego_guard | No | Optional flag to force INV-LEGO-01 boilerplate check |