Skip to main content

difflore_core/context/
mod.rs

1pub mod ann;
2pub mod assembler;
3pub mod embedding;
4pub mod index_db;
5pub mod intent_filter;
6pub mod orchestrator;
7pub mod retrieval;
8pub mod rule_render;
9pub mod rule_source;
10pub mod types;
11
12// Side-band embedding/vector-lane health probe. Re-exported at the
13// `context` level so both `crate::context::gather_embedding_diagnostics`
14// (difflore-core) and `difflore_core::context::gather_embedding_diagnostics`
15// (difflore-cli) resolve without reaching into `index_db`.
16pub use index_db::{
17    EmbeddingDiagnostics, gather_embedding_diagnostics, gather_embedding_diagnostics_with_activity,
18};
19
20// Default number of rules injected into context. Keep this aligned with
21// the local recall budget.
22pub const DEFAULT_TOP_K_RULES: usize = 3;