Skip to content

One owner per decision

Every judgement in the kernel has exactly one owner. Each owner answers from its own closed vocabulary, and every fault record names the component that raised it. This page covers which part owns each kind of decision, the rule that keeps semantics and authority apart, and how an owner appears in what an operator reads.

Who decides along a call

flowchart TB
  subgraph XCK["KERNEL"]
    direction TB
    subgraph KP["KERNEL PROCESS"]
      direction TB
      ING{{"Syscall ingress<br/>is the request well formed?"}}
      CORE{{"Nucleus core<br/>is the call authorised?"}}
      HOST["Nucleus host<br/>did the effect happen?"]
      RLN[("Return lane")]
    end
    subgraph CELL["TARGET CELL"]
      direction TB
      MON{{"Cell monitor<br/>is the frame valid, what was the outcome?"}}
      PROV["Runtime provider<br/>runs the block"]
    end
  end
  ING -->|"1. typed request, mapped to its owner"| CORE
  CORE -->|"2. effect"| HOST
  HOST -->|"3. receipt"| CORE
  CORE -->|"4. admitted call"| MON
  MON -->|"5. dispatch"| PROV
  PROV -->|"6. provider outcome, advisory"| MON
  MON -->|"7. accepted completion"| CORE
  ING -.->|"fault"| RLN
  CORE -.->|"fault"| RLN
  MON -.->|"fault"| RLN

Syscall ingress checks the request and maps it to its owner, Nucleus core decides authority and applies receipts from Nucleus host, and Cell monitor validates frames and settles the outcome from its own receipts. A fault from any of them reaches Return lane under that owner's name.

Which part owns each decision

Decision Owner
Whether an operator command is admitted The operator lane endpoint
Whether an application request is well formed, and which owner serves it Syscall ingress
Whether a call, handle or grant carries the authority it claims The nucleus core
A Run's phase, outcome and control admission The nucleus core's run authority
Whether an operating-system effect succeeded The nucleus host, as a receipt the nucleus core applies
Which containment a cell runs under The process cell, from the named containment profile, failing closed
Whether a provider frame is valid, and how an attempt ended The cell monitor
What policy decides at a hook The policy evaluator; the kernel enacts the effect

A provider proposes outcomes and exports, and the monitor validates every provider-originated frame before anything else acts on it. Framework semantics and kernel authority sit in different layers: framework code and run adapters own what the application means, and the kernel owns who may do what.

A fault names its owner

Every fault on the return lane is a kernel.fault_evidence.v1 record:

{
  "contract_version": "kernel.fault_evidence.v1",
  "fault_code": "protocol_mismatch",
  "reason": "protocol_mismatch",
  "component": "kernel.transport",
  "severity": "error",
  "emitted_at": "2026-06-07T00:00:00Z",
  "evidence": {
    "expected_protocol": "kernel.grpc_control.v1",
    "presented_protocol": "unknown"
  }
}

component names the part that raised the fault, and reason is one of a closed set:

malformed_request       protocol_mismatch       host_dispatch_failed
worker_handler_failed   bridge_response_invalid non_owner
stale_fence             runtime_fault

severity is warning, error or critical. A record with a reason or severity outside its set is refused.

The kernel keeps a running summary of its faults, returned by runtime.status.snapshot:

{
  "fault_summary": {
    "total_count": 3,
    "last_fault_at": "2026-06-07T00:00:00Z",
    "last_fault_reason": "stale_fence",
    "last_fault_component": "kernel.grpc_server",
    "last_fault_severity": "error",
    "reason_counts": { "stale_fence": 2, "protocol_mismatch": 1 }
  }
}

Example values. last_fault_component names the owner of the latest fault, and reason_counts shows how often each reason has occurred.