Part B
Part B. Contracts across the seams
B.1 The store
- put-bytes: given bytes, their digest, and whether the store held them already. The same bytes put twice are held once.
- put-artifact: given an artifact’s metadata and the digests of its bytes, the artifact’s digest, which the store names it by thereafter.
- attach: given a digest and an attestation, the attestation held beside that digest, readable by claims-of.
- claims-of: given a digest, every attestation attached to it, as attached, or that the digest is not held.
- name: given a name and a digest, and the digest the name is expected to be at, the name moved; or refused, naming the digest it is at. A name moved from nothing is a name made.
- resolve: given a name, the digest it names, or that it names nothing.
- read: given a digest, its bytes, or that the digest is not held.
- A store holds bytes by digest, never alters them, and answers the same bytes for the same digest for as long as it holds them. A store that cannot do so is not a store.
B.2 The build
- ensure: given a revision and every output the authors declare, in one asking, those outputs present for that revision, or that the build could not make them, naming which; an answer that leaves any output unmade refuses the version whole (16).
- report: given a revision and an output, the build identity the output came from, the build’s outcome, and where the output’s files are.
- The same revision and the same inputs give the same build identity on every host.
- left: given a checkout, the build identities whose outputs the checkout’s own build state holds, each with its tasks, its outcome and where its files are, read from the build’s own records (C.3) and from nothing of timber’s; so a push before a landing (135) pushes what this checkout’s run left and nothing more, and a host that keeps nothing between runs pushes what the run made.
B.3 The landing
- landed: given a branch and a revision, whether the branch has landed it. Where the landing’s remote does not answer, the answer is read from the host’s copy of the branch as last fetched, saying when it was fetched and carrying the remote’s words (59, 61), never a refusal and never a guess; a publish that reads not landed from such a copy refuses naming the copy’s time, and asks again later.
- verdicts-of: given a revision, every signed verdict the landing recorded for it, each naming its check, its build identity, its outcome and its signer, as the landing recorded them.
B.4 The signer
- sign: given a claim and the identity of the party running timber, the claim signed, or that no identity is at hand.
- verify: given an attestation and the signers a policy names, which signer made it, or that none of them did.
- A signer’s identity is bound to the party that holds it and expires with that party’s standing; a signature by an identity that has expired is reported as such, never as valid and never as absent.
B.5 The policy
-
policy-for: given a repository at a landed revision and an audience (acceptance, a channel, a layout), the claims required, each with the signers that may make it and what each may claim. Where the repository declares no policy for the audience at that revision, the answer is absent naming the audience (58); verify, which chose the revision from the version’s tag, names the revision beside it.
-
The policy for a channel bound to another (37) names the channel it is bound to, and the policy for acceptance never names a channel.
-
channels: given a repository at a landed revision, the channels its policy declares, each with the component it belongs to (125), how it moves, on each accepted publish as the gate’s act (95), by a promotion alone, or bound, and the channel it is bound to where it is one (37, 83); a repository that declares one component has every channel in it. The same answer carries each given the repository has not switched on, marked held and naming the line that switches it on (C.10), apart from the channels in force, so a surface shows both from one answer and no further operation exists for it. The gate and the ledger learn a channel through this answer and read no key of the policy’s file themselves.
-
environments: given a repository at a landed revision, the environments its policy declares, each with its target, the channel it follows, whether it moves on its own or waits, and whom it waits on where it does (41, 97, C.10); the policy seam has these three operations, policy-for, channels and environments, and no other.
B.6 A projection
-
pack: given an output at a build identity, the version where the bytes are an artifact’s, and the component the output belongs to with its declared outputs (123), so a projection knows which outputs are the component’s own, the ecosystem’s own bytes for it and the metadata (4) the ecosystem gives them. A cache entry (52) packs with no version, and the bytes it packs to carry no metadata that makes an offer (100).
-
render: given a set of artifacts and their metadata, or of cache entries by build identity, a consumer layout in the ecosystem’s own form, and which versions, or which build identities, it holds.
-
serve: given a consumer layout, answers to the ecosystem’s own clients over the protocol they read, for an ecosystem whose clients read no files.
-
The same outputs and the same version, or the same build identity, pack to the same bytes, or the projection says it cannot promise so (18).
-
pinned: given a checkout, the ecosystem names and versions its lockfile pins, as the ecosystem’s own lockfile spells them, or absent where the checkout holds no lockfile of that ecosystem; a projection whose ecosystem has no lockfile, a file, an image, a cache, answers absent. For a name the checkout’s manifest declares and no lockfile pins yet, pinned answers the manifest’s range, and the core holds the newest version the layout’s policy admits within it, by the store’s listing of the name’s versions (138), so a first install resolves and the ecosystem’s client writes the pin; and for every version it holds, the core asks the projection what that version requires of the family (140), lists, judges and holds again, through every level until nothing held requires a name the layout lacks, so the client’s resolution closes within the layout and no lockfile is written by hand. The loop is the core’s, the listing the store’s, the ranges and their order the projection’s.
-
requires: given a held version’s artifact of the ecosystem, the names and ranges its manifest requires that the layout serves, as the manifest spells them, and whether one version satisfies a range by the ecosystem’s own ordering (23); a projection whose ecosystem has no manifest answers none. A name the layout serves is one the consuming checkout’s own ecosystem configuration routes to the served address (49, 114), as each ecosystem spells that routing: a scope in npm’s configuration, a registry name in Cargo’s; every other name is the public registry’s and no concern of the layout’s (section 8). The core closes a layout with it (137) and never reads a manifest itself (core.1).
B.7 A target
- desired: given an environment, the digest its channel names, or that the channel is empty.
- current: given an environment, the digest it runs, or that it cannot be read, with the reason.
- apply: given an environment and a version the reconciler has verified (42), the environment converged, or what stopped it.
- report: given an environment, what it runs and when it last converged, recorded where every asker reads it (43).
- roster: given an environment kind the policy declares, the environments of that kind the target holds, each naming the channel it follows and whether it waits; an entry that waits follows a channel of its own, named by the entry within its component and bound to the channel the entry names (37, 41). The policy declares the kind, the roster declares the instances, and nothing in the repository changes when an instance is added.
B.8 The ledger
- append: given a promotion claim and the digest of the promotion it names as its predecessor, the claim held at the head of its channel’s chain; or refused, naming the claim at the head.
- chain: given a channel, every promotion claim of it in order from the first, or that none is held.
- The ledger never removes or reorders a claim, and answers the same chain to every reader for as long as it holds it.
B.9 Binding the contracts
- Each seam is bound by naming one or more profiles of Part C. The repository’s authors bind the build, the projections and the targets in the repository; the operator binds the store, the signers, the landing and the ledger for a host. Any number of projections and targets are bound at once; exactly one store is written by a publish, exactly one landing is read, and exactly one ledger is appended to.
- The operator’s bindings for a host are kept in one file on the
host, beside the landing’s own, in the same form, readable with a
file reader. A host with no such file is bound, and a table the file
leaves out is bound as it would be with no file: its store is a
layout on disk under the user’s own data directory (C.2), its signer
a host key made on first use (C.8), its landing the branch (C.6) or
sluice where the repository’s
HEADcommit holds sluice’s policy file (C.5), and its ledger the git ref (C.13) on the landing’s own remote, pushed to and fetched from it as the branch is, so two machines of one repository read one ledger with nothing written, and a repository with no remote keeps its ledger where it keeps its branch; so a person on a laptop, and every plugin, works with nothing written, and the file is for pointing a host at a registry, a key service or a shared ledger. Its[credentials]names each credential a target needs, by the name the environment’s target table gives it, in one of two ways: the absolute path of a file that holds only that credential, or a secret of the host’s SecretSpec, by its name. timber asks the host’s SecretSpec for a secret through SecretSpec’s resolver session as a file leased for the one run, and never as its value. (Proposed 2026-11-19, timber record 0033’s amendment, on the user’s card; the SecretSpec secret is accepted only on their yes.) The bindings file never holds a credential: timber hands the path to the target’s own tool, which alone reads it, and a leased file ends with the run. An environment whose credential the file doesn’t name, or whose SecretSpec answers no file for it, is unread, naming the credential and the file or the secret (45, 64; timber record 0033). On nix-darwin and NixOS, timber’s own module,services.timber, writes the file fromservices.timber.settings, one option per key, each named as the file names it, so a host names a credential asservices.timber.settings.credentials.<name> = "<path>". Boomdrive’s set takes that module from timber’s flake and writes no file of timber’s (boomdrive record 0023 as amended on 2026-11-13; boomdrive rules core.18 and core.46). The same host’s landing remote is the checkout’sorigin, or its one remote where it has noorigin, and unreadable naming them where it has several and the file names none. On such a host, and where the file names nothing that tells the gate, the publish’s own host tells the gate as its next step. Where the policy names one signer for provenance and none for acceptance, that signer’s host is the one 108 admits, its acceptance claim saying so, andbetamoves on a laptop whose policy lists its key and nothing else is written; a policy naming no signer names no gate, and the publish’s answer says the version is not accepted until it lists one. The given signer is bound to sign only for a publish or a promotion, every other command verifying alone, and a given binding names itself as given in every answer about it. What runs a publish after a landing is named in the file (130, C.16); where the file names none, a publish runs when asked for: by a person, or by the driver that submitted the work and learned it landed (sluice 50, 51). The landing tool itself runs nothing after it lands and is never asked to. - The core starts nothing after a landing and nothing after an offer: a publish is run by whatever the host binds to run it, the gate is told by whatever the host binds to tell it, and both are named in the host’s bindings file (118) and nowhere in the core (C.16).
- One conformance suite holds every profile to Parts A and B; a profile that fails it is not one.