Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Artifacts and claims

An artifact

An artifact is bytes, their digest, and the metadata that says what the bytes are: which ecosystem’s form they take, which name they have in that ecosystem, and which version (4). The digest is a function of the bytes alone, so the same bytes have the same digest on every host and in every store (1), and the store never holds other bytes under it (2).

Everything else is a pointer. A version names a set of digests through its index, itself an artifact (6); an ecosystem name and a channel name a digest (3). Nothing reads a pointer to learn what bytes are: whatever acts resolves the pointer to a digest first and records the digest it acted on. A tag that moves under a reader moves nothing the reader already did.

Offering the same bytes twice writes nothing and answers the same digest (5). That is what makes a second publish of the same landing, a copy between stores and a sync to a laptop idempotent.

A claim

A claim is one statement by one signer about one digest (7): that a build produced it from a revision, that checks passed on that build, that a test ran, that a reviewer approved it, that a verifier rebuilt it and the digests matched, that the gate accepted it, that a channel moved to it. Signed, it is an attestation, attached to the digest it is about, and it travels with the digest from store to store (8). A claim about a version is a claim about its index (7).

A claim counts only through a signer the policy names, and only for what the policy lets that signer claim (9). A build host’s claim that the build passed review counts for nothing; a reviewer’s does. Every other claim is kept and never counted, so a store full of noise is a store, and a verdict is read from the policy, never from what happens to be attached.

A claim is never altered (10). A signer that changes its mind makes a new claim beside the old. Every claim names the revision and the build identity it was made for (13): sluice’s verdict names the task hash it passed on, the provenance names the task hash the outputs came from, and a verdict joins them without reading either source again.

What timber signs

timber signs only as the party that runs it, and only what that party observed: the publish it ran, the verdict it reached, the copy it made (11). A claim another party made, sluice’s verdict among them, is carried as that party made it, signature and all, inside timber’s own claim that says where it was found (12). The carrier never re-signs another’s claim as its own, so a verifier peels two layers and trusts each by its own signer.

artifact sha256:4f2a… provenance signer: the fleet (13) sluice's verdict, carried signer: the host; inside: sluice's (12) test result signer: the fleet approval signer: a reviewer accepted signer: the gate (26) promoted to beta signer: the gate (39) the policy names which signers count (9)