Memory Plan (sqlite + FAISS)
- sqlite: embeddings.db with tables: chunks(id, file, sha, lineno, text, ts), vectors(id, dim, data BLOB)
- faiss: faiss.index for fast ANN; sqlite is source of truth
- provenance mandatory; ripgrep is canonical text source
- journal is never overwritten; only append