Cell evidence¶
A cell's evidence has to distinguish what the kernel asked for from what happened. Asking the operating system to start a process, a monitor to register, or a provider to become ready produces one kind of event. A second kind of event is recorded only after the nucleus host returns the receipt for that effect and the nucleus admits it, and it names the receipt that proves it. This page covers the requested and accepted events, what an accepted event carries, invocation evidence, and where cell evidence goes.
Requested, then accepted¶
flowchart TB
subgraph NUC["NUCLEUS"]
direction TB
ISS["Issues an effect"]
REQ[("Requested event")]
ADM{{"Admits the receipt"}}
ACC[("Accepted event<br/>receipt digest, closure identity")]
ISS --> REQ
ADM --> ACC
end
subgraph HOSTBOX["NUCLEUS HOST"]
direction TB
EX["Executes the effect"]
RC["Returns the receipt"]
EX --> RC
end
subgraph CELL["CELL"]
direction TB
MON["Cell monitor<br/>validates provider reports"]
PROV["Runtime provider"]
PROV -.->|"report"| MON
end
ISS -->|"effect"| EX
MON -.->|"observed fact"| EX
RC -->|"receipt"| ADM
A provider's report is an input. The monitor validates it, the host turns the observed effect into a receipt, and the nucleus decides which accepted event that receipt proves.
The startup events¶
| Step | Requested event | Receipt | Accepted event |
|---|---|---|---|
| Start the cell process | The cell's transition to starting |
ProcessStarted |
cell_start_accepted |
| Register the monitor | cell_monitor_registration_requested |
CellMonitorRegistered |
cell_monitor_registration_accepted |
| Admit provider readiness | provider_readiness_requested |
ProviderReady |
provider_readiness_accepted |
A requested event records that the nucleus issued the effect. A cell whose evidence shows a requested event with no matching accepted event has an effect still outstanding, or one that failed. See Cells, epochs, and lifecycle.
What an accepted event carries¶
Each accepted event carries:
effect_receipt_digest, the digest of the receipt that proves it;cell_idandcell_epoch;runtime_closure_identity, the complete identity of the runtime closure installed on that cell.
The closure identity on every accepted event ties the cell's startup to the exact foundation, capsule and provider it runs. See Verified closure view.
Invocation evidence¶
Invocation follows the same rule. task_created, task_admitted and
task_queued establish the logical task. task_dispatched and
task_attempt_advanced record the monitor-owned attempt sequence. After the
monitor accepts completion, provider_observation_accepted and
typed_result_admitted record the outcome. task_acknowledged seals the
terminal task-evidence digest after the caller acknowledges the result.
These events carry the task, parent, call and attempt identity. The provider
observation, typed result and terminal task evidence are represented by their
digests; their values stay out of the evidence event. A
provider_entered_adapter observation may be included in terminal evidence for
diagnosis, but it never advances task authority.
Where cell evidence goes¶
The evidence sink commits each event as a digest-chained return envelope, and the operator lane delivers that same stream to the node that owns the runtime. The node persists an envelope before acknowledging it. The control plane accepts the report only when the node's authenticated runtime identity, the assignment identity and the runtime ownership match the durable deployment authority, then records the admitted sequence and digest. Application values and local handles return to their kernel-local caller; the supervisory return stream carries evidence, lifecycle receipts, status, faults and logs. See Evidence effects, The return lane and The operator lane.