Problem
The health check shows No consolidation history, meaning memory extraction has never run. Consolidation only fires via on_thread_close() in api/routes/threads.py. If the desktop UI never explicitly closes threads (e.g., user just creates new ones), consolidation never triggers and the memory store stays permanently empty.
Evidence
Agent trace from 2026-03-31: recall_memory returned nothing for a term the user expected to be remembered. Health check confirmed zero consolidation runs ever.
Investigation needed
- Verify whether the desktop app calls the thread close endpoint
- Consider auto-closing threads on inactivity (e.g., after N minutes idle)
- Consider triggering consolidation on thread switch, not just explicit close
Files
apps/server/src/anima_server/api/routes/threads.py (lines 76-82, 131-137)
apps/server/src/anima_server/services/agent/eager_consolidation.py
Problem
The health check shows
No consolidation history, meaning memory extraction has never run. Consolidation only fires viaon_thread_close()inapi/routes/threads.py. If the desktop UI never explicitly closes threads (e.g., user just creates new ones), consolidation never triggers and the memory store stays permanently empty.Evidence
Agent trace from 2026-03-31:
recall_memoryreturned nothing for a term the user expected to be remembered. Health check confirmed zero consolidation runs ever.Investigation needed
Files
apps/server/src/anima_server/api/routes/threads.py(lines 76-82, 131-137)apps/server/src/anima_server/services/agent/eager_consolidation.py