brainwires-storage 0.9.0

Backend-agnostic storage, tiered memory, and document management for the Brainwires Agent Framework
Documentation
//! Domain stores for conversation, message, task, plan, and other data persistence.
//!
//! ## Architecture
//!
//! Stores are backend-agnostic via the
//! [`StorageBackend`](crate::databases::traits::StorageBackend) trait.
//! The default backend is [`LanceDatabase`](crate::databases::lance::LanceDatabase).

// ── Domain stores ───────────────────────────────────────────────────────

/// Conversation metadata storage.
#[cfg(feature = "native")]
pub mod conversation_store;
/// Cold-tier key fact storage with vector search.
#[cfg(feature = "native")]
pub mod fact_store;
/// Image analysis storage with semantic search.
#[cfg(feature = "native")]
pub mod image_store;
/// Cross-process lock coordination (SQLite-backed).
#[cfg(feature = "native")]
pub mod lock_store;
/// Mental-model tier — synthesised agent beliefs about patterns.
#[cfg(feature = "native")]
pub mod mental_model_store;
/// Message storage with vector search (hot tier).
#[cfg(feature = "native")]
pub mod message_store;
/// Execution plan storage with markdown export.
#[cfg(feature = "native")]
pub mod plan_store;
/// Warm-tier compressed summary storage with vector search.
#[cfg(feature = "native")]
pub mod summary_store;
/// Task and agent state persistence.
#[cfg(feature = "native")]
pub mod task_store;
/// Tier assignment metadata tracking.
#[cfg(feature = "native")]
pub mod tier_metadata_store;

// ── Always available ────────────────────────────────────────────────────

/// Reusable plan template storage (pure logic, no DB dependency).
pub mod template_store;