Skip to content

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