Skip to content

Control plane as source of truth

Every durable decision in Xratu is recorded in the control plane before it happens anywhere else. Tenancy, policy, placement, version pins and lineage are resolved there, and a node's behaviour follows from what the control plane has recorded rather than from configuration held on the node.

What "source of truth" covers

Decided by the control plane Recorded as
Which organizations, workspaces and role bindings exist Tenancy records with a governance revision
Which policy is in force, and its resolved form An effective policy snapshot and its digest
Which blocks and versions a project uses A pinned graph of identities and hashes
Where work runs Placement results against reported scheduler capabilities
Which node holds a runtime An ownership lease and a fence epoch
What was produced Digests, object references and evidence lineage

A node contributes facts about itself. It reports its provider, region, cluster, namespaces, capacity and health, and those facts are inputs to control-plane decisions rather than decisions of their own.

Configuration is control-plane driven

Node behaviour comes from what the control plane assigns, not from environment-variable switches on the node. The assignment envelope is the only runtime dispatch contract between the planes, so what a node is doing is answerable from the control plane's records.

assignment_envelope.v1
  invocation contract
  resolver snapshot and artifact digests
  effective policy snapshot and digest
  trust chain envelope requirements
  workload identity contract
  determinism and idempotency contracts

What the control plane holds

The control plane is a metadata plane. It records digests, references, manifests, lineage, policy snapshots and audit references. Artifact bytes, payload bodies and cloud credentials stay in your infrastructure.

That division is what allows the control plane to be operated by someone other than the tenant: everything it holds describes your artifacts, and a digest identifies bytes it has never read. See The tenant byte boundary.

Fail-closed rather than best-effort

A finalized control plane checks its own invariants on startup and readiness and refuses to serve when any fails. Contract violations are refusals, not degraded execution: an assignment that does not satisfy its envelope is rejected before a node acts on it, and a run-plan whose signatures do not verify is refused by the kernel.

Layer Refuses when
Control plane Its finalization invariants do not hold
Data plane The assignment envelope, policy digest or artifact digests do not verify
Kernel The run-plan's signatures or content hashes do not verify

What this means for a reader

Two questions have one answer each, and the answer is in the control plane: what is this deployment supposed to be running, and what did it actually run. The first is the recorded intent; the second is the evidence lineage that references it.

See Reconciliation and pull-based execution for how recorded intent reaches a node, and The three guarantees for what the evidence proves.