memory: fix review findings in unified search
- index each compression-dropped turn once: messages and context share
  objects, and earlier drops stay in the display history
- label raw excerpts against facts even when recall asks for scope=raw
- top up short vector results from the lexical index (NULL embeddings)
- count whole content words only and cap query terms at 12
- carry source_session_id on fact hits
- cap injected_chunk_ids at 100 entries
- keep a session delete successful when chunk cleanup fails
- stop logging query text in the memory paths
- stop fabricating similarity scores for recent chunks
- consult session_messages_archive in latest_summary_at
1 parent 23e7107 commit 1c4462b58a16e95a8a1d848242e316e1bccab6c2
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 19 hours ago
Showing 14 changed files
View
docs/memory.md
View
navi/core/compressor.py
View
navi/core/context_builder.py
View
navi/core/pg_session_store.py
View
navi/memory/_chunks.py
View
navi/memory/_embeddings.py
View
navi/memory/_facts.py
View
navi/memory/search.py
View
tests/unit/core/test_agent.py
View
tests/unit/core/test_compression_breadcrumbs.py
View
tests/unit/core/test_pg_session_store.py
View
tests/unit/memory/test_chunks.py
View
tests/unit/memory/test_memory_search.py
View
tests/unit/memory/test_store.py