Skip to main content

arkhe_kernel/persist/
mod.rs

1//! L0 persist stratum.
2//!
3//! In-memory WAL with header pinning (A14), BLAKE3-keyed chain
4//! (A13), per-record `AuthDecisionAnnotation` (belt-and-suspenders),
5//! and replay (A1 D1-Total bit-identical reconstruction).
6//!
7//! File I/O is application responsibility; this stratum produces and
8//! consumes byte buffers via `Wal::serialize` / `Wal::deserialize`.
9
10pub mod replay;
11pub mod signature;
12pub mod snapshot;
13pub mod wal;
14
15pub use replay::{replay_into, ReplayError, ReplayReport};
16pub use signature::SignatureClass;
17pub use snapshot::{KernelSnapshot, SnapshotError};
18pub use wal::{
19    AuthDecisionAnnotation, TypeRegistryPin, Wal, WalError, WalHeader, WalRecord, WalWriter,
20};