Module events

Module events 

Source
Expand description

The append-only memory event log — the recovery and audit backbone.

Everything durable that happens to memory is an event first and a mutation second. A crash mid-session loses the in-process ledger but not the events, so the session overlay can be rebuilt by replay.

Structs§

CommitReceipt
The result of applying one memory transaction.
InMemoryEventLog
An in-process event log, used by tests and single-node deployments.
MemoryEventEnvelope
An event plus the addressing metadata every consumer needs.
SessionEventWriter
A convenience wrapper that stamps the user and session onto every append.

Enums§

MemoryEvent
A durable fact about something that happened to memory.

Constants§

EVENT_SCHEMA_VERSION
The current event schema version. Bumped whenever MemoryEvent changes shape in a way replay must account for.

Traits§

MemoryEventLog
A durable append-only sink for memory events.