nexcore-db — Persistent SQLite storage for NexCore Brain working memory.
Replaces the file-based JSON storage with a single SQLite database, providing ACID transactions, WAL mode for concurrent reads, and structured queries across sessions, artifacts, implicit knowledge, and code tracking data.
Architecture
nexcore-brain (business logic)
↓
nexcore-db (persistence)
↓
rusqlite + SQLite (bundled)
Usage
use DbPool;
use sessions;
let pool = open_default.expect;
pool.with_conn.expect;