Generation boundaries¶
Generation discovers. It reads source, records what it found, and hands that to bake. Execution authority is assigned by later stages, and the documents generation writes are refused if they reach for it.
flowchart TB
G["Generation<br/>discovers from source"]
G --> B["Bake<br/>seals the capsule and its digest"]
B --> A["Control-plane admission<br/>resolves closure authority"]
A --> M["Data plane<br/>materialises the artifact set"]
M --> K["Kernel<br/>verifies and dispatches"]
Fields a seed is refused¶
Eight field names are rejected by name rather than as unexpected input:
| Field | The authority it would seal | Assigned by |
|---|---|---|
capsule_digest |
What the sealed artifact is | Bake |
immutable_file_tree |
Which files the capsule contains | Bake |
adapter_entrypoint |
Which code dispatch reaches | Bake |
executable_surface |
What may be invoked | Bake |
provider_binary_digest |
Which provider binary runs | Runtime provider negotiation |
foundation_digest |
Which runtime foundation is used | Control-plane admission |
runtime_closure_digest |
Which resolved closure applies | Control-plane admission |
cell_environment_view |
What the cell's environment holds | Data plane materialisation |
a seed may not carry capsule_digest; reusable capability block generation
discovers, it does not seal
Source is the least trustworthy input in the pipeline, so a seed able to seal execution authority would let source decide what runs.
Runtime lanes stay out of dependency intent¶
An intent names requirements. Four names are refused:
dependency_intent refuses dependency_domain; reusable capability block
requirements are not runtime lanes
env_group, dependency_domain, system_domain and env each assign a lane.
See Per-block dependency intent.
Interface identity comes from the compiled interface¶
Generation admits and compiles the co-located XCI source through the installable protocol compiler. The interface id, hash and ordinals come from that compiled descriptor.
| Derived by the compiler | Confirmed by source discovery |
|---|---|
interface_id |
That the discovered callables exist |
interface_hash |
That each discovered export is admitted |
| Export ordinals | That the manifest matches the seed |
Source discovery confirms; it derives no interface identity of its own. The kernel later admits the sealed compiled descriptor and parses no source at all. See Where the XCI compiler runs.
What each stage decides¶
| Stage | Decides |
|---|---|
| Generation | Block and interface identity from the compiled descriptor, exports, declared auth keys, dependency intent, governed metadata |
| Bake | The capsule, its file tree, its adapter entrypoint, its executable surface, its digest |
| Publish | The release record, its attestation and signature |
| Control-plane admission | The runtime foundation, the resolved closure, placement |
| Data plane | The materialised artifact set and the cell environment |
| Kernel | Verification of the sealed inputs, then dispatch |
Each stage is judged against the documents produced before it, so a boundary crossed early is caught where it is crossed.
Related: Execution capsule manifest covers the fields a capsule refuses at bake, one stage later.