verify_diamond_crucible_and_ast
Audit Python source code (code_markdown) and verify the 8-vertex Reed-Muller RM(1,3) cryptographic crucible in under 4 ms. Use this tool ONLY for Python AST static code auditing (syntax, import-hoist guard, zero placeholders) or RM(1,3) geometric proofs; use verify_sovereign_shield_merkle for generic plain-text Merkle notarization and PII purification, and simulate_diamond_spiral_budget for call and cost estimation. Zero-auth, stateless, and free (0.00 EUR), checking RM(1,3) antipodal geometry across 256 states in Q^3, non-coercion laws L1..L7 (c_levels == 1), 22/22 killed policy mutants, and Python AST verification whenever code_markdown is provided. diag_active (1..4) weights the active diagonal pair in the rational barycenter, lang localizes summaries, and any syntax or AST rule violation sets result to 'violation_detected' while returning an RFC 8785 (JCS) + RFC 7515 (JWS ES256) signature.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "verify_diamond_crucible_and_ast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Output language for localized verification summaries ('en' English, 'es' Spanish, or 'ca' Catalan). | en |
| diag_active | No | Active body diagonal of the 8-vertex Stella Octangula (`1` Fire, `2` Earth, `3` Air, or `4` Water; default `2`), assigning weight 2 to the active antipodal pair in the rational barycenter. | |
| code_markdown | No | Optional Python source code or Markdown containing ```python blocks to audit with the AST Kintsugi Verifier (Syntax, Rule 4 Import Hoist Guard, and Rule 7 Zero Placeholders). When omitted, only the 256-state RM(1,3) crucible and 22/22 mutant checks run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| oracle | No | ||
| result | No | ||
| status | Yes | ||
| equation | No | ||
| crucible_proof | Yes | ||
| cryptographic_attestation_es256 | Yes |