Skip to main content

Module provider

Module provider 

Source
Expand description

SqliteMemoryProvider — the v1 Phase 0 backing storage.

This implementation is the foundation the full Memory & Context Manager subsystem (cellar-memory-manager.md Phase 1+) fills in. Phase 0 ships:

  • Real open that loads sqlite-vec, runs migrations, holds the connection.
  • Real write / get / stats / purge_all.
  • Err(NotImplemented) for retrieval, summarization, rollups, re-embed, maintenance methods — these need the hybrid retrieval pipeline and the summarizer LLM client which are Phase 1+ work.

The provider is Send + Sync and behind an Arc<dyn MemoryProvider> — identical surface to BasicMemoryProvider so the daemon’s wire_subsystems() swap is one line.

Structs§

SqliteMemoryProvider
SQLite-backed MemoryProvider.