check_scar_tissue
Checks historical dead ends before editing a target file and returns short redline alerts when the file, symbol, or planned change matches a prior failed approach.
Instructions
Mandatory pre-edit Gatekeeper: Check historical dead ends before modifying target_file.
Instead of dumping thousands of lines of CLAUDE.md history into the context window, returns strictly <= 50-char high-priority redline alerts ONLY when the target file, symbol, or 16-dim semantic intent matches a historical minefield.
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": {
"target_file": "<target_file>"
},
"name": "check_scar_tissue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| threshold | No | ||
| target_file | Yes | ||
| target_symbol | No | ||
| planned_change | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |