Skip to main content

Module events

Module events 

Source
Expand description

Universal OpEvent envelope and opcode registry for event-sourced sessions.

Every effectful action is expressed as a normalized OpEvent, which records intent, provenance, preconditions, and calculated impact. Events are appended to a JSONL binlog and replayed to reconstruct workbook state.

Structs§

Actor
Identity of the entity that created an event.
ApplyResult
Metadata recorded after applying an event to the workbook.
CellMatch
A single cell value assertion for precondition checks.
DryRunImpact
Computed impact from staging an operation (dry-run analysis).
OpEvent
Universal event envelope wrapping every effectful workbook operation.
OpKind
Namespaced operation kind covering all write families.
Preconditions
Pre-apply validation constraints attached to an event.
ShiftedSpan
Describes a row/column shift caused by a structural operation.

Enums§

ApplyStatus
Outcome status of applying an event.

Constants§

SCHEMA_VERSION
Current schema version for OpEvent serialization.

Functions§

canonical_payload_hash
Compute SHA-256 hash over a canonicalized JSON payload.