krusch_context_nudge
Audit proposed code diffs and actions against active project invariants, then tune rule weights from developer feedback to keep alignment checks accurate.
Instructions
Invariant auditor and alignment feedback loop. Checks proposed code diffs or actions against active project invariants, and adjusts rule weights based on developer feedback.
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 diff snippet to audit | |
| hook | No | Alias for trigger | |
| action | No | Action: audit against invariants or submit feedback | audit |
| project | No | Target project | |
| rule_id | No | Rule or memory ID when providing feedback | |
| trigger | No | Trigger point. Default: manual. ('every_turn' is disabled to prevent audit spam) | manual |
| feedback | No | Feedback rating to tune rule weights | |
| file_path | No | Optional target file path |