Skip to Content
The evidence layer

The evidence layer: ask, answer, reveal, settle

The first three stories make records checkable. The evidence layer is how they’re used between parties: one side asks for evidence, the other answers in a form anyone can check, reveals only what it chooses, and a payment settles from both sides’ records.

The problem

Ask an operator for evidence today and you get what they choose to send, in whatever shape. You can’t tell what was left out. Showing one fact often means handing over everything around it. A payment dispute is still my log against yours.

How the specifications answer it

Five verbs carry it: record, ask, show, verify, check.

  • Record. Every act is sealed as a capsule into the holder’s own checkpointed log (stories 1 and 3).
  • Ask. An Evidence Request names a subject (one record, a range, a whole history), the coverage it needs and how fresh. A holder answers with an artifact, or with a signed refusal carrying exactly one registered reason. A refusal is an answer too.
  • Show. The answer is an Evidence Bundle: the records unchanged, the records they cite, the proofs that place each one in the log, and the signed checkpoint. It states completeness as three separate claims (citation closure, interval coverage, per-record membership), and declares anything missing. A disclosure overlay reveals single fields. Every other field reads WITHHELD, and the signature over the record still checks.
  • Verify. The asker checks the bundle offline under keys it pinned, and gets each claim reported on its own.
  • Check. For a payment, each side seals only its own leg. The verifier derives whether they agree, to the unit, with the receive fee accounted for. No leg states the outcome.

On a real run

For this page we ran the guide examples of one implementation, EvidenceBook, from its main branch (commit 5e231e2acfeb9f02f85acd95e5c2119b7a7c0c14, Go 1.27.4). Two books, alice and bob. Alice records an act and signs a checkpoint. Bob sends an Evidence Request for her full history. Alice answers him as a stranger, with no transport authentication. Bob checks the reply under Alice’s pinned keys and records it. The outcome is artifact. Alice’s own health check reports the checkpoint present and its witness status unwitnessed: that run registered nothing, and the result says so.

The same run sent 22 malformed requests from the request vectors. All 22 were refused with the reason the vector expects, and each refusal is signed over the digest of the request bytes as received.

Source: action-state-group/evidencebook ↗, example_guide_test.go (Example_joinTheLoop, ExampleBook_Respond): go test -run ‘ExampleBook_Respond$|Example_joinTheLoop$’ -v . → both PASS, run 2026-11-29.

Settlement, from the conformance vectors: a payer’s leg says it sent 1000, and the payee’s leg says it received 995 with a receive fee of 5. A verifier derives agreed. In the sibling vector the payee’s leg states a receive fee of 0, and the verifier derives mismatch with amount named as the field that differs. With no fee stated at all, the pair is unjoined.

Source: action-state-group/agent-action-capsule, vectors/settlement/cases.json, at commit 2ef8aeb49e2334e24c404bd62d3fdb161770873c.

The receipt, the other half, and verify

The capsule is the receipt: each side seals its own record of an agent order. The bilateral record is the other half: the counterparty's signed record of the same order, which each side keeps. Verify is the public verifier and the test vectors: anyone can check both halves offline. Nothing sits in the middle.

One agent order between a buyer's side and a seller's side. Each side keeps its own record, its receipt, and holds the other side's signed half. Nobody sits in the middle. Anyone verifies both halves offline.
One agent order. Each side keeps its half, the counterparty holds the other, anyone verifies, nobody in the middle.

What it settles. A record invented after the fact: both halves were sealed, and their checkpoints registered, before any dispute. A term denied later: the other side holds the signed half.

What it doesn't. A false statement made at the time is still false once it's signed. A signature shows who said it, not that it is true. Who is behind a key is the verifier's own policy, not something the record settles. And it can't show something both sides left out.

Asker a counterparty oran auditor ✓ verifies offlineunder pinned keys Holder its own capsulesin its own log 1 · Evidence Request 2 · Evidence Bundle, or asigned refusal with one reason Inside the bundle records, proofs, the signed checkpoint completeness: closure, coverage, membership disclosure: each field REVEALED or WITHHELD payer leg1000 payee leg995 + fee 5 agreedderived, never stated
The asker asks, the holder answers with a bundle or a signed refusal, and the asker verifies offline. Below: a payment settles from two legs, and the verifier derives the result.

What it does not show

Anything beyond the depth a bundle declares, or what a withheld field contains. Coverage and membership checked against a checkpoint nobody registered are only relative to that checkpoint, and the bundle says so. Settlement agreement is about the payment: whether a fee was fair, or the delivered work good, is outside it.

Read the drafts

Evidence Request  · Evidence Bundle  · disclosure envelope  · settlement records  · evidence layer