Expand description
Identity, local effect, and durable receipt as distinct stages (SVC-01.04).
Operation identity is a SHA-384 StrongDigest. Binding an id is not a
local graph effect. A local effect is not a durable receipt. Transport ACK
and consumption never become ReceiptClass::DurableReceipt.
DeliveryStage::DurableApplied is a durable receipt only after the
effect ran. DeliveryStage::EconomicReceipt requires that durable-applied
stage already recorded. Packages remain open; this library does not claim
exactly-once external work or CORE-03 atomic commit.
Structs§
- Receipt
Table - Sixteen-slot identity / effect / receipt table.
Enums§
- Receipt
Class - Durability class actually achieved. Transport ACK is never this enum’s durable variant.
- Super
Block Commit State - Crash-safe
.q42SuperBlock commit states (NET-20/R09).
Constants§
- MAX_
RECEIPTS - Occupied identity slots. A 17th distinct bind is Capacity.
Functions§
- acknowledge
- Map a delivery stage onto the durability class actually achieved.
- advance_
superblock_ commit_ state - Advance a SuperBlock commit state machine (
R09). - apply_
effect - Record a local graph effect. Requires a bound identity. Unknown id is unauthorized. Idempotent once the effect is applied.
- bind_
effect_ digest - Record SHA-384 of exact effect bytes on a bound identity.
- bind_
identity - Bind
idas operation identity. Zero digest is malformed. A duplicate bind of the same id is idempotent. Distinct ids beyondMAX_RECEIPTSare capacity. - class_
of - Durability class actually achieved for
idwithout acknowledging a stage. - effect_
digest_ of - SHA-384 of effect bytes recorded for
id, if any. - emit_
sync_ checkpoint_ quin - Emit a 48-byte
SyncCheckpointNQuinwith canonical 5-field XOR parity (R09). - identity_
effect_ receipt_ are_ distinct - Identity, local effect, and durable receipt are three distinct stages.
- transport_
ack_ is_ receipt_ class - Transport ACK is not a durable receipt class.