Skip to main content

Module persist

Module persist 

Source
Expand description

L0 persist stratum — Wal, KernelSnapshot, SignatureClass, and the replay_into reconstruction path. L0 persist stratum.

In-memory WAL with header pinning (A14), BLAKE3-keyed chain (A13), per-record AuthDecisionAnnotation (belt-and-suspenders), and replay (A1 D1-Total bit-identical reconstruction).

File I/O is application responsibility; this stratum produces and consumes byte buffers via Wal::serialize / Wal::deserialize.

Re-exports§

pub use replay::replay_into;
pub use replay::ReplayError;
pub use replay::ReplayReport;
pub use signature::SignatureClass;
pub use snapshot::KernelSnapshot;
pub use snapshot::SnapshotError;
pub use wal::AuthDecisionAnnotation;
pub use wal::TypeRegistryPin;
pub use wal::Wal;
pub use wal::WalError;
pub use wal::WalHeader;
pub use wal::WalRecord;
pub use wal::WalWriter;

Modules§

replay
WAL → Kernel replay (A1 D1-Total bit-identical reconstruction).
signature
SignatureClass — Tier 1/2/3 signing configuration (A16) + PQC Hybrid (CNSA 2.0).
snapshot
KernelSnapshot — serializable point-in-time capture of kernel state.
wal
WAL header + records + BLAKE3-keyed chain.