Evidence sink bridge¶
The nucleus issues evidence as effects, and the return lane stores evidence as
digest-chained envelopes. The evidence sink bridge in the nucleus host is the
single path between the two. It accepts an EmitEvidence effect, appends one
return envelope for it, and returns the committed envelope's digest as the
effect's receipt. This page covers what the bridge accepts, how an event maps
to an envelope category, and what it reports when an append fails.
The bridge¶
flowchart LR
subgraph NUC["NUCLEUS"]
direction TB
EFF{{"EmitEvidence effect<br/>requires EvidencePersisted"}}
end
subgraph HOSTBOX["NUCLEUS HOST"]
direction TB
BR["Evidence sink bridge<br/>selects the category"]
end
subgraph LANE["RETURN LANE"]
direction TB
J[("Journal<br/>sequence, previous digest, digest")]
end
EFF --> BR
BR -->|"append draft"| J
J -.->|"committed digest"| BR
BR -.->|"EvidencePersisted receipt"| EFF
The bridge accepts EmitEvidence effects that require an EvidencePersisted
receipt, and appends through the return lane. The return lane assigns the
sequence number and the chain digest; the bridge supplies the kind, the
category, the emission time, the terminal marker and the payload. See
The return lane.
Envelope categories¶
The bridge writes into the return lane's existing categories.
| Nucleus event | Category |
|---|---|
| Authoritative informational transition | event |
| Telemetry | event |
| Authoritative terminal transition | evidence |
| Authority failure | fault, normalised against the closed fault taxonomy |
For receipt-backed cell operations, the envelope payload carries the host receipt digest and the complete runtime-closure identity exactly as the nucleus admitted them. The operator lane streams these envelopes to the data plane node that owns the runtime. The node writes each envelope to its return outbox before acknowledging the sequence. The control plane admits each report against the runtime's registered owner and its ownership fence before it records the sequence and digest. See Evidence continuity across both links, Cell evidence and The operator lane.
An authoritative terminal event ends its subject: a task, a channel, a cell.
The bridge appends it with the envelope's terminal marker unset, so the
project runtime's lane stays open for the next subject. The runtime's own
terminal envelope closes the lane. See
The terminal envelope
and
The five envelope categories.
Receipts and append failure¶
A successful append returns the committed envelope's digest, and that digest is
the EvidencePersisted receipt.
When an append fails, the bridge reports according to the behaviour declared on
the event. A fail_closed or local_durable_spool event is reported as a
failure, and the state that depends on it stays hidden. An event that declared
degraded_execution or telemetry_only_loss reports that declared outcome.
See Evidence effects.