//! Multi-backend registry: configuration, factory, registration entries,
//! read cache, queued writer tasks, and health drift helpers.
//!
//! The single `registry.rs` file from Phase 2 (on-disk archive metadata
//! persistence) has been replaced; archive declaration moves to
//! `dirigent.toml` and is consumed at boot via
//! `coordinator::boot::Archivist::from_config` in later Phase 3 tasks.

pub mod cache;
pub mod config;
pub mod factory;
pub mod filter;
pub mod health;
pub mod registration;
pub mod writer;

pub use config::{ArchiveConfig, ArchivesConfig, ConfigValidationError};
pub use factory::{BackendBuildError, BackendFactory, BackendRegistry, JsonlFactory};
pub use filter::ArchiveFilter;
pub use registration::{
    ArchiveRegistration, ArchiveStatus, FailureMode, OverflowPolicy, WritePolicy,
};
