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.
Rules every manifest follows¶
- Every file is listed.
immutable_file_treenames every file the capsule may use, with its digest, and contains at least one entry. - One interface is sealed.
interfacesnames the interface declared by the reusable capability block. A later stage can select from this set. - Calls enter through the dispatch module.
adapter_bindingnames the generated dispatch module and takes method numbers from the executable surface index. - 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. - The provider requirement is explicit. It carries a kind, an ABI and a minimum version. See Provider requirements.
- The build input is pinned.
provenancenames the build input's digest. See Provenance. - 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_authdeclaration 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.