pub fn detect_overlaps(candidates: &mut [FoldCandidate]) -> HashMap<i64, i64>Expand description
Identify active facts that look like conceptual duplicates or overlaps of another active fact so the Memory UI can highlight them for review without mutating or losing distinct constraints automatically.
Returns lower_priority_id -> representative_id (authority order: highest
source_rank, then pinned, then most recalled, then oldest id).