A Model Context Protocol server exposing a Casper verdict ledger. Serves `.claude/verdicts.log` (an append-only judgment ledger) to any MCP client over stdio as a structured RESOURCE plus three query TOOLS. Correction history becomes a live, queryable context source for any model.
Three tools with basic schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. query_verdicts has reasonable parameter descriptions (type, since, commit, limit all documented), but ledger_stats and overrode_then_broke accept empty input objects with no guidance on what they return. No tool documents its output schema structure. Descriptions are adequate (50-150 chars) but lack actionable context for LLM selection. No error handling guidance, no parameter constraints (enums, ranges), and no indication of which tools are read-only vs. destructive (though all appear read-only). Tool naming is clear and verb-forward (query_, ledger_, overrode_), but composition is weak, overrode_then_broke performs complex multi-step logic (git file correlation, revert detection) that could be split into smaller, chainable tools.
Counts by verdict type, gate-override rate, days since last override
Gate overrides whose judged commit was later reverted/fixed. Reuses verdict-viewer's correlation logic: for each commit-linked GATE OVERRIDE, ask git which files the commit touched, then scan <sha>..HEAD for later commits touching the SAME files with a revert/fix-like subject. Degrades to a clear status when git or commit linkage is missing.
Filter the ledger by type / since / commit
Output schemas not documented. Tools return dicts (e.g., ledger_stats returns 'by_type', 'gate_override_rate', 'suspicious_gates') but LLMs cannot see the structure. Agents cannot plan downstream calls or extract fields reliably.
ledger_stats and overrode_then_broke accept empty input objects with no parameter descriptions. LLMs cannot determine what these tools do or when to call them without reading implementation code.
query_verdicts 'type' parameter lacks enum constraint. Description says 'e.g., GATE, DOOR, PREMORTEM, REFUTE' but does not enforce these as the only valid values. LLMs may hallucinate invalid types.
overrode_then_broke performs complex multi-step logic (git file correlation, revert detection) in a single tool. This violates single-responsibility principle and makes the tool hard to test, debug, and compose with other tools.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
No error handling guidance. Tools may fail (git not available, malformed ledger, missing commit linkage) but descriptions do not explain what to do next or how to recover.