//! MimirsWell HA - High-availability replication
//!
//! Implements Raft consensus, write-ahead log, and pluggable storage backends.

#![warn(missing_docs)]

pub mod backend;
pub mod raft;
pub mod wal;
pub mod signal;
pub mod event_bus;
pub mod elder;

pub use backend::StorageBackend;
pub use raft::ThingNode;
pub use signal::MemorySignal;
pub use event_bus::EventBus;
pub use elder::{Elder, ElderQuorum, CognitiveShift, EvaluatorPersona};
pub use wal::Saga;

// Re-export key types from wal for convenience
pub use wal::SagaEntry;pub use wal::ApplyChange;
