Settle a claim about Python code by measurement: run a test with and without the change it is supposed to guard, and report whether the test can actually fail.
Three tools with clear, domain-specific purposes and well-documented schemas. Tool names are action-oriented (verify_guard, check_claim_shape, evidence_digest). Descriptions are substantive (100-200 chars) and explain WHAT, WHEN, and WHY. Input parameters have types and descriptions. However, output schemas are not formally documented in the code, they are described in prose only. Error handling is present but could be more structured for LLM recovery guidance. No tool annotations (readOnlyHint, destructiveHint) despite all being read-only operations.
Report what would have to be measured before a claim about code can be believed. Use this when a claim is vague ("this is well tested", "this is faster") to turn it into something checkable — or to learn that this server cannot settle it.
Pin a result so a later answer can be checked against it. Args: result: a JSON result from verify_guard or check_claim_shape. Returns: A short hash of the result, suitable for embedding in a later claim like "this is the same as the result with digest abc123".
Settle whether a test actually guards a fix, by running it both ways. Args: fixed_code: the module source WITH the fix applied. broken_code: the same source WITHOUT the fix (the mutation the test should catch). test_code: the test. It must use bare `assert`; it is appended to each version in turn. Returns a verdict: KILLED - passes with the fix, fails without it. The test is a real guard. DECORATIVE - passes BOTH ways. It cannot detect the bug it claims to cover. BROKEN_TEST - fails even with the fix. The claim is wrong, or the test is. NO_ASSERTIONS - the test contains no assert, so it cannot fail for the right reason. REJECTED - input was refused; see `reason`.
Output schemas not formally documented. Tool descriptions mention return values (KILLED, DECORATIVE, BROKEN_TEST, etc.) but no JSON Schema for response structure. LLMs cannot reliably parse or chain results.
Tool annotations missing. All three tools are read-only (no side effects), but readOnlyHint is not set. This prevents LLMs from optimizing caching and retry strategies.
Error recovery guidance incomplete. RunResult.error_type and error_message are returned, but no actionable next steps. E.g., 'REJECTED' verdict should suggest 'Call check_claim_shape first to validate the claim structure.'
Parameter 'result' in evidence_digest accepts a string ('a JSON result') but no schema validation or format constraint. LLMs may pass malformed JSON. Should specify format: 'json' or validate structure.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 67 | 2026-07-28+ | v2 |
No pagination or result limits documented for check_claim_shape. If a claim analysis produces large output, no guidance on truncation or streaming.