Foundation resolution admission¶
A runtime foundation is the execution substrate a project runs on: an immutable root filesystem, a provider and OS ABI, and an inventory of the components available to be selected into a closure. Resolving which foundation a project gets is work the node does; admitting the answer is work the control plane does.
Two operations¶
flowchart LR
subgraph CP["CONTROL PLANE"]
direction TB
POL[("Intent and policy")]
ADM{{"Admission<br/>intent, policy, signature"}}
REF[("Admitted foundation reference<br/>pinned")]
POL --> ADM --> REF
end
subgraph YI["YOUR INFRASTRUCTURE"]
direction TB
N["xratud<br/>resolves"]
subgraph F["A RUNTIME FOUNDATION"]
direction TB
FS[("Immutable root filesystem")]
FA["Provider and OS ABI"]
FI[("Component inventory")]
end
N -.->|"reads"| F
end
POL -->|"resolution assignment"| N
N -->|"signed evidence"| ADM
The foundation itself stays in your infrastructure, and the node reads its manifest and inventory there. What crosses to the control plane is signed evidence about it, and what the control plane keeps is a pinned reference that the runtime closure consumes.
The control plane states the intent and the policy; the node performs the resolution where the artifacts are; the control plane admits the result. The same shape as every other artifact operation, for the same reason. See Byte-free recipes.
What is admitted¶
Admission checks the returned resolution against the intent and policy it was
issued under, and against its signature. A resolution that does not satisfy the
intent and policy it was issued for is refused with
INVALID_FOUNDATION_RESOLUTION, and evidence whose signature does not verify
with FOUNDATION_RESOLUTION_SIGNATURE_INVALID.
A signature is required because the resolution is a claim made on the node about bytes the control plane never sees. Verifying it allows the control plane to record a foundation reference it did not itself resolve.
Intent, policy, manifest and inventory¶
Four documents bound the resolution, and each is admitted by the input owner that holds it:
foundation_resolution_policy what may be selected
foundation_resolution_intent what the project asked for
foundation_manifest what the foundation declares
foundation_inventory the components it contains
Intent and policy stay separate so an unexpected outcome is attributable. An intent that asks for something the policy forbids is a different failure from an intent the policy allows and the manifest cannot satisfy.
The admitted reference is what gets used¶
Once admitted, the foundation reference becomes an input to the runtime closure for that project. It is a pinned identity from that point, so a later change to what a source offers does not alter a project already resolved against it.
See Runtime closure admission and reconciliation for where the reference is consumed, and Foundation resolution and admission for what resolution means to someone building a project.