aethis_explain_failure
Diagnose why a ruleset returns an unexpected outcome for test inputs during rule authoring. Get criteria DSL metadata and a targeted fix hint when a test fails.
Instructions
Diagnose why a ruleset produced an unexpected outcome for specific test inputs. Use during rule authoring when a test fails — returns the diagnosis, criteria with DSL metadata (waivable, review_required), and a targeted hint for fixing the rule.
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": {
"ruleset_id": "<ruleset_id>",
"field_values": "<field_values>",
"expected_outcome": "<expected_outcome>"
},
"name": "aethis_explain_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_name | No | Name of the failing test case (included in the diagnosis for context) | |
| ruleset_id | Yes | The ID of the rule ruleset to diagnose | |
| field_values | Yes | The test input values that produced the unexpected outcome | |
| expected_outcome | Yes | The outcome you expected from this input |