mod concurrency;
mod config;
mod cycle;
mod dreamer;
mod fading;
mod guard;
mod helpers;
pub mod kg_compact;
mod recall_benchmark;
mod semantic;
mod settled;
#[cfg(test)]
mod concurrency_tests;
#[cfg(test)]
mod dedup_survivor_tests;
#[cfg(test)]
mod maintenance_election_tests;
#[cfg(test)]
mod persisted_stats_tests;
#[cfg(test)]
mod settled_corpus_tests;
#[cfg(test)]
mod tests;
pub use concurrency::{
DEFAULT_DREAM_MAX_CONCURRENT, DREAM_MAX_CONCURRENT_ENV, DreamBusy, DreamCycleGauge,
DreamPermit, acquire_dream_permit, acquire_dream_permit_within, dream_cycles_in_flight,
dream_cycles_peak_in_flight, dream_max_concurrent, dream_semaphore, stagger_offset,
};
pub use config::{COMPACT_MIN_RECLAIM_PERCENT, MIN_PRUNE_HISTORY_DAYS};
pub use config::{DreamConfig, DreamStats, PersistedDreamStats};
pub use dreamer::{AfterCycle, Dreamer};
pub use fading::{FadingMemory, FadingParams, detect_fading, rank_fading};
pub use helpers::extract_keywords;
pub(crate) use helpers::{MIN_KEYWORD_CHARS, normalize_keyword};
pub use kg_compact::{KgCompactReport, kg_compact_pass, kg_compact_pass_with_hook};
pub use semantic::{RoomConsolidationStats, consolidate_scoped};