pub fn init_schema(conn: &Connection) -> Result<()>Expand description
Initialize the SQLite schema (idempotent). Safe to call on every open. Adds three tables:
memory_threads— registry of threads we’ve ever observedmemory_stage1_outputs— one row per (thread, run) LLM extractionmemory_jobs— per-project consolidation queue (with lease)