turingmind_classify_failure
Classify a SpecNode failure as spec_gap, test_gap, implementation_bug, or dependency_failure and escalate to the appropriate mode.
Instructions
Classify a SpecNode failure deterministically. Do NOT guess. Exactly one classification applies: spec_gap → contract is incomplete or ambiguous → escalate to Architect Mode test_gap → tests don't cover the failure scenario → escalate to Tester Mode implementation_bug → code is wrong, spec and tests are correct → escalate to Builder Mode dependency_failure → upstream node is broken, block this node
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": {
"node_id": "<node_id>",
"classification": "<classification>",
"failure_trace": "<failure_trace>"
},
"name": "turingmind_classify_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| evidence | No | Why this classification was chosen | |
| failure_trace | Yes | Raw test output, stack trace, or error message | |
| classification | Yes |