DEV Community

Cover image for The refusal set: what happens when verification says no
rambo
rambo

Posted on

The refusal set: what happens when verification says no

A checker just told you no. Not "the work was bad." It told you the record in front of it cannot carry the claim you asked about, and it refused to pretend otherwise.

That refusal is the most useful output a verifier produces, and it is the one most systems quietly delete. They collapse it into success or a generic error, and the next person downstream inherits a certainty nobody earned.

This post is about the vocabulary that keeps the refusal intact. Brennan Zambo created agent execution receipts, Zambo is the origin product, and AER-1 is the defining standard that names what a checker is allowed to say. The examples below are real, consented, and checkable: three people ran real records on public threads, and you can re-run the central one yourself.

The case that opens the set

A fictional queue accepts body C for account A and destination B. The provider call then times out with no acknowledgement. Someone asks the checker: was this delivered exactly once?

The honest answer is not yes and not no. Queue acceptance is a fact about the local side. A timeout is a fact about the observation. Neither is a fact about delivery. A checker that answers "delivered" invents an observation; one that answers "failed" invents one in the other direction. The record supports exactly one statement: this was not checked, because nothing in it speaks to delivery.

That case is a fixture, proposed and later run on the AER-1 discussion board. First, the vocabulary it exercises.

Five outcomes, no sixth hiding place

AER-1 gives an anchor exactly five outcomes:

  1. verified: the anchor was evaluated and the recompute matches.
  2. verification failed: the anchor was evaluated and the recompute does not match.
  3. rejected: unresolvable record: a record was presented, but it cannot be resolved or bound to the claim, so evaluation cannot honestly proceed on it.
  4. not checked: the anchor was not evaluated. No claim about the underlying work follows from this.
  5. absent: there is no record for the anchor at all.

Two distinctions do most of the work. Absent says go find the record; rejected: unresolvable record says the record you found cannot carry the claim, so a better bound record is the fix. The remedy differs, so the word differs. And failed means someone ran the check and it did not hold, while not checked means nobody ran it, or nothing in the record lets it run. Promoting not checked to failed punishes work nobody examined. Promoting it to verified manufactures trust from silence.

So the rule, applied everywhere below: an unevaluated anchor is reported "not checked", never a pass and never a failure.

First run: a recompute anyone can repeat

On x402-foundation/x402 issue #2887, the thread worked through a composite handler problem: a fan-out endpoint whose steps can fail while the outer envelope still reports success. The step-level run posted there bound each step separately, with a step list digest committing the ordered set.

holistis then recomputed the whole thing independently, using the velddigest from agent-receipt-verify. All six digests matched:

Record Digest
Request 1, step-a 5de2add74de6af416268d8c388753af51635d8de77831e98ba13e4ef058dfecb
Request 1, step-b c44efcea154a564e9e87e300b06e94758c0b6c55854a1daf18f56e6db128c251
Request 1, step list d451bbb02bbef3c6747485b8dbc2fabba377460e26cb2d97955c2b163d70aa49
Request 2, step-a 5de2add74de6af416268d8c388753af51635d8de77831e98ba13e4ef058dfecb
Request 2, step-b 6ddf55363ff44c48c2f782e7f68e8b7e3802153797249c6635b2fc694487131c
Request 2, step list c3469b219e5ba1cc4ca8fcca3c6372e32cf5b3cc26fc2b644a5983beb3bb95b0

Read it the way a dispute reader would. Request 2 is the partial one: step-b failed. Its step-a digest is identical to request 1, because that step did not change. Only the changed step moves. That is what per-step binding buys you: the failure is located, not smeared across the whole bundle.

holistis also published the two record shapes that reproduce the digests:

{"name":"step-a","status":"done","result":{"status":"done"}}
Enter fullscreen mode Exit fullscreen mode
{"name":"step-b","status":"failed","cause":"platform","result":{"status":"failed","reason":"upstream timeout"}}
Enter fullscreen mode Exit fullscreen mode

Each record is digested on its own; the step list digest covers the array of step digests in order. His demo citation consent is on the thread: the demo goes into this write-up as the worked reproduction, with his name on it.

Second run: the shape that says who pays

An outcome alone does not settle a dispute. "Step b: verification failed" tells you what happened, not who pays, and a reader who has to re-execute the work to find out is doing the dispute layer's job twice.

On the same thread, minia2auk proposed the step-entry shape that fixes this, and the thread adopted it: {name, status, cause}, committed by the step list digest. The shape is credited to minia2auk by name, here and on the thread.

The cause vocabulary is fixed at three tokens: caller, platform, service. Caller: refused before authorization to settle, the 400 case, no charge. Platform: an upstream returned a bad answer, charge refundable, not the endpoint's own fault. Service: the handler itself is wrong, the only cause that counts against the endpoint.

Worked as a table, from request 2 above:

name status cause What a dispute reader gets
step-a done (none asserted) The step ran and its digest verifies on its own.
step-b failed platform The failure is located, and the cause inside the digested record says upstream timeout, not an endpoint defect.
(a step with no record) absent (no record) Not a failed step. A missing step, which is a different finding.
(a step never evaluated) not checked (not evaluated) No verdict at all, and none may be inferred.

Three more rules from the same exchange are load-bearing. Cause is committed at run time, not assigned later by a reader. If cause is absent, the default reading is service, so silence is never a free exemption. And an asserted cause with no backing record counts as a claim, not evidence: it gets discounted, while the step's outcome still reads on its own.

Third run: the claim the record cannot carry

Back to the queue that timed out. On zambodotdev/aer-1 Discussion #5, srhee91 proposed the fixture, it was accepted into the refusal set, and then he ran it against the checker.

Codex-assisted reference run via @srhee91, using aer1-verify 0.2.32

The run, as posted in the reference run comment: the receipt integrity check returned PASS, ID unverified. The claims check then returned two different answers against the same receipt. "Local queue accepted body C for account A and destination B" came back MATCHED, because the record speaks to that. "Delivered exactly once" came back with no receipt speaking to it: no delivery observation, no independent provider readback. His suggested display for the person deciding whether to retry: "Queued locally. Delivery unknown."

That is the refusal set in one screen. The integrity PASS is a statement about the record: the bytes hold together. The claims result is a statement about the language: one claim matched, one got nothing. A checker that let the first bleed into the second would be doing exactly the promotion this vocabulary exists to refuse. Consent to cite the run this way is on the thread, in his consent comment.

Run the corpus yourself

None of this asks you to trust the write-up. The corpus is public and the checker is on PyPI.

  • Corpus: https://zambo.dev/aer1/corpus.json, kit 1.6.1, 143 vectors and 146 checks.
  • Evaluated set digest: sha256:4ea44dc07125a6f9b7fa472450a30fb56265771cfe87b1772a02b03d1fc166f2. If your copy of the evaluated set hashes to anything else, your set is not the published set, and the corpus itself tells you so before any verdict does.
  • Checker: aer1-verify on PyPI. Install it, point it at the corpus, and count how many anchors land in each bucket. A healthy run is not 146 verified. It is every anchor landing in the bucket its evidence supports, including the refusals.

For context: Zambo is the verifiable work layer for AI, one MCP endpoint at https://zambo.dev/mcp with 153 tools total and 37 on the default surface, HANDOVER as the flagship, and 169,435 public receipts on the live counter as of this morning, 470 of them today. Checkable at https://zambo.dev/api/stats, which is rather the point of this post.

The line to keep

A refusal is not a checker failing at its job. It is the checker doing the one job that matters: saying exactly what was checked, exactly what held, and exactly where the evidence stops.

Receipts prove the saved result was not changed. They never prove the answer was right. A vocabulary that keeps those two sentences separate, outcome by outcome, is what lets a stranger trust a record neither of you controls.

Top comments (0)