record_dead_end
Records proven dead-end code changes with root cause and safe pivot, then generates a short warning to prevent repeating failed approaches in matching files or modules.
Instructions
Record a proven dead-end code change (Anti-Memory / Scar Tissue).
Extracts {attempted_change + error_root_cause + dead_end_approach + safe_pivot}, encodes a 16-dimensional latent scar vector (Memorilla-inspired gatekeeper), and compiles a strictly <= 50 character Contrastive Pivot redline alert.
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>",
"attempted_change": "<attempted_change>",
"error_root_cause": "<error_root_cause>",
"dead_end_approach": "<dead_end_approach>"
},
"name": "record_dead_end"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| safe_pivot | No | ||
| target_file | Yes | ||
| target_symbol | No | ||
| trigger_source | No | manual_mcp | |
| attempted_change | Yes | ||
| error_root_cause | Yes | ||
| commit_or_run_ref | No | ||
| dead_end_approach | Yes | ||
| raw_context_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |