Skip to content

The three-plane model

Xratu runs on three layers with separate responsibilities. Each owns one kind of decision, and the boundaries between them are contracts rather than conventions.

flowchart TB
  CP["CONTROL PLANE<br/>decides what should exist<br/>tenancy, policy, placement, lineage"]
  DP["DATA PLANE (xratud)<br/>makes it exist<br/>builds, deploys, supervises, reports"]
  K["KERNEL (execd)<br/>executes it<br/>one per project runtime"]
  CP -- "assignment envelope" --> DP
  DP -- "sealed run-plan" --> K
  K -- "evidence" --> DP
  DP -- "status, evidence refs" --> CP
Plane Owns Runs
Control plane Tenancy, governance, policy resolution, placement, lineage, catalog One deployment per installation of Xratu
Data plane Artifact materialisation, image builds, runtime deployment, supervision, reporting One xratud per node, in your infrastructure
Kernel Execution of one project's agents and workflows One per project runtime

What each plane decides

The control plane decides what should exist. It resolves a project to a pinned graph of block identities and hashes, a compiled workflow, and a resolved policy envelope. It places work on eligible nodes and records what resulted. It holds no tenant bytes and reaches no cloud API.

The data plane makes it exist. It pulls assignments, fetches artifact bytes from your registry, verifies them against the hashes the control plane pinned, assembles the sealed run-plan, deploys the project runtime, and supervises it.

The kernel executes. It consumes a sealed run-plan, validates its signatures and content hashes, and runs the workflow over the fifteen execution primitives. It enforces policy at six fixed hooks and emits evidence at every firing.

The model plane is inside the control plane

Model revisions, bindings, traffic governance and autoscale are control-plane owned. They form a logical plane rather than a fourth runtime layer: the same assignment path carries model work to nodes, and no additional process runs.

The kernel's boundary

The kernel is an execution substrate. Governance decisions are resolved before it sees them, so a run can be replayed against exactly the rules it ran under.

The kernel does The kernel leaves to another plane
Executes the closed primitive set Inferring orchestration from intent
Enforces the declared effect of a policy rule Merging policy at runtime
Validates hashes and signatures on the run-plan Resolving version pins at runtime
Transports state and payloads across boundaries Interpreting what they mean
Consumes signed exemptions as decision inputs Issuing or interpreting their authority

The planes are joined by two contracts, and they have different shapes.

Control plane to data plane is the assignment envelope, pulled by the node.

Data plane to kernel is a private gRPC control lane with mutual TLS, carrying runtime.* operator commands only. Execution syscalls are kernel-native and reach the kernel through its own surface, so a node that authenticates on the operator lane still cannot ask a kernel to run application work.

CP -> DP    assignment envelope, pulled
DP -> K     runtime.* operator commands, dialled
K  -> DP    evidence and status, pushed on a durable stream

Where each plane lives

In the common deployment the control plane is operated by Xratu and the data plane runs in your infrastructure, and everything the control plane holds is metadata. In a self-hosted deployment you operate both, and the contracts between them are identical.

See Control plane as source of truth for what the first boundary guarantees, and The tenant byte boundary for what the second one does.