docs: memory plan (sqlite+faiss)

This commit is contained in:
Χγφτ Kompanion 2025-10-13 00:07:53 +13:00
parent 0abb798aac
commit 45a6540cc4
1 changed files with 5 additions and 0 deletions

5
docs/MEMORY.md Normal file
View File

@ -0,0 +1,5 @@
# 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