difflore-core 0.1.0

Core library for the difflore CLI — rule store, retrieval, MCP server, hooks, cloud sync. Not intended for direct use; depend on `difflore-cli` instead.
Documentation
pub mod ann;
pub mod assembler;
pub mod embedding;
pub mod index_db;
pub mod intent_filter;
pub mod orchestrator;
pub mod retrieval;
pub mod rule_render;
pub mod rule_source;
pub mod types;

// Side-band embedding/vector-lane health probe. Re-exported at the
// `context` level so both `crate::context::gather_embedding_diagnostics`
// (difflore-core) and `difflore_core::context::gather_embedding_diagnostics`
// (difflore-cli) resolve without reaching into `index_db`.
pub use index_db::{
    EmbeddingDiagnostics, gather_embedding_diagnostics, gather_embedding_diagnostics_with_activity,
};

// Default number of rules injected into context. Keep this aligned with
// the local recall budget.
pub const DEFAULT_TOP_K_RULES: usize = 3;