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.
- Apply
Result - Metadata recorded after applying an event to the workbook.
- Cell
Match - A single cell value assertion for precondition checks.
- DryRun
Impact - 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.
- Shifted
Span - Describes a row/column shift caused by a structural operation.
Enums§
- Apply
Status - 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.