Part C
Part C. Profiles
Parts A and B do not change to admit a profile.
C.1 The store: an OCI registry
An OCI registry, reached over the distribution protocol: Amazon ECR,
GitHub’s registry, Harbor, zot or the reference distribution. An
artifact is an OCI manifest whose artifactType names the ecosystem,
whose layer is the ecosystem’s own bytes and whose config is the
ecosystem’s own metadata; an index is an OCI image index; an
attestation is a DSSE envelope holding an in-toto statement, attached as
a referrer whose artifact type is timber’s envelope type, with the
statement’s predicate type in the referrer’s in-toto.io/predicate-type
annotation, since a predicate type is a URI and a registry takes only a
media type as an artifact type; a name is a tag, moved with the expected
digest where the registry supports it and checked after the move where
it does not, and since a registry may answer a tag’s former digest for
seconds after the put, the check reads again at growing intervals while
it answers the former place, for at most a bound the profile names for every registry it binds, 30 seconds today: the new digest is the move made, any third digest
a lost race (109), and the bound passing a refusal naming the former
place, with the put never repeated. The registry’s tag reads are not
monotonic either: after one read has answered the new digest, another
may still answer a place the name was at, for the same bound, so a
resolve on this profile is the answer as of when it read (36), settling
on the new digest within the bound and never a digest the name was never
at; nothing of timber acts on a resolve where the ledger holds the
answer (33), and the conformance suite reads a moved name until it
settles or the profile’s bound passes, which a profile with no lag
passes at once. A registry whose tag put takes no condition, Amazon ECR
among them, cannot refuse a move from a place the name has left: the
check before the put is a read a lagging replica defeats, so a name’s
refusal there is best effort and never the thing a move’s safety rests
on. It rests where the statement already puts it: the ledger is written
before the name moves (33), the chain admits one successor to a head
(105), so one party moves a channel’s name at a time, and a cache name
is made once from nothing at bytes every writer of its build identity
agrees on (87). A name found elsewhere is repaired from the ledger
(109). The profile declares whether its names are conditional; the
suite’s refusal of a move from a stale place runs on a profile that
says yes, and on one that says no the suite runs the repair in its
stead. The binding declares a registry and a root, and every name of the
store is a tag of a repository under that root, in the spaces below. The
seam addresses by digest alone, which a registry resolves only within a
repository, so every blob, manifest and referrer a name reaches is held
in that name’s repository, mounted from another repository under the
root where the registry takes a mount and copied where it does not. A tag names a manifest, never a blob, so a
cache entry (52) is named through a manifest of timber’s cache-entry
type, whose one layer is the entry’s bytes and whose config is the empty
descriptor, which the profile writes when asked to name a digest held as
a blob; resolving the name answers the layer’s digest, so the name is at
the digest the caller gave, as on every profile. That manifest names no
ecosystem and carries no metadata, so it is no artifact (53, 100).
The store’s names map onto the registry’s in three spaces a credential
can be scoped to apart. A component’s indexes, its version tags
(<prefix><version>) and its channels live under the component’s own
repository, each a tag of it, so a credential scoped to one component
makes that component’s versions and moves its channels and nothing of
another’s. A repository’s components and its cache entries hang under
<root>/<owner>/<name>/, the owner and name its remote gives,
lowercased (114, 138), so a repository’s packages are public or private
as the repository is, and one store holds both (timber record 0040).
The repository’s record of claimed versions names the root it publishes
under (22, 62), so a rename or a move of owner is read from git alone,
and the first publish after one carries the repository’s history to its
new root before it publishes: each channel’s chain goes on from its head
(105), every version it published stays promotable there, and a read of
a channel at the old root is answered with where it moved, never as
current. No person runs anything for it, cache entries are not carried,
and no other repository’s history writes under a root one left.
Cache entries live apart from every component, under cache/<build>
repositories, one per build profile (cache/moon), with the build
identity as the tag, so a credential that writes cache/ and nothing
else can push entries and never offer, accept or move a name (135). On GitHub’s
registry, where no token is scoped to some of an owner’s packages, the
pool’s token is the job’s own, given write on its repository’s cache
packages and nothing else; the publishing host makes the repository’s
component and artifact packages before the first publish, giving the
job none, and a name the gate has not accepted is refused wherever it
is read (95, 96; timber record 0040). An
artifact’s pointer (138), artifact/<ecosystem>/<name>@<version>, is the
repository <root>/artifact/<ecosystem>/<name>, one space for the whole
store and under no repository’s own, so a consumer finds a pin by
ecosystem, name and version alone; each name is a repository of its
own, public or private as its publisher’s repository is, made by the
publishing host before the name’s first publish and given to no job. It is lowercased and escaped as the
distribution protocol allows, with <version> as its tag, so a name’s
versions are the repository’s tag list and no tag carries a package
name; a tag’s characters the protocol refuses, + among them, are
escaped one way and read back. On a registry that makes a repository on
push only by a creation template, Amazon ECR among them, the operator’s
setup makes the repositories, or a creation template covering each
repository’s root and artifact/, before the first publish, and a
push refused for a missing repository is reported in the registry’s
words naming the repository (58); the self-hosting guide says so, and a
fleet that adopts timber makes the templates in its own configuration.
| operation | how |
|---|---|
| put-bytes | blob upload; the registry answers whether the blob existed |
| put-artifact | manifest put; the digest is the manifest’s |
| attach | referrer push, with the tag-schema fallback where the referrers API is absent |
| claims-of | the referrers list, filtered by the envelope type |
| name, resolve | tag put with the expected digest, tag get read again while it answers the former place, up to the profile’s bound; a digest held as a blob is named through its cache manifest, and a tag at a cache manifest resolves to its layer’s digest |
| read | blob get by digest |
C.2 The store: an OCI image layout on disk
A directory in the OCI image layout, read and written with no server, for a host with no registry or a layout to be synced to one. Every operation is a file write under the digest’s path; attestations are entries of the index with a subject annotation.
C.3 The build: moon
moon runs the repository’s tasks. An output is a task’s declared
outputs; the build identity is moon’s task hash, which sluice’s verdict
also carries; ensure is one run of the named tasks, which replays
what is cached; report reads moon’s own state of each task. The cache
is moon’s outputs directory, one archive per task hash, which moon reads
before any remote and which every checkout on a host shares: sync
renders into it the entries whose task hashes the landing’s verdicts
name for the revisions the checkout descends from, and a step after a
landing, on the host that ran the landing’s checks, pushes the archives
that landing’s build left. Where moon keeps
outputs as a digest directory instead, the layout is the same digests
linked.
C.4 The build: a declared command
Where no task runner declares outputs, the repository declares, per output, the command, its inputs and the shell to run it through; the build identity is the git tree hash of the declared inputs at the revision.
C.5 The landing: sluice
sluice’s records: a revision is landed when sluice’s log for the branch
holds its landing, and verdicts-of reads the signed results under
refs/sluice/runs/<signer> for the combination that landed it, each an
in-toto statement in a DSSE envelope with the test’s key and system as
its subject and moon’s hash as its digest. A result that record marks
replayed has its pass in an earlier record, since sluice signs only
what ran: verdicts-of carries the signed pass sluice counted for it
(sluice 108), the record for the same key and system by a signer
timber’s policy names (104), from the combination that ran it, as
made and naming where it was found (12). Every envelope is carried
whole, its signatures and their key ids as sluice wrote them. sluice’s
log and refs are read on the remote where it answers, and from the
host’s copy as last fetched where it does not, saying when (77).
C.6 The landing: a git branch
Where sluice does not run a branch, a revision is landed when the
branch’s history contains it, and there are no verdicts: verdicts-of
answers an empty set for every landed revision, which is neither absent
nor unreadable (78). The branch is read on the remote where it answers,
and from the host’s copy of it as last fetched where it does not, saying
when (77).
C.7 The signer: a key in a key service
A key the host’s cloud identity may use and never export, such as a key in AWS KMS used through the host’s role; the signer’s name is the key’s, and verification uses its public half. The policy that names the signer carries the public half beside the key’s name, and a verifier reads it there, from the policy at the revision that counted the claim (107), so a claim stays checkable after the key is disabled or deleted (117); the key service is asked for the public half only where the policy carries none.
C.8 The signer: a host key
A key file on the host, as sluice’s signers hold theirs; verification uses the public key the policy lists. The given key (118) is an Ed25519 key in OpenSSH’s form under the user’s own data directory, made by the first sign that needs it and never replaced, its public half beside it; it signs as the name its public half’s comment gives, else as the host’s own short name.
C.9 The signer: keyless
A short-lived certificate bound to an identity from the owner’s identity provider, logged in a transparency log, as Sigstore issues and cosign uses, public or private.
C.10 The policy: a file in the repository
.config/timber.toml at the landed revision: the components, each
with its outputs, the paths that version it, its tag prefix and its
projections, the version rule, the signers and what each may claim, the
claims each audience requires, the channels and their bindings, and the
environments with their targets and whether each waits, or the
environment kinds a target admits by its roster (126). Most of it is
given: a repository that declares no component is one (123); every
component has beta, moved by the gate on each accepted publish (95),
and stable, moved by promotion from among what beta has held (37),
with no line written; the version rule is the conventional-commit rule
unless another is named; and the given policy for a layout admits a
version the gate accepted and no other, so a repository with no layout
line renders accepted versions. The givens name no signer: who may claim what is the repository’s file’s alone (116); a file naming one signer for provenance and none for acceptance makes that signer’s host the one-host gate (108, 118), and a file naming no signer names no gate. Which artifacts a claim is asked of is no author’s choice, and the file carries no key for it: a verdict, a test, a review, a rebuild and a carried claim are asked of built artifacts, and the publisher’s provenance, acceptance, a promotion and a layout’s claims of every artifact (134). For reading, a host
with no file trusts its own signer and the signers its bindings name
(118), so a laptop consumes what it published; a repository whose file
names signers reads under its file alone, and the host’s trusted list is
read only for a claim its file names no signer for. A consuming repository with no policy
of its own counts a publisher’s layout-policy claim (113), and every
claim it reads, through the signers its host’s bindings trust (118),
and refuses a layout whose claims count through none, naming the claim
(9, 58). The givens are a policy fragment in this same
form, shipped with the core and laid beneath the repository’s own file,
which the policy command shows as the one table in force; the core knows the three ways a channel moves, on each accepted publish, by promotion alone, or bound to another channel of its component (37, 131), the channel an environment’s after makes moving once every environment named reports the version (43, 91), and no channel’s name. A channel the givens hold and the repository does not switch on is one
line to switch on, since it is already written. Neither held given is
one channel; each is a family (125, 127): alpha/*, a pattern over
branch names, whose channel for a branch, alpha/<branch>, follows
every accepted version that branch publishes, prereleases included, and
is retired with the branch; and lts/*, a pattern over the lines a
person names, whose channel for a line, lts/<line>, is made at the
line’s first promotion from among what stable has held, moved by a
person alone, and retired by the authors’ word in the file, its chain
readable after. Writing the pattern’s table, [channels."alpha/*"],
empty or with lines, is the switch, and there is no other key for it and
no switch that turns beta or stable off; a repository overrides a
given by writing the same line. The policy
command shows the table in force and, beneath it, each given held off
with the line that would switch it on, read from the fragment, so a
reader sees what one line would give them. A channel that
follows each accepted publish follows the releases the version rule
makes, and follows prereleases too only where its line says prereleases = true,
which alpha/*’s given does. Who may ask: an
environment with policy = "manual", or a channel moved by promotion
alone, is moved at the asking of any asker the gate verifies (129),
unless approvers under it names who may, signers today and persons
once an identity provider stands; lts/*‘s given names no rule, so no publish and no report moves a line
of it, and only an asking does, which names the line. A repository
writes approvers on the environment or on the channel it means, never
on a channel the core made for an environment; the made channel takes
its environment’s. approvers on an environment whose policy is auto
names no one who could be asked, and the file refuses it naming the
field. The fragment marks the givens it holds off with a
mark of its own, which a repository’s file never carries and the file
profile refuses. An environment names its channel, and two
words make the rest: policy, auto unless written, where manual
gives it a channel of its own bound to the one it names, moved only by
a person’s yes (41, 97), and a later word names who may say yes, the
approval a hosted gate asks for; depends_on names the environments it
depends on, which it must never be ahead of, and gives it a channel bound to theirs that moves
once every environment named reports it runs the version (37, 43,
91). The channels these two words make are the
statement’s channels and are read as such (131), and a reader may
declare one by hand instead, as [channels.<name>] in a repository that
declares no component and [channels.<component>.<name>] in one that
does (125). A given channel, beta or stable with no line written, is promoted by the gate’s signers, every one the acceptance policy lets claim acceptance (32), at the asking of an approver or the rule; a line under the channel narrows who may ask or adds a claim its versions must carry, and never widens who signs; a channel declared by hand is promoted by the signers its require names that may claim a promotion (32). Where the file names no signer that may claim
acceptance, the policy answers that the host’s own signer, the one it
names for provenance, is the gate of the repository for acceptance and
for the given channels’ promotion, as the one host 108 admits, and its
acceptance claim says so; the gate reads this from the policy’s answer
and decides nothing of it (core.7). Where the file names several
signers for provenance and none for acceptance, 108 admits no host,
nothing is accepted, and the refusal says so in those words: several
publishers and no gate, name an accepting signer (58). A target’s own settings, a cache’s address
among them, sit in the target’s table and nowhere else.
C.11 Projections
A projection packs with the ecosystem’s own packager, run against the
outputs the build left, with the version supplied the way that
packager takes it: npm pkg set before npm pack, Maven’s revision
property with the flatten plugin, dotnet pack --no-build, helm package --version, setuptools-scm’s pretend version, a Cargo manifest
edit before cargo package --no-verify. A projection never opens the
packager’s archive to edit it; a wheel with compiled extensions, whose
build is its packaging, is repacked with the wheel tool’s own
unpack and pack around its metadata and is the one exception. A
compiled binary carries the revision and the build identity, never
the version (24). Determinism is the packager’s, and a projection
whose packager cannot promise it says so (87).
| ecosystem | pack | render | serve |
|---|---|---|---|
| npm | the tarball npm pack writes, with package.json as metadata | a packument and tarballs under a registry read layout | a localhost registry, since npm reads no files |
| Maven | the jar and its POM | a maven2 layout with checksums and maven-metadata.xml | not needed: a file:// repository |
| Python | the wheel and sdist, with their metadata | a simple index per PEP 503 | not needed: find-links or a file:// index |
| Go | the module zip | the module proxy layout | not needed: GOPROXY=file:// |
| Cargo | the crate file, cargo package --no-verify after the component’s version is set on every crate of the component, so a path dependency on a sibling crate is rewritten to that version’s requirement as cargo does (110); a crate belongs to the component whose paths hold its manifest (123); a path dependency on a sibling crate the component does not declare as an output is refused naming the crate, since a consumer could resolve nothing for it; and a path dependency on a crate of another component is packed as a dependency on the version requirement the manifest writes for it, refused naming the crate where the store holds no such version (138) | a sparse registry under the served address, sparse+http://127.0.0.1:7420/<owner>/<name>/cargo/, the same on every host (49, 114), named timber in the checkout’s cargo configuration | the host’s one process, since a sparse index is read over the protocol |
| NuGet | the package file | a folder feed in the v3 layout | not needed |
| a file | any file, with a declared media type | a directory | not needed |
| an image | an image as pushed | the OCI layout itself | the layout served as a registry |
| moon’s cache | a task’s output archive, by task hash | moon’s outputs directory, one archive per hash, shared by every checkout on the host | not needed: moon reads the directory before any remote |
| a CloudFormation template set | the packager’s own (sam package, the asset publisher) against a bucket address that is a parameter, so the packed templates name no bucket | the set written under a version prefix in a bucket the deploy reads, the same bytes a skip | not needed |
C.12 Targets
| target | reconciler |
|---|---|
| a package registry (CodeArtifact, npmjs, PyPI, Maven Central) | push: publish the version’s projection with the target’s own credential; current is what the registry lists |
| a static site (a bucket behind a distribution) | push: sync the version’s bundle; current is a marker the sync writes |
| a CloudFormation stack or StackSet | push: one stack operation on the version’s template with the environment’s parameters, which a StackSet carries to every stack instance it holds, a list kept outside timber; current is the stack’s or the StackSet’s recorded version |
| a function | push: point the function at the version’s image by digest |
| Kubernetes | pull: the channel’s tag, verified by Flux or Argo against the gate’s signature; current reported by a watcher |
| a Nix fleet | two profiles, bound by the environment (44). Push: apply runs the fleet’s own deploy tool against one machine from a host that holds that machine’s key, and report is what the machine answers after, a claim the host that ran the apply signs as what it observed (11); current is the closure the machine runs. Pull: each machine, on its own timer, reads its channel’s tag in the store with its own credential, verifies the gate’s claim, realises the version’s store paths from the cache and switches; the system profile is its marker (119) and its report a claim it signs. The push profile comes first and the pull profile replaces it machine by machine |
| a Nix binary cache (Attic, Cachix) | push: the version’s store paths pushed to the cache, with the cache’s own credential |
| a GitHub release | push: the release of the version’s tag made or updated, its notes (134) as the release’s text and the version’s artifacts the policy names as its assets, with the target’s own credential; current is the release GitHub marks latest |
| an observability backend’s dashboards (Dash0) | push: apply runs the backend’s own CLI, dash0 apply, on each dashboard file the version holds, by its fixed identifier, into the dataset at the API the environment’s table names, api and dataset, and removes each dashboard an earlier version applied that this one does not hold, never one timber did not apply; the token is the host’s credential the table names (118), handed to the CLI by its path, --auth-token-file, every other setting by its flag, with a configuration folder of the run’s own, so no profile or DASH0_* variable of the host’s is read; current is the version the dataset’s dashboards were last applied from, which apply records with them |
| a pool: a control plane’s roster of environments (126) | push: apply is the control plane’s request to converge one environment, run by its own executors with credentials that are the control plane’s, reached at the moment of use; current and report are read from what it records |
| a command: any tool whose apply is one run of its own command line | push: apply runs the program and arguments the environment’s table names, each {{…}} in them filled from the version (its digest, its tag, the paths of the files it holds) or from the table’s own settings, and each credential the table names handed by its path (118); the run’s own folder is its working and configuration folder, so nothing of the host’s settings for the tool is read; current is the version of the last run that exited 0, which apply records, or what a reading command the table names prints, where it names one |
A tool whose apply is one run of its command line is reached through the command target and has no profile of its own. Each such tool is a command target’s definition in TOML: its name, the program and arguments apply runs, the settings its environments’ tables give and the credentials they name, and its reading command where it has one. timber carries its own definitions for the tools it knows, and a repository’s policy or the host’s timber settings may define more. A definition by the same name in the repository stands over the host’s, which stands over timber’s own, so adding a tool is a definition and never code in timber. A profile stands only where timber reads more of the target than one run says, a registry’s listing, a stack’s recorded version, a watcher’s report or a machine’s answer, or where its apply reconciles across versions, as Dash0’s removes the dashboards a later version no longer holds.
C.13 The ledger: a git ref
One ref per channel in the repository, refs/timber/ledger/<channel>,
or refs/timber/ledger/<component>/<channel> where the repository
declares components (125), each commit holding one promotion claim; append is a push that fast-
forwards, and a push the remote refuses is a predecessor that is not the head, read again and answered naming the head where it moved, or the remote’s own refusal in its words where it did not (59). The gate’s own identity pushes, and no device that asks for a
promotion commits anything. Asking reads the refs the repository holds,
fetched where the remote answers, a fetch being a read of the remote
into the repository’s own copy, and answers from the refs as last
fetched where it does not, saying when (60).
C.14 The ledger: the store
The chain as the promotion claims attached to the versions they move
to, walked by predecessor from the channel’s tag, channel/<channel>,
or channel/<component>/<channel> where the repository declares
components (125), for a store the operator can trust to retain them: a registry whose retention rules expire untagged artifacts by age is not one. A move the store refuses leaves the claim attached before it, which a later walk reports as the fork it is (105), so a store whose names take no condition serves one gate, and two gates share a chain through the git ref (C.13). Asking reads the chain
from the store where it answers and from the chain the host last read
where it does not, saying when (60, 61).
C.15 The ledger: a database table
One partition per chain in a table with conditional writes: append
puts the claim and moves the head in one transaction conditioned on the
predecessor, and chain is one ordered read; a table whose writes are
not conditional is not a ledger. A control plane that holds its own rows
beside the chain writes them in the same transaction and reads them as
projections (101).
C.16 What turns the wheel
Not a seam: the core calls none of these, and each is named in the
host’s bindings file (130), as a [gate] table naming the host’s own publish step or a job outside timber, in the operator’s words, which timber carries as written and runs nothing for; a file with no such table names the publish step (118). A push event a forge delivers to a job,
which runs the publish confined with the job’s own identity as its
signer; the driver that submitted the work and waited on its landing,
running the publish as its next step (sluice 50, 51); a watcher of the
landing’s records on a host; a control plane that hears of the landing
from the host’s runner and launches a kind that publishes there, once
per landing, as Boomdrive Cloud does in every deployment (Boomdrive
Cloud’s roadmap 2.17); a store’s own event delivered to the gate;
a person at a surface, or a program that asks as one. Never a hook in
the landing tool: the merge queue lands and decides nothing more, and
nothing it runs after a landing publishes, so a landing’s tool never
knows timber (sluice 1, 10, 122; timber record 0005). An approval is the last of these: the core never asks a person
anything, it answers which environments wait on one (98); a program
that watches that answer puts the question where the person is, a
queue of theirs, a hosted timber, Boomdrive, and on their yes promotes
as them (97, 129). Which program is the operator’s choice and no seam.
C.17 The setups
Two setups keep one store, one ledger and one policy, each the owner’s:
| setup | what accepts a version and moves a channel | who says yes to a promotion the policy holds for a person | where that promotion’s question is put |
|---|---|---|---|
| on its own | the gate, by the repository’s policy (25, 32) | the person, as an approver (97) | nowhere: the person, or their own agent’s session, reads which environments wait on them and asks for the promotion as them (98, 129) |
| with Boomdrive | the gate, by the same policy | the same person | on Boomdrive’s rail, from which Boomdrive asks for the promotion as the person on their yes, carrying their own token (129, C.16) |
In both setups a publish offers to the store the host binds, the gate appends each promotion to the ledger the host binds (118), and each environment converges on what its channel names (40). Going from one setup to the next changes only which program puts a promotion’s question to the person, the operator’s choice and no seam (C.16). The store, the ledger and the policy stay where they are, in one form, and Boomdrive imports nothing when it takes over (agentplot/strategy decision #46, accepted by the user on 2026-11-11).