Returns the current reactive snapshot for external store consumption.
The reactive snapshot.
Restores the engine to a previously captured snapshot state.
The snapshot to restore from.
Returns a serializable snapshot of the full engine state.
The engine snapshot.
Registers a listener that is called after every mutation.
The callback to invoke on mutation.
An unsubscribe function that removes the listener.
Run a comprehensive invariant validation sweep on the entire argument. Checks schema conformance, structural invariants, grammar rules, reference integrity, and checksum consistency.
Snapshot, rollback, and reactive subscription lifecycle. Static factory methods (fromSnapshot, fromData) are class-level only.