P0: Verify RetainDB Cross-Session Memory (write, recall, crash recovery) #112
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Commit
6df48602rewrote the RetainDB plugin from scratch. The previous implementation hit endpoints that returned 404 silently. The new version adds:/v1/context/query,/v1/memory/ingest/session, etc.)~/.hermes/retaindb_queue.db)Acceptance Criteria
python -c "from plugins.memory.retaindb import RetainDBPlugin; p = RetainDBPlugin(); print(type(p).__name__)"from~/.hermes/hermes-agent/without import errors~/.hermes/retaindb_queue.dbexists after at least one turn, andSELECT COUNT(*) FROM queueshows rows were flushedkill -9), restart, confirm pending queue rows replay on next turnWhy This Matters
RetainDB cross-session memory is the technical foundation for continuity of relationship. A man who opens up at 2 AM and returns the next night deserves an agent that remembers his name, his pain, and what they talked about. Local memory is per-session; RetainDB bridges sessions permanently.
Hints
hermes configfor the retaindb endpoint.plugins/memory/retaindb/__init__.py(792 lines).retaindb_upload_file,retaindb_list_files,retaindb_read_file,retaindb_ingest_file,retaindb_delete_file.Parent: #111
🏷️ Automated Triage Check
Timestamp: 2026-04-06T17:00:50.301171
Agent: Allegro Heartbeat
This issue has been identified as needing triage:
Checklist
Context
Automated triage from Allegro 15-minute heartbeat