Skip to content

Foundation identity and the foundation digest

foundation_digest identifies the executable substrate. It covers every fact that changes what a cell can run, and excludes the evidence produced about those facts.

What the digest covers

Covered Why it changes the substrate
foundation_id Names the foundation
rootfs_reference, rootfs_digest Different bytes on disk
platform, os_release, libc_abi, python_abi Different ABI to link and import against
provider_compatibility Different providers admitted
component_store_digest, components Different candidates available
system_baseline_digest, system_baseline Different libraries reachable without declaration
native_sonames, executables Different native names carried
optional_accelerator_profile Different accelerator user-space compatibility
foundation_digest must digest the complete executable foundation content

Inventory, SBOM and provenance are outside it: they describe the foundation rather than change what it runs.

Four identities, one signature

flowchart TB
  FD["foundation_digest<br/>executable facts"]
  ID["inventory_digest<br/>observed contents"]
  SD["sbom_digest<br/>SBOM evidence"]
  PD["provenance_digest<br/>build provenance"]
  FD --> S["Attestation digest"]
  ID --> S
  SD --> S
  PD --> S
  S --> SIG["Foundation builder signature<br/>ed25519"]

The signed digest binds all four together:

signature.signed_digest must bind foundation, inventory, SBOM and provenance

A signature over the foundation alone would leave its evidence unbound, so the four travel as one attested identity.

Retired authority fields

Five field names are refused on a foundation manifest:

Refused field What it would have been
base_image A mutable image identity in place of a pinned rootfs
system_domain An ambient system dependency lane
system_inventory Inventory carried inside the manifest rather than bound as evidence
import_composition_policy Import composition decided by the substrate
allow_system_site_fallback A fallback import path
RuntimeFoundationManifestV1 refuses base_image; a foundation exports candidate
artifacts and never an ambient dependency lane

The product concept is the runtime foundation, addressed by digest. Its rootfs is one digest-pinned fact inside it.

Where the digest is used

Consumer Use
Control-plane foundation policy Names allowed foundations by digest and profile
Foundation resolution intent Seals the selected digest for one project
Resolved runtime closure Binds the foundation the closure was resolved against
Cell environment view Records the foundation the view was generated from
Cell reuse key A changed foundation selects a new cell

A foundation change therefore reaches the running system as a new closure and a new cell rather than as a mutation. See Cell reuse keys and Resolved runtime closures.