Skip to main content

sc/storage/
mod.rs

1//! SQLite storage layer for SaveContext.
2//!
3//! This module provides the persistence layer using SQLite with:
4//! - WAL mode for concurrent reads
5//! - Transaction discipline for atomic writes
6//! - Dirty tracking for JSONL export
7//! - Audit events for history
8//!
9//! # Submodules
10//!
11//! - [`events`] - Audit event storage
12//! - [`schema`] - Database schema definitions
13//! - [`sqlite`] - Main SQLite storage implementation
14
15pub mod events;
16pub mod migrations;
17pub mod schema;
18pub mod sqlite;
19
20pub use sqlite::{
21    BackfillStats, Checkpoint, ContextItem, Issue, Memory, MutationContext, ProjectCounts,
22    SemanticSearchResult, Session, SqliteStorage,
23};