Claim-Obligation Certificates for Evidence-Backed Agent Verification¶
A deterministic orchestrator coordinates six stateless roles to emit replayable claim-obligation certificates when order-of-magnitude verification latency is acceptable.
Consider claim-obligation certificates for offline candidate selection, benchmark auditing, or unattended deliverables when decisive checks can run in a captured sandbox and the verification time fits the budget. In the Agent-as-a-Verifier architecture, a deterministic orchestrator coordinates six stateless LLM roles over closed-enum JSON schemas and computes every verdict itself. No LLM role can directly award a passing verdict (Sun et al., 2026).
When this pattern applies¶
Consider the protocol when no complete deterministic test suite covers the task. In the offline evaluation, stock Codex generation cost $0.02 and took about 3 minutes per trace. Certification took tens of minutes per trace (Appendix D). In the separate in-loop evaluation, adding the verifier increased wall-clock time roughly tenfold (§5.2) (Sun et al., 2026).
When a sound deterministic oracle already exists, run it and re-prompt on failure. In reasoning and planning experiments, this approach retained most of the benefits of more involved methods (Stechly et al., 2025).
For tighter budgets, consider an independent critic. Across the critic designs Zhang et al. tested, average accuracy gains on a Terminal-Bench 2.1 subset ranged from 5.9 to 9.5 percentage points. Review and revision brought total costs to 1.13 to 1.25 times baseline (Zhang et al., 2026). In Sun et al.'s offline best-of-five setup, LLM-as-a-Verifier used roughly 5 pairwise comparisons per task and took seconds per comparison (Kwok et al., 2026, Sun et al., 2026).
How the six-role protocol works¶
This pattern applies separation of authority across six stateless LLM roles with no shared conversational state (Sun et al., 2026):
| Role | Access and inputs | Output |
|---|---|---|
extractor |
Task statement q, execution record R, and final answer y (read-only: Read, Grep, Glob) |
Adds assertions and the final claim c* to the verdict-blind DAG G. The system generates effect claims (event, tool, digest) mechanically from R. |
compiler |
For c*, only q and baseline metadata from the pre-task workspace snapshot W_0 (no tools). For an intermediate assertion c, inputs are q, c, the claim graph G, record R, and delivered workspace W (read-only: Read, Grep, Glob). |
Final obligations Contract(q, W_0) and assertion obligations Plan(q, c, G; R, W) |
critic |
Compiled obligations (non-executing) | Up to 4 rounds of attacks for insufficiency and over-strictness |
oracle |
One obligation (read-only: Read, Grep, Glob, plus web) | Candidate check procedures |
executor |
Delivered workspace W in sandbox |
Executed check outputs and digest-bound artifacts |
judger |
Check outputs and evidence records | Evidence audits against compiled obligations |
Because final-claim contract compilation (Contract(q, W_0)) sees neither the claim graph G, execution record R, final answer y, nor delivered workspace W, a candidate trace cannot narrow its own acceptance criteria (Sun et al., 2026).
The orchestrator types evidence along two axes and folds verdicts fail-closed (Sun et al., 2026):
- Evidence basis ranks
recordbelowworld. Record-only evidence cannot satisfy or refute aworldobligation. - Evidence strength ranks
analyticbelowboundedbelowdecisive. - Refutation requires
decisivestrength. A bounded instrument's contrary signal converts to a failed check with its witness preserved for repair. - Crashes, timeouts, malformed outputs, and failed
judgeraudits fold tofailedinstead of positive evidence.
Acceptance depends on required must clauses. A refuted advisory should clause counts as unavailable in the local fold and does not itself refute the final claim. Equation 9 adjusts the final verdict only if the final claim is locally VERIFIED. Record-only evidence yields UNVERIFIED. At least one world result and at least one limited-strength result yield SUPPORTED (Sun et al., 2026).
Both Equation 10 and Appendix B rank candidates first by verdict (VERIFIED > SUPPORTED > PARTIAL > UNVERIFIED > REFUTED). They specify different tie-breaks (Sun et al., 2026).
Offline Best-of-5 selection ran on 89 Terminal-Bench 2.1 tasks (445 official traces, pass@5 ceiling 86/89). Selection decided the outcome on 36 mixed-outcome pools (pass@5 ceiling 36/36). Agent-as-a-Verifier (gpt-5.6-luna) reached 80/89 overall and 30/36 on mixed pools. Same-model LLM-as-a-Verifier text scoring (gpt-5.6-luna) reached 74/89 (24/36), and LLM-as-a-Verifier's reported logprob deepseek-v4-flash setup reached about 78/89 (about 28/36). That study covered one terminal-agent benchmark, one fixed candidate pool, and one verifier configuration (Sun et al., 2026).
Online verification exposed four MCP verbs (commit, verify, status, certificate) plus a stop hook with up to 3 returns per final claim on FrontierMath and Terminal-Bench (Sun et al., 2026). The in-loop experiments used Codex CLI with gpt-5.6-luna at maximum reasoning effort. On the FrontierMath public sample, pass counts rose from 8/12 to 11/12 (3 verifier-only / 0 plain-only disagreements). On Terminal-Bench 2.1, they rose from 63/87 to 73/87 (16 verifier-only / 6 plain-only). On the CyberGym arvo subset, they rose from 37/50 to 45/50 (11 verifier-only / 3 plain-only). Each task ran once per arm (Sun et al., 2026). Appendix A describes the Claude Agent SDK and Codex CLI backends, which enforce role tool boundaries differently (Sun et al., 2026).
Why it works¶
Scalar trajectory scorers (LLM-as-a-Verifier) grade only recorded prose and tool logs, omitting unrecorded final-state evidence (Sun et al., 2026). Across the 180 candidate runs from the 36 mixed-outcome Terminal-Bench 2.1 pools, LLM-as-a-Verifier (gpt-5.6-luna text scoring) placed 139 of 180 scores inside [0.45, 0.55] (all 180 lay in [0.346, 0.625]), and 14 of 36 top-two gaps fell below 0.02, with a median gap of 0.049 (Sun et al., 2026).
Claim-obligation certificates separate candidates through three coupled mechanisms:
- Blind contract compilation (
Contract(q, W_0)) blocks candidate self-narrowing (Sun et al., 2026). - Active workspace execution grounds verdicts in external checks instead of LLM self-critique, matching evidence that sound external verifiers beat pure self-critique (Stechly et al., 2025).
- Deterministic fail-closed folding over typed evidence prevents missing, weak, or crashed checks from passing silently (Sun et al., 2026).
When this backfires¶
The results expose these limits:
- Tight latency or compute budgets. Sun et al. report no compute-matched baselines or component ablations, so their results do not establish whether certification beats a single critic or extra rollouts at equal cost (Sun et al., 2026).
- Missing sandbox dependencies. For example, the sandbox could not run the
MobileSAMsegmentation model to check the delivered masks forsam-cell-seg. Candidates in pools with this kind of missing dependency fell back toUNVERIFIED(Sun et al., 2026). - Authority circularity and contract over-literalism. Of the 6 misses among the 36 mixed-outcome pools, 2 involved reliance on the solver's own post-task state, 2 involved over-literal readings of task clauses, and 2 lacked sandbox dependencies (Sun et al., 2026).
- Model-dependent judgments. In the
mteb-retrievererun, replacinggpt-5.6-lunawithgpt-5.6-terrain every verifier role changed one false accept to a partial verdict and corrected one false refutation. Both models still made the same mistakes ondb-wal-recoveryandvideo-processing(Sun et al., 2026). The in-loop runs used Luna for both solver and verifier (Sun et al., 2026). Goel et al. show that errors can be correlated across models. They did not measure this solver–verifier pair (Goel et al., 2025).
Example¶
On Terminal-Bench's largest-eigenval task, the official Harbor harness resets the random seed to zero on its two correctness tests (testing one standard-normal matrix per size) and discards outputs in its speed loop of 100 matrices per size (Sun et al., 2026). A solver's 2x2 fast path ([b, λ - a] whenever b ≠ 0) suffered catastrophic cancellation on heterogeneous-scale float64 inputs, yet Harbor awarded reward 1.0.
Agent-as-a-Verifier compiled obligations from the task statement alone, and its executor tested 4,083 arrays against the delivered workspace. It found a finite, in-domain float64 counterexample where np.allclose failed. The certificate bound the captured implementation, raw counterexample bytes, returned eigenvalue and vector, independently computed dominance data, and both sides of the failed identity by digest. The orchestrator then folded the verdict to REFUTED (Sun et al., 2026).
Key Takeaways¶
- Keep verdict authority in deterministic orchestrator code; let stateless LLM roles propose claims, obligations, checks, and audits over closed-enum JSON schemas.
- Compile acceptance criteria from the task statement and pre-task baseline alone so candidate traces cannot narrow what gets checked.
- Type every check by evidence basis (
recordversusworld) and strength (analytic,bounded,decisive), and fold crashes or weak checks fail-closed tofailed,UNVERIFIED, orSUPPORTED. - Reserve six-role certification for offline selection, benchmark auditing, or high-stakes deliverables; use deterministic tests or a single independent critic for interactive coding loops.
- Audit emitted certificates for authority circularity and contract over-literalism. Both failure modes persisted in the reported model-substitution cases.
Related¶
- Claim-to-Evidence Trace Graphs for Auditing Agent Runs — Passive post-run trace reorganization for human review, without blind contract compilation or active workspace checks
- A Separate Critic Over Completion-Time Self-Checking — Single-critic harness layer that captures Terminal-Bench gains at 1.13 to 1.25 times baseline cost
- Verification Ledger for Tracking Agent Output Quality — Structured log of checks an agent ran, without an independent verifier or fail-closed obligation folding
- Anti-Reward-Hacking: Rubrics That Resist Gaming — Orthogonal grader design for catching specification gaming when a single test harness is exploitable