Execution model and invariants¶
The kernel, XCK, is the operating system a project's agents and workflows run on. It executes a sealed run-plan over a closed set of primitives, holds every piece of runtime authority under one invariant, and enforces, records and scores each step itself. This section covers what the kernel is, the rules every part of it holds to, and what reaches it already decided.
In this section¶
- What the kernel is: the kernel's parts, what each owns, and what crosses between the kernel and the other planes.
- The core invariant: live resources stay in owner cells, data crosses explicitly, execution crosses through kernel-controlled entry, and Rust remains the authority.
- Staying primitive: the kernel owns the mechanics of execution, and blocks and policy own the meaning.
- Three first-class features: enforcement, telemetry and scoring in the kernel, and how they feed each other within a run.
- The closed primitive set: what each primitive defines, why the set is closed, and how an IR outside it is refused.
- Deterministic lowering: from workflow YAML to a sealed run-plan, and the run fingerprint every event carries.
- Resolution at build time: compilation, policy merge, version pins, exemptions and dependencies, all decided before the run.
- Capability vocabulary qualified by ownership: the seven meanings of "capability", and the identity the kernel dispatches on.
- One owner per decision: which part owns each judgement, and how a fault names its owner.
- Cross-plane constants and generated bindings: the shared values the kernel generates from the cross-plane contracts, and block bindings generated from the neutral interface schema.