Skip to main content

Module event

Module event 

Source
Expand description

Event model — append-only mutation log for the context graph.

Every mutation to the context is an event. The event log is the single source of truth — the graph is always rebuildable from events.

Design: Datomic-inspired immutable datom model where each fact is (Entity, Attribute, Value, Transaction, Added/Retracted), mapped to our domain as typed context mutation events.

Schema evolution uses additive-only changes plus upcasting. Reference: Event Sourcing best practices (Microsoft, Greg Young)

Structs§

ConflictSource
UcmEvent
A mutation event in the context graph’s append-only log.

Enums§

ChangeType
ConflictType
EventPayload
The typed payload of a context event.