pub async fn detect_conflicts(
db: &MenteDb,
config: &Option<ExtractionConfig>,
) -> usizeExpand description
Detect genuine contradictions and supersessions among stored memories via the configured LLM, recording them as the typed edges the Conflicts view shows. Unlike the old cosine-similarity heuristic (removed for ~0% precision), the judge reads both texts. No-op when no LLM is configured. Async because the LLM calls are; call it outside the sweep’s blocking pool.