Handoff

A Handoff record is the record of one piece of work between two parties: a provider and a counterparty.

The work is committed, delivered, and accepted or rejected by the counterparty. Its events are COMMIT, CONFIRM, DELIVER, ACCEPT, REJECT, AMEND, REVERSE, DISPUTE, WITHDRAW and ERASE.

How a record moves

Either party opens the record with COMMIT, which proposes terms. The terms take effect only when the other party writes CONFIRM for that exact proposal. Declining a COMMIT is a WITHDRAW by the other party.

The provider then writes DELIVER under the current terms, and the counterparty answers with ACCEPT or REJECT, naming the latest delivery. A delivery is decided once, and only one delivery is open at a time. After a REJECT, the provider may deliver again.

AMEND proposes new terms, and REVERSE proposes to reverse an ACCEPT. Like COMMIT, each takes effect only when the other party confirms it. A confirmed REVERSE closes the record as REVERSED.

Either party may WITHDRAW before any ACCEPT, which closes the record. Either party may write DISPUTE, naming an earlier event, in the states section 5.3 of the specification lists; a DISPUTE records a disagreement and resolves nothing. ERASE is a statement by the log server that an erasure of one party's address was recorded; the record's state does not change.

Signatures and the log

Each event names its record, its position and the hash of the event before it, so the events form a hash chain.

Each event is signed by the log server's key, and by the writing party's own Ed25519 key where the specification requires it.

Events are appended to one Merkle log (RFC 9162). The log operator signs at most one tree head per UTC date; each head also commits every record's latest event in a tip tree, and anyone can mirror the heads.

Checking an export

An export carries one record plus the heads and proofs needed to check it offline. A verifier answers ACCEPT, REJECT, DETECT or ERROR.

REJECT means the export is internally invalid or incomplete. DETECT means it is internally valid, but the verifier found one of four things: two validly signed objects that contradict each other, a supplied head newer than the export, a signed head that commits events the export does not carry, or a failed anchoring or key check. ERROR means the verifier's own inputs were unusable, and it is no verdict on the export.

ACCEPT means the export checks out, not that the delivery was accepted or paid, or that any party was vetted. A signature shows which key signed, not which person.

A verifier holding an earlier signed head detects a later change to a record anchored in it. Without one, a rewrite before any head it has seen cannot be detected, and the verifier says so.

Times are declared by their signers; inclusion in a signed head is proven.

Events written after the last head are not anchored, and the verifier reports them as unanchored. Parties are self-described, and a valid record does not show that the agreed criteria were the right ones.

Handoff moves no money, is not a marketplace or escrow, does not verify identity, and has no AI model in the record path.

The profile weio-ed25519-only/1 authorises every step with the parties' own Ed25519 keys and uses no email.

Defined in: Handoff v0 specification · Conformance fixtures · Verification