//! Local Episteme integration for Aphoria.
//!
//! Provides a simplified interface to the local Episteme instance for:
//! - Ingesting assertions from extracted claims
//! - Querying for conflicts with authoritative sources
//! - Managing the authoritative corpus
//! - Auto-creating aliases when conflicts are detected (Phase 2A.3)

mod aliases;
mod concept_index;
mod conflict;
mod corpus;
mod drift;
mod ephemeral;
mod helpers;
mod local;

#[cfg(test)]
mod tests;

// Re-export public types and functions to maintain existing API
pub use concept_index::ConceptIndex;
pub use corpus::{
    create_authoritative_assertion, create_authoritative_corpus, current_timestamp,
    current_timestamp_millis,
};
pub use ephemeral::EphemeralDetector;
pub use local::LocalEpisteme;

// Re-export for tests
#[cfg(test)]
pub use conflict::compute_conflict_score;
