Guide · Evidence · DAREP Wire v2
What a signed DAREP receipt proves, and what it doesn’t
Your agent handed work to an agent that someone else owns. Later, one of you asks: did it arrive, did they take it on, did they finish it, and was it any good? This guide walks through real signed records from the DAREP test vectors and says, for each one, who signed it, what it claims, and what it leaves unproven.
Short answer: a DAREP signature shows that a holder of a pinned key asserted something, carrying a time the signer chose, in exact bytes that cannot be changed without detection. It does not show that the assertion is true, that the work was done well, or that the signer was allowed to make it. A storage receipt is the receiver’s signed statement that it durably stored the record and will keep it. The signature makes that statement attributable; it cannot show that the receiver kept its word. And it says nothing about whether anyone read, accepted or finished the work.
1. The question: how do I show the other party what happened?
Inside one system, a task log or a status field is usually enough: everyone trusts the same database. Between two owners it is not. Your log is yours; their log is theirs. When the two disagree, neither can show the other anything the other has reason to accept.
DAREP’s answer is to make each step a signed record that both sides keep byte for byte. A signed record is a compact JWS (ES256 over P-256) whose signature covers the exact payload bytes (records.md §2.3, §3.1). Anyone who holds the record and the signer’s identity document can check it later, offline (§7.3, evidence mode).
That makes the question sharper, not easier. If every step is signed, what exactly does each signature commit its signer to? The rest of this page answers that, step by step.
2. What a signature proves, and what it can’t
A record that passes the verification procedure (records.md §8) establishes these facts:
- Integrity. The payload bytes are exactly the bytes that were signed. Verifiers check the received bytes and never re-serialize them (NC1, §2.3).
- Key binding. The signing key belongs to an identity document the verifier pinned, that document lists the record’s
sourceaddress, and the key has the right purpose, is not revoked, and was valid at the record’stime(§8 steps 5, 10 and 11; §1.2, §5.2, §5.4).
It does not establish any of the following, and the specification says so:
- That the content is true. A signed “complete” is the signer’s claim that the work is complete. Nothing in the signature checks the work.
- That the signer had authority. Every event carries
grant: {id, actor}, but the receiver “records the reference as a claim made by the signer. It cannot check it” (records.md PV-5; delivery.md §9.3). A receiver must not present the grant to its owner as verified. - Which agent acted. Agents never hold the identity’s signing keys; the owner’s provider signs on their behalf (§1.1). The signature shows that the provider signed for the address.
grant.actoronly says"owner"or"agent", andgrant.idis an opaque local reference (§4.3); both are the provider’s own statement. - When it was really signed.
timeis the signer’s claim (§10, clock trust). That is why a revoked key fails for every record, whatever its stated time (§5.4 R-3). - That the key really belongs to that party. In Wire v2 the trust anchor is the receiving owner’s pin, accepted out of band; nothing received in-band can add a key, and there is no network lookup (§1.2 TA-2, TA-3). A third party checking your evidence has to decide, the same way, whether to trust the identity documents you hand over.
3. Four steps, one at a time
People usually want four facts about cross-owner work: it was delivered, the other side accepted it, they completed it, and someone verified the result. These are separate facts with separate signers, and today they have very different standing in the specification:
| Step | Record in Wire v2 | Signed by | Status in the spec |
|---|---|---|---|
| Delivered | core/v2#receipt |
The receiver, with a provider-purpose key |
Core, frozen (delivery.md §4) |
| Accepted | work/v2#accept |
The worker’s address, with a record-purpose key |
Experimental extension, not part of frozen conformance (records.md §6.1; D8 amendment) |
| Completed | work/v2#complete |
The worker’s address, with a record-purpose key |
Experimental extension, as above |
| Verified | None | — | Not defined. ext/verifier/v1 and ext/evidence/v1 are reserved slots; senders must not emit them yet (records.md §9) |
The work/v2 types (#handoff, #accept, #decline, #complete) are implemented by both reference peers and appear in the vectors, but “normative publication of https://darep.org/ext/work/v2 is future work” (records.md §6.1). Treat their shapes as illustrative, not as a contract.
CoreStep 1. Delivered: the storage receipt
Bob’s agent hands a piece of work to Carol. Bob’s provider signs a work/v2#handoff event and posts it to Carol’s provider. Here is that record from the vectors, decoded. The data strings are trimmed (the vector uses non-ASCII test text on purpose) and some arrays are condensed onto one line. The handoff type itself is experimental; what is core here is the envelope and the receipt, which work the same for a core core/v2#message.
// protected header
{"alg":"ES256","kid":"https://bob.vectors.test/.well-known/darep/bob#sig-2026-11","typ":"darep-event+jws"}
// payload (data trimmed, whitespace condensed for display)
{
"darep": "2",
"id": "33ab1077-95a8-4183-a798-805da3c1f1c1",
"source": "acct:bob@vectors.test",
"type": "https://darep.org/ext/work/v2#handoff",
"time": "2026-11-20T11:58:00Z",
"to": ["acct:carol@vectors.test"],
"thread": "33ab1077-95a8-4183-a798-805da3c1f1c1",
"inReplyTo": null,
"expires": "2026-11-27T11:58:00Z",
"ext": {},
"required": ["https://darep.org/ext/work/v2"],
"grant": {"id": "grant-7f3a", "actor": "agent"},
"data": {"summary": "…", "nextStep": "…", "expectedResult": "…"}
}
// SHA-256 of the vector’s exact, untrimmed payload bytes
76d40df8e4e3b7e4f1370c23fa31186caf54bef5a8ce9bd16f0c513b69c4767d
Source: vectors/v2/records/positive/handoff.json (the displayed text will not reproduce this hash; the vector’s payloadUtf8 will)
Carol’s provider verifies the record, commits it durably, and only then signs a receipt and returns it (verify → store → ack → apply, delivery.md §3). This is the matching receipt:
// protected header
{"alg":"ES256","kid":"https://carol.vectors.test/.well-known/darep/carol#key-2026-11","typ":"darep-receipt+jws"}
// payload
{
"darep": "2",
"id": "fdc09de8-b2e2-4587-b4e2-dac794fd596d",
"source": "acct:carol@vectors.test",
"type": "https://darep.org/ext/core/v2#receipt",
"time": "2026-11-20T11:58:01Z",
"to": ["acct:bob@vectors.test"],
"thread": "33ab1077-95a8-4183-a798-805da3c1f1c1",
"inReplyTo": "33ab1077-95a8-4183-a798-805da3c1f1c1",
"ext": {},
"required": [],
"data": {
"sha256": "76d40df8e4e3b7e4f1370c23fa31186caf54bef5a8ce9bd16f0c513b69c4767d",
"storedAt": "2026-11-20T11:58:01Z"
}
}
Source: vectors/v2/records/positive/receipt.json (whitespace added; the signed payload has none)
What it claims. Carol’s address, signing with a key whose purpose is provider, states that it durably stored the record whose payload hashes to 76d40df8…, at storedAt. “Stored” has a defined meaning: committed to storage that survives a crash and a power loss before the receipt was issued (delivery.md §4.1). Issuing it also promises to keep the record, the receipt and the dedupe key for at least 30 days after storedAt (§4.2).
How Bob checks it. Bob runs the full verification procedure on the receipt: signature, a provider-purpose key for Carol’s address, validity and the exact receipt shape (§8 steps 1–11). Then it must correlate with Bob’s record: its source is a recipient of the record, its to is Bob, its inReplyTo and thread match, its time is no earlier than the record’s time minus 300 seconds of skew, and data.sha256 equals the hash of the payload bytes Bob sent. Any mismatch is receipt-mismatch, and such a receipt “proves nothing about R”. When Bob checks it as the delivery response, it must also arrive before the record’s expires plus skew, and its source must be the exact recipient of that delivery (records.md §4.4 RC-1; delivery.md §7.4).
What stays unproven. In the specification’s words, a receipt “does not state or imply that the record was read, understood, accepted, applied, or permitted by policy, nor anything about work state”, and a sender “MUST NOT treat a receipt as acceptance” (delivery.md §4.3). It also says nothing about whether Carol’s agent has even seen the work. A receipt is issued before any workflow, turn or policy logic runs, and that logic cannot change whether a receipt is issued (§3).
ExperimentalStep 2. Accepted
Accepting is a separate record, signed by the worker’s side. The next two records come from a different vector, so the thread ID changes; inside that vector they all belong to one thread that Bob opened with a handoff.
// protected header
{"alg":"ES256","kid":"https://carol.vectors.test/.well-known/darep/carol#sig-1","typ":"darep-event+jws"}
// payload
{"darep":"2","id":"94e18701-8e23-493b-81f3-823ed82a92b2",
"type":"https://darep.org/ext/work/v2#accept",
"source":"acct:carol@vectors.test","to":["acct:bob@vectors.test"],
"thread":"5dd60087-ef55-497b-ba01-18795eb6d728",
"inReplyTo":"5dd60087-ef55-497b-ba01-18795eb6d728",
"time":"2026-11-20T10:01:00Z","expires":"2026-11-27T10:01:00Z",
"ext":{},"required":["https://darep.org/ext/work/v2"],
"grant":{"id":"grant-vectors-carol","actor":"agent"},
"data":{}}
Source: record r2 in vectors/v2/delivery/receiver/out-of-order.json (line breaks added)
What it claims. Carol’s address asserts that it accepts the handoff named by inReplyTo, and Carol’s provider states that an agent made the record under grant grant-vectors-carol. The reference peers treat accepting as a binding act that needs the commit verb (records.md §1.3).
What stays unproven. Bob cannot check that grant; it is Carol’s provider’s word (PV-5). The accept also names no terms version: data is empty. When Bob’s provider receives it, Bob’s receipt only says the accept was stored. Whether Bob’s side applied it is a local apply outcome (applied, pending, refused or unsupported, delivery.md §3.3), not part of the receipt.
ExperimentalStep 3. Completed
// payload (same header shape as the accept)
{"darep":"2","id":"e2c705c1-f459-481e-ae79-21477500af47",
"type":"https://darep.org/ext/work/v2#complete",
"source":"acct:carol@vectors.test","to":["acct:bob@vectors.test"],
"thread":"5dd60087-ef55-497b-ba01-18795eb6d728",
"inReplyTo":"94e18701-8e23-493b-81f3-823ed82a92b2",
"time":"2026-11-20T10:02:00Z","expires":"2026-11-27T10:02:00Z",
"ext":{},"required":["https://darep.org/ext/work/v2"],
"grant":{"id":"grant-vectors-carol","actor":"agent"},
"data":{"result":"Label checked."}}
Source: record r3 in vectors/v2/delivery/receiver/out-of-order.json (line breaks added)
What it claims. Carol’s address asserts that the accepted work is complete, with the result text "Label checked.", as a reply to the accept.
What stays unproven. Whether the label was actually checked, and whether the check was correct. The signature makes Carol’s claim attributable and tamper-evident. It does not make it true.
This vector also shows why a receipt is not a state. The complete arrives at Bob before the accept. Bob’s provider still stores it and returns a receipt, then holds it as pending until the accept arrives and is applied, and only then applies the complete (delivery.md §8.2). At the moment Carol held a valid receipt for her complete, Bob’s side had not yet applied it.
Not definedStep 4. Verified
Wire v2 has no verification record. The slots for deliverable hashes (https://darep.org/ext/evidence/v1) and for a named third-party verifier (https://darep.org/ext/verifier/v1) are reserved, with semantics not yet designed, and senders must not emit them (records.md §9).
So today, “verified” is something you do outside the protocol: you inspect the deliverable, re-run the check, or ask someone you trust to. DAREP gives that reviewer a fixed, signed account of who claimed what and when. It does not do the review.
4. When the receiver says no: a signed rejection
A receipt is issued before any workflow logic runs, so a refusal has to travel separately. In the stale-head vector, Carol sends an accept and then, 30 seconds later by its own timestamp, a decline that also answers the original handoff. Bob’s provider stores and receipts both. It applies the accept; by the time the decline arrives, the head of the thread has moved, so the applier refuses it and emits a signed rejection into the thread (delivery.md §5.3, §8.3):
// protected header
{"alg":"ES256","kid":"https://bob.vectors.test/.well-known/darep/bob#rcpt-1","typ":"darep-rejection+jws"}
// payload
{"darep":"2","id":"402f05a7-9fde-4b3e-a3f3-0436f05ba667",
"source":"acct:bob@vectors.test",
"type":"https://darep.org/ext/core/v2#rejection",
"time":"2026-11-20T10:05:00Z","to":["acct:carol@vectors.test"],
"thread":"5dd60087-ef55-497b-ba01-18795eb6d728",
"inReplyTo":"1ea30c0e-fa9e-430a-8b70-c5e252807759",
"expires":"2026-11-27T10:05:00Z","ext":{},"required":[],
"data":{"code":"stale-head","detail":"The thread head moved; read the thread again."}}
Source: exampleRejection in vectors/v2/delivery/receiver/stale-head.json, one valid example signed with a published test key (line breaks added)
Carol now holds two signed facts from Bob about the decline: a receipt saying it was stored, and a rejection saying it was refused. Both are true at once. The rejection is final, and the receipt still stands (delivery.md §7.5). Rejection records are core Wire v2; the stale-head rule that triggered this one comes from the experimental work lifecycle.
5. Signature verification versus result verification
| Question | Answered by | Who can answer it |
|---|---|---|
| Were these exact bytes signed by a key pinned for this address? | Signature verification, records.md §8 (evidence mode, §7.3) | Anyone holding the record and an identity document they trust. Mechanical, deterministic, offline. |
| Did the receiver sign a statement that it durably stored what I sent? | A receipt that passes §8 and the RC-1 correlation (step 15); for a live delivery, also delivery.md §7.4 | The sender, or anyone holding both records and an identity document for the receiver they trust. Whether the receiver actually kept the record is not something a signature can show. |
| Did the other side commit to the work? | A signed accept (experimental) | Anyone; but it is the signer’s claim, made under a grant only the signer’s provider can see. It also does not show that the requester’s side applied it: that side may have refused it with a signed rejection. |
| Was the work done, and done correctly? | Nothing in Wire v2 | A person or process that inspects the result. The signed records tell them what was claimed, not whether it is right. |
To hand someone a portable evidence bundle, we suggest: the record bytes exactly as sent or received, never a re-serialized copy; the receipts; any rejection records; and the identity-document snapshots you verified against, so they can run evidence mode themselves. Providers are already required to retain the record bytes, receipts and rejection records, along with apply outcomes and delivery attempts (delivery.md §9); keeping the identity-document snapshots is our advice, not a delivery-contract requirement.
6. Where A2A task state and MCP fit
These are different layers, not rivals. MCP connects an agent to tools; outside the Wire v2 spec, the Node reference provider uses it so an agent can reach its own owner’s provider. A2A gives a client a task API on another organization’s agent: the remote agent’s server maintains the task’s state, and the client follows it by streaming, by polling later, or through push notifications, including for long-running work. DAREP sits at a different layer: each step is a signed record that both owners keep in their own stores, and the receiver returns a signed storage receipt, so neither side’s record depends on the other side’s task server. A2A task and message IDs can be carried in a DAREP record’s subject or mapped to its id (records.md §4.1).
For the layer-by-layer comparison, see DAREP vs. A2A vs. MCP.
7. Implement it, test it, challenge it
-
Run the conformance kit. From a clone of the specification repository, run
npm ciandnpm ci --prefix reference/node(Node.js 22.18 or later), thennpx darep-conformance offline --adapter node-referenceto see a passing run, and write a small adapter to test your own implementation. The kit is a verification aid, not certification. See conformance/README.md. -
Read the spec. Signed records, Delivery contract and HTTPS binding. Every vector quoted above verifies with
node vectors/v2/records/check.mjsandnode vectors/v2/delivery/generate.mjs --check. -
Open an issue. If a claim on this page or in the spec looks wrong, or the four steps above do not fit your workflow, say so on the public issue tracker. The
work/v2lifecycle and the reserved evidence and verifier slots are exactly where outside input is most useful.