Design
timber’s design lives in Boom: the narrative timbers-delivery and the
claims that it includes, each a rule or a decision that the person
accepted. boom query --repository timber gives them. The statement in
boomdrivedev/blueprints
holds the clauses that the specs and the code cite by number.
What is settled
Section titled “What is settled”- timber is one tool, organized around three concepts: artifacts, what was built; channels, what is released; environments, where it runs.
- It takes the place of a package manager’s backend, Artifactory or GitHub
Packages, with an OCI store:
pushafter the merge queue, and consumers reading throughsyncorserve, everything signed and verifiable. - Publishing to a package manager, to a Nix cache or to a live server are deployments to different targets of one system.
- Channels such as
betaandstable, promotion between them, and environments tied to a channel under anautoormanualpolicy. - Push and pull reconcilers are both supported; each target picks.
- The same store is moon’s remote cache.
- The value is the three together: cache, artifact store and release channels over one content-addressed store.
- The family’s tools keep their state in git.
The direction
Section titled “The direction”The design pack proposes these, and the statement takes them up or rules otherwise:
- OCI as the substrate for everything, with npm, Nix and the rest as projections out of it, and the user’s own registry as the default.
- Five namespaces drawn along trust and retention: cache, quarantine, artifacts, releases and config; attestations hang off their subjects as referrers rather than living in a namespace of their own.
- A thin center of identity, policy and a signed ledger; an edge machine writes only the cache and quarantine and never promotes.
- Keyless signing bound to an identity from the user’s own provider; on a developer’s machine the agent signs as the developer, delegated.
- A gate that promotes from quarantine to the artifacts by copying the
same digest and writing a signed promotion record; an independent
rebuild and two signatures before
stablemoves. - Policies and environment definitions edited in git and packaged on landing; promotions as signed events, never edits.
- No reconciler for Kubernetes, where Flux and Argo consume the channel tags; reconcilers of timber’s own where no good pull tool exists.
- Small things in git and large blobs in a file-based OCI layout synced to object storage, pointed at by digest.
The invariants, as the statement will hold them
Section titled “The invariants, as the statement will hold them”| I1 | An artifact is immutable and named by its digest; a version and a channel are pointers to one. |
| I2 | Nothing is rebuilt on its way to a release: the digest the merge queue signed is the digest a channel points at. |
| I3 | Every attestation is a signed statement attached to its subject’s digest, and travels with it. |
| I4 | A channel moves only by a signed promotion, recorded append-only. |
| I5 | A consumer is served a version only when its attestations satisfy the policy. |
| I6 | The artifacts and the ledger stay in the user’s account; timber keeps no copy. |
What it leaves to others
Section titled “What it leaves to others”timber lands nothing: sluice decides what lands, and timber takes the landing as given. It builds nothing: moon and the repository’s own tools do, and timber packages what they left. It proves that bytes match their source, never that the source is benign; bad source is caught at the merge, by signed commits and review in sluice. And it runs nothing itself: an environment’s target does, once the reconciler hands it the version.
Questions the statement must answer
Section titled “Questions the statement must answer”- Whether timber serves Nix store paths itself or layers on Attic.
- The policy language: Rego, CUE, Cedar, or in-toto layouts.
- The promotion record’s schema, shared with any platform that keeps its own channels.
- Retention and collection per namespace, aware of Nix’s reference graph where store paths live in OCI.
- The OCI conventions: artifact types, annotation keys, the tag scheme for channels and the versioning scheme.
- How moon’s remote cache protocol maps onto the cache namespace.
- Whether a local-first store keeps its blobs in git LFS or in a file layout synced to object storage.
- Which agent reviews, what it signs, and how its identity is issued.