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

Invariants, non-goals and givens

7. Global invariants

  • I1. Bytes never change, and every pointer resolves to a digest before anything acts (1, 2, 3).
  • I2. Offering is never trusting: a publish offers, only the gate accepts, and only a promotion moves a channel (20, 25, 32).
  • I3. The bytes that passed the checks are the bytes that run: what is offered is what the landing’s verdicts name, and nothing after the offer builds (15, 26, 42).
  • I4. A claim counts only through a signer the policy names, for what that signer may claim (9).
  • I5. Every move of a channel is in the ledger before anyone reads it, and nothing leaves the ledger (33, 34).
  • I6. timber keeps no credential and signs only as the party that runs it (11, 64).
  • I7. Every surface answers from one core, and absent, refused and unreadable are three answers (56, 58).

8. Non-goals

  • Building. The repository’s own tools build; timber reads what they left.
  • Landing. sluice, or the repository’s own landing gate, lands; timber reads whether a revision landed.
  • Deciding what a build may do or reach. That is the landing gate’s policy under sluice.
  • Judging source. A rebuild proves bytes match a revision, never that the revision is sound; review happens before the landing.
  • Caching third-party packages from public registries. A consumer layout holds what the repository publishes; the public registry stays the public registry’s.
  • Holding anyone’s artifacts: the store is the owner’s.
  • Licences, software bills of materials and vulnerability scanning, beyond carrying a claim another tool made.

9. Environment givens

Constraints already fixed:

  • Repositories are git repositories, and a landing is a revision reaching a branch.
  • The store is content-addressed and the owner’s own; timber is never locked to one registry.
  • The askers include coding agents working in many checkouts of one repository at once, on hosts the developer controls.
  • timber is free and open source. Nothing commercial, no hosted plan, tier or price, appears in the statement or the repository.

The rest of the stack, which a model builds on unless it says why not:

  • One static binary, written in Rust, as sluice is.
  • An attestation is an in-toto statement in a DSSE envelope, the form sluice signs its verdicts in, so one verifier reads both. The catalogue of claim kinds (141) is in-toto’s catalogue of predicates: a provenance is SLSA’s Provenance, an acceptance and a rebuild are SLSA’s Verification Summary Attestation, and a test is in-toto’s Test Result; a review, a promotion, a report and a carried claim are timber’s own.
  • The build is moon, the landing is sluice, and the join between a verdict and a provenance is moon’s task hash.
  • The version rule is git-cliff over conventional commits, run once per component over the commits that touch its paths: a feature or a fix since the component’s last tag makes a release, anything else a prerelease, and the tag, carrying the component’s prefix, is pushed before anything is offered.
  • The store is an OCI registry; on a developer’s host, an OCI layout on disk synced to one.
  • The ledger is a git ref the gate pushes, and the same claims are attached in the store; the store alone holds the ledger only where it retains referrers.
  • Signing is a key in a key service or a host key first, keyless once a private issuer stands.
  • Five surfaces answer from one core: a command line; a web page the host’s one serving process answers (132), which is the page a hosted timber shows signed in; and three plugins kept outside the core as sluice keeps its plugins: a Claude Code plugin, whose hook refuses an ecosystem’s own publish command and names timber’s; a herdr plugin with a pane of channels and environments, read from the served page’s own answer, showing one repository or every repository on the host as sluice’s board does, at the viewer’s choice; a Boomdrive plugin whose adapter prints a capture for each publish and each refusal, for millpond.
  • The profiles of Part C: an OCI registry and an OCI layout, moon and a declared command, sluice and a git branch, a key service, a host key and keyless, the policy file, the git ref and the store as ledgers, the nine projections and the seven targets, in that order of building.