Overview
Enhance the Legacy (ChromaDB + RAG) memory backend by extracting and reusing Neo4j hybrid retrieval components (RRF, cross-encoder rerank, confidence gate) while preserving Legacy recall strengths observed on LoCoMo (63.7% overall F1 vs Neo4j 55.5%).
Problem
- Legacy
scope_all lacks cross-encoder rerank and retrieval confidence gating.
- Ingest uses coarse session chunks without atomic facts, entity index, or ingest-time invalidation.
- Priming and
search_memory use divergent ranking paths.
Approach
Split into 10 child issues (Wave 1–3):
- C1: Shared retrieval module extraction (
core/memory/retrieval/)
- C2: Legacy cross-encoder rerank integration
- C3: Retrieval confidence gate (adversarial abstention)
- C4: Atomic fact extraction + bi-temporal metadata
- C5: Entity index + search-time boost
- C6: Ingest-time contradiction / valid_until
- C7: Priming ↔ search unification
- C8: Rule-based query expansion
- C9: Access-count LTP boost in rerank
- C10: LoCoMo Legacy regression smoke harness
Acceptance Criteria
Full specification: docs/issues/20260522_legacy-memory-enhancement-epic.md (local)
Overview
Enhance the Legacy (ChromaDB + RAG) memory backend by extracting and reusing Neo4j hybrid retrieval components (RRF, cross-encoder rerank, confidence gate) while preserving Legacy recall strengths observed on LoCoMo (63.7% overall F1 vs Neo4j 55.5%).
Problem
scope_alllacks cross-encoder rerank and retrieval confidence gating.search_memoryuse divergent ranking paths.Approach
Split into 10 child issues (Wave 1–3):
core/memory/retrieval/)Acceptance Criteria
Full specification:
docs/issues/20260522_legacy-memory-enhancement-epic.md(local)