Record Anti-Loop Dead-End or Architectural Constraint
record_dead_endRecords failed debugging attempts and architectural constraints so future sessions avoid repeating the same dead-end. Captures the error pattern, tried solution, and root cause.
Instructions
Record a failed debugging attempt or intentional architectural constraint so future turns and sessions never repeat the same dead-end.
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": {
"project_path": "<project_path>",
"error_pattern": "<error_pattern>",
"attempted_solution": "<attempted_solution>",
"root_cause": "<root_cause>"
},
"name": "record_dead_end"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Taxonomy kind: 'error_loop' for code/test bug, 'architectural' for intentional trade-off / rejected approach | error_loop |
| files | No | Workspace-relative file paths involved | |
| root_cause | Yes | Why the approach failed or constraint discovered | |
| constraints | No | Active constraints or invariants that forbid this approach | |
| project_path | Yes | Absolute path to the project workspace root | |
| error_pattern | Yes | Compiler error, test failure, or symptom encountered | |
| attempted_solution | Yes | What fix or approach was tried and failed |