Skip to content

Execution capsule manifest

The execution capsule manifest is bake's immutable description of one execution capsule. Generation qualifies every @xratu_auth key to its exact export, bake seals those qualified requirements with the capsule, and publish checks them before creating the catalog's immutable requirement records. This page covers the rules and ownership boundaries of the manifest.

acme.billing.manifest.json    contract capsule.execution_manifest.v2, produced by bake

Rules every manifest follows

  1. Every file is listed. immutable_file_tree names every file the capsule may use, with its digest, and contains at least one entry.
  2. One interface is sealed. interfaces names the interface declared by the reusable capability block. A later stage can select from this set.
  3. Calls enter through the dispatch module. adapter_binding names the generated dispatch module and takes method numbers from the executable surface index.
  4. Handling is fixed. The manifest states the five rules every node applies: verify through opened files (opened_descriptor), mount read-only, extract once to a path named by the digest, cache by digest, and collect once all references have gone.
  5. The provider requirement is explicit. It carries a kind, an ABI and a minimum version. See Provider requirements.
  6. The build input is pinned. provenance names the build input's digest. See Provenance.
  7. Auth requirements are qualified. A baked requirement identifies the reusable capability block, interface version, method, export ordinal, callable-local key and reviewed requirement revision. A class-level @xratu_auth declaration produces one requirement for each admitted export.

The auth fields carried by the manifest form one closed set:

Field Meaning
auth_requirement_base The initial publication or the exact prior published manifest used for revision review
baked_auth_requirements The qualified requirements sealed by bake for this capsule
auth_requirement_set_digest The digest that binds the complete ordered requirement set

Publication ownership

The baked requirement set is evidence passed through the existing capsule boundary. Publish compares that evidence with the reviewed source declaration and the pinned prior publication. A preserved credential meaning retains its requirement revision and identity. A changed credential meaning advances the revision and receives a new identity.

Publish writes the qualified requirements into the final reusable capability block manifest and records them in the catalog. The catalog's published requirement is the durable authority used by project compilation. The final manifest digest is calculated after the requirement set has been inserted and binds the manifest to that set. The registry record carries that digest beside the requirement set, leaving each requirement independent of the manifest digest calculation.

Manifest boundary

The manifest describes the reusable capability block at bake. Project closure validation rejects fields owned by later resolution, including foundation_digest, runtime_closure_digest, cell_environment_view_digest, native_loader_view_digest and dependency_domains.

The manifest declares the provider requirement. Materialisation evidence names the selected provider binary. Publication authentication is carried by CapsulePublicationAttestationV1, which the control plane adds over the manifest digest. See Immutable runtime artifacts.