Inspect Nomos Gate or ERR_* Failure Remediation
diagnose_nomos_errorLook up any Nomos ERR_* failure code, TC-AGT-* vector, or nomos verify gate rejection to retrieve its root cause and non-bypassing AST remediation. Example: error_code='ERR_CROSS_PLANE_MUTATION' returns the remediation guide. Use when troubleshooting a verify failure or pre-commit hook error. Do NOT use when browsing the full catalog of 42 gates by Law or category without an error (use inspect_dod_gates instead).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"error_code": "ERR_CROSS_PLANE_MUTATION"
},
"name": "diagnose_nomos_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_log | No | Optional raw error message, gate name, or pre-commit output snippet. | |
| error_code | No | Optional ERR_* identifier such as ERR_CROSS_PLANE_MUTATION or ERR_COGNITIVE_DEBT. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Combined error query string. | |
| docsUrl | Yes | Gate catalog documentation URL. | |
| summary | Yes | Deterministic Markdown remediation summary. | |
| canonicalUrl | Yes | Canonical gate reference URL. | |
| matchedCodes | Yes | Matched ERR_* diagnostics. | |
| matchedGates | Yes | Related compiled gates. |