Skip to content

Runtime foundation

A runtime foundation is the base image a project's cells run on. The image is pulled by digest from a registry, and the foundation adds a signed record of what that image contains. The resolver and admission work from that record.

One project selects one foundation. Every cell that project starts runs on it.

The foundation has four parts:

  1. The root filesystem, the image itself, pinned by digest.
  2. The provider ABI: the platform, libc and Python ABI the image supports.
  3. The exported system baseline: the native libraries and executables in the image that every cell receives.
  4. The component store: content-addressed Python and native components the foundation carries, which a block receives only when it declares them.

The signed record covers the component inventory, its SBOM and provenance, and the digest of every component.

The control plane admits that record independently of the node that returned it. Foundation completion validates the manifest, the inventory, the SBOM and the provenance, binds them to the fenced project assignment and the selected policy profile, and verifies the resolver and the builder through two distinct registered signing authorities. It then stores the admitted documents and their evidence identities as one immutable foundation-build record. Repeating the same write leaves the record unchanged, and a write that binds the same build identity to different documents, signers or digests is refused.

It leaves third-party Python import authority to the block that declares it, runtime package resolution to the resolver, live runtime state and GPU ownership to their resource owners, and kernel image identity to the kernel.

What the manifest carries

Field Meaning
foundation_id Names this foundation
rootfs_reference <repository>@sha256:<64 hex>, immutable
rootfs_digest The rootfs digest, equal to the reference's digest
platform, os_release, libc_abi, python_abi The substrate facts a closure is checked against
provider_compatibility Provider kinds and ABIs this foundation runs, a non-empty list with no repeated kind and ABI pair
component_store_digest The component store as a whole
components The component records, with distinct ids and distinct digests
system_baseline, system_baseline_digest The exported surface, covered in its own page
native_sonames, executables The native names and executables the foundation carries
optional_accelerator_profile Present when any component is accelerator-bound
foundation_digest Digests every executable fact in the manifest
inventory_digest, sbom_digest, provenance_digest Independently produced evidence
signature Binds all four identities together

A reference that is not digest-pinned is refused:

rootfs_reference must be immutable as <repository>@sha256:<64-hex>

Component kinds

Kind Carries
python_distribution One Python distribution
python_bundle A bundle of Python distributions
native_bundle Native libraries
executable_bundle Executables
accelerator_user_space Accelerator user-space content

Component records pin exactly: distributions entries are name==version, and system_packages entries are name=version. System packages belong to native and executable components:

components[2].system_packages belong to native/executable components, not
Python import components

A component's own dependencies name other components in the same foundation:

components[4].dependencies name components absent from the foundation:
['sha256:...']

Selecting one

A project names its foundation in runtime.xratu:

document:
  foundation:
    reference: "registry.example/xratu/foundation:stable"
    profile: "standard"

The document carries exactly those two keys. Resolution turns the reference into a digest, and control-plane policy decides which foundations a project may select. See Foundation resolution and admission.

What a foundation grants

Two surfaces, and they grant differently. The exported baseline reaches every cell without a declaration; the component store confers nothing by being present. See Rootfs and the component store and Presence versus import authority.