Module storage

Module storage 

Source
Expand description

Storage layer: SQLite-backed object store and file store. Port of Go’s pkg/wstore and pkg/filestore.

Re-exports§

pub use error::StoreError;
pub use wstore::AgentDefinition;
pub use wstore::AgentContent;
pub use wstore::AgentHistory;
pub use wstore::AgentSkill;

Modules§

agents_consolidate
Phase 3a — one-shot backfill from db_agent_definitions + db_agent_instances into the new consolidated db_agents table.
error
Error types for the storage layer.
filestore
FileStore: file storage with write-through cache + background flusher. Port of Go’s pkg/filestore/blockstore.go, blockstore_cache.go, blockstore_dbops.go.
migrations
SQL schema setup for WaveStore, FileStore, and the saga log.
wstore
WaveStore: generic OID-based CRUD for WaveObj types. Port of Go’s pkg/wstore/wstore_dbops.go + wstore_dbsetup.go.