|
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 |
|---|
|
|
| docs/memory.md |
|---|
| navi/core/compressor.py |
|---|
| navi/core/context_builder.py |
|---|
| navi/core/pg_session_store.py |
|---|
| navi/memory/_chunks.py |
|---|
| navi/memory/_embeddings.py |
|---|
| navi/memory/_facts.py |
|---|
| navi/memory/search.py |
|---|
| tests/unit/core/test_agent.py |
|---|
| tests/unit/core/test_compression_breadcrumbs.py |
|---|
| tests/unit/core/test_pg_session_store.py |
|---|
| tests/unit/memory/test_chunks.py |
|---|
| tests/unit/memory/test_memory_search.py |
|---|
| tests/unit/memory/test_store.py |
|---|