Record ratified vector-memory architecture in the roadmap

Design agreed with Federico (implementation still deferred): one general
multilingual embedder + one general vector engine cover any need, with
specialization above the index — sqlite-vec (KNN) + FTS5 (lexical) +
metadata columns in the existing SQLite behind the Store trait (hybrid
retrieval), carrying over to ArangoDB later. Directives are layered: an
always-on common knowledge-lifecycle core plus enable-able domain
guideline packs (user or agent, observably) that carry structured config
(categories, chunking, retrieval policy, tools), tie into per-session
copy-on-create settings, and never override the core.
This commit is contained in:
adm committed 2026-11-25 18:16:57 +01:00
1 parent fb9b822f58
commit b851fa3f34
1 file changed
+20
+20
View File
@@ -273,6 +273,26 @@ trait, fed by a small local multilingual embedding model run in-process. The
planned ArangoDB backend already offers vector indexes, so the same seam carries planned ArangoDB backend already offers vector indexes, so the same seam carries
over when the store is swapped. over when the store is swapped.
Agreed architecture (design ratified, implementation deferred):
- **One general engine + one general embedder.** A single multilingual,
domain-agnostic embedding model and a single vector engine must decently cover
any need; specialization lives *above* the index, never in a second engine or
model. Concretely: **sqlite-vec** (vector KNN) + **FTS5** (lexical) + metadata
columns inside the existing SQLite store behind the `Store` trait — hybrid
retrieval plus metadata filtering is what makes a general engine decent across
domains. The planned ArangoDB backend (documents + vectors + search) carries the
same seam over on swap.
- **Layered directives.** An always-on **common core** (knowledge lifecycle:
recall when relevant, record durable lessons, verify against current evidence,
one topic per memory, prune duplicates) plus **enable-able domain guideline
packs** (coding, research/docs, radio/logs, planning, …) that the user — or the
agent itself, observably — switches on per need. A pack is not just prose: it
carries structured config (categories/tags, chunking strategy, retrieval
filters/boosts, exposed tools) so the same general engine serves specialized
retrieval. Packs integrate with the per-session settings (copy-on-create) and
never override the core (core > pack).
## License and credits ## License and credits
MIT, like Strata itself. MIT, like Strata itself.