Artifact and capsule materialization¶
Every byte a node runs or builds from comes out of your artifact registry, and the node checks each one against a digest the control plane pinned before it uses it. A node reads your registry for three kinds of work: a build pulls its input images, a run checks the distribution artifacts its assignment names, and a runtime closure is materialized from immutable runtime artifacts into the node's content store. This section covers how the node reaches your registry, how it resolves and verifies what it pulls, and where it keeps what it has verified.
Where artifacts live and who reads them¶
flowchart TB
subgraph CP["CONTROL PLANE"]
direction LR
CAT[("Runtime artifact catalog<br/>references and digests")]
SIG[("Capsule publication signer<br/>registration")]
BC[("Data plane bootstrap contract<br/>spec.artifact_registry.path")]
end
subgraph NODE["NODE, xratud"]
direction TB
TAR{{"Tenant artifact runtime<br/>endpoint, repository_root"}}
subgraph USE["WORK THAT READS THE REGISTRY"]
direction LR
BLD["Build<br/>pull contract"]
RUN["Run route<br/>integrity gate"]
MAT["Closure materialization"]
end
subgraph LOCAL["NODE-LOCAL"]
direction LR
CM[("Cache manager<br/>in memory")]
AFC[("Artifact file cache")]
CS[("Closure content store")]
end
TAR --> USE
RUN --> CM
RUN --> AFC
MAT --> CS
end
REG[("YOUR REGISTRY<br/>under repository_root")]
BC -->|"read at start"| TAR
CAT -->|"in the assignment"| MAT
SIG -->|"in the assignment"| MAT
USE ==>|"bytes, with the node's<br/>infrastructure identity"| REG
The control plane sends references, digests and the signer registration; the bytes move only between your registry and the node. Every registry operation is scoped by the tenant artifact runtime, so a reference outside your registry's endpoint or repository root is refused before any request is made. What the node verified is kept in node-local stores and verified again before it is reused.
In this section¶
- Artifact pull and resolution: how a build resolves its input references to digests, and how a closure artifact is fetched by its immutable reference.
- Digest and signature verification: every check an artifact passes, in order, and the code each failure reports.
- Capsule publication verification: how a node checks the control plane's signed attestation for an execution capsule, before fetch and after opening.
- Registry adapter runtime: the reference rules for pull and publish, and the OCI requests the node makes.
- Tenant artifact runtime: the registry endpoint and repository root a node works in, and where they come from.
- The cache manager: the node's three artifact stores, their limits, their lifetimes, and the metrics they report.