Three first-class features¶
The kernel owns execution and is the one layer that observes every interaction, so enforcement, telemetry and scoring all happen in the kernel. Policy is applied as a hard gate before the action, telemetry is recorded as the run executes, and scores are computed from that telemetry and fed back into enforcement within the same run. This page covers each feature, how the three connect, and what the control plane and the data plane contribute to them.
How the three connect¶
flowchart TB
subgraph CP["CONTROL PLANE"]
direction TB
PB[("Policy bundles, scoring policy<br/>thresholds, weights, fail-safe defaults")]
MD[("Evidence and score metadata")]
end
subgraph NODE["DATA PLANE NODE"]
direction TB
SEAL["Seals the run-plan,<br/>supplies cohort snapshots"]
RELAY["Relays evidence"]
end
subgraph XCK["KERNEL"]
direction TB
EXE["Primitive execution"]
HOOK{{"Six hooks"}}
EVAL{{"Policy evaluator<br/>pure"}}
JRN[("Telemetry journal<br/>and evidence graph")]
SCR{{"Score reducers"}}
end
PB -->|"1. resolved at build"| SEAL
SEAL -->|"2. sealed run-plan"| EXE
EXE -->|"3. reaches a hook"| HOOK
HOOK -->|"hook context"| EVAL
EVAL -->|"4. PolicyDecision, effect enacted"| EXE
EXE -->|"facts as they happen"| JRN
EVAL -->|"decision recorded"| JRN
JRN -->|"5. score inputs"| SCR
SCR -->|"6. score facts"| EVAL
JRN -->|"7. sealed evidence"| RELAY
RELAY -->|"8. metadata"| MD
The rules and the scoring policy come from Policy bundles, scoring policy
and arrive frozen in the sealed run-plan. Inside the kernel, every hook firing
goes to Policy evaluator, whose decision is enacted and recorded in
Telemetry journal and evidence graph. Score reducers compute from that
journal and return score facts to the evaluator, so a later hook in the same
run can act on a score.
Enforcement¶
The kernel is the sole enforcement point. Execution of the closed primitives
reaches six typed hooks, pre_call, pre_state_write, pre_llm,
pre_delegate, post_call and pre_emit, and at every firing the kernel
calls a pure evaluator with the hook, the target, the frozen effective policy
for the step, the hook context and any signed exemptions. The evaluator
returns one PolicyDecision, and the kernel enacts its effect before the
underlying operation proceeds. A refused call is never issued.
The evaluator is deterministic: the same inputs produce the same decision, with no I/O and no state mutation. Its placement is an open decision; running it in the kernel on the data plane node, over control-plane-resolved policy, is the leading option. Nine effects are defined, and which effects complete the set is also an open decision. See Policy enforcement.
Native telemetry¶
The kernel records a typed, schema-versioned, append-only and hash-chained journal for every run while the run is active. It holds spans, events, objects, labels, edges, effects, receipts, policy decisions, validations, claims, evidence and control packets, and the journal sequence orders them. From the journal the kernel builds the run's execution evidence graph. See Native telemetry and The execution evidence graph.
Native scoring¶
The kernel computes six headline scores from the run's sealed telemetry: confidence, faithfulness, truthfulness, reliability, prompt-injection control and trust. Each score is reproducible from sealed telemetry, block contracts, the policy and scoring policy versions, validators, oracles, reliability cohorts and the graph's labels and effects. Deterministic reducers compute every score, and no model judges another model. Scores reach the evaluator as score facts, so a rule can act on them. See Native scoring.
What the other planes contribute¶
| Plane | Contribution |
|---|---|
| Control plane | Authors, versions, compiles and signs policy and scoring policy, including thresholds, weights and fail-safe defaults |
| Data plane node | Materialises the policy into the sealed run-plan, supplies historical cohort snapshots, and relays decisions, score reports and sealed telemetry |
| Kernel | Enforces, records and scores, in the run |
Telemetry and score bodies go to the observability bucket. The control plane
receives metadata: payload_ref, payload_digest, payload_size_bytes and
payload_content_type.
Related¶
- Staying primitive for why enforcement is mechanical.
- Deterministic lowering for the run-plan these features consume.
- Audit and replay for how the evidence is used afterwards.