Memory
Memory
Persistent, searchable state that outlives the process. Structured enough for graph traversal; flat enough for grep.
Components shipped today
- SQLite + FTS5 lattice (3.A) —
internal/memory/SqliteStore. Schema migrations, fire-and-forget worker, lexical search. - Ontological graph (3.B) — entities, relationships, LLM-assisted extractor with dead-letter queue.
- Neural recall (3.C) — 2-layer seed selection, CTE traversal,
<memory-context>fence injection matching Hermes’sbuild_memory_context_block. - USER.md mirror (3.D.5) — async export of entity/relationship graph to human-readable Markdown. Gormes-original; no upstream equivalent.
Still in flight
- Semantic fusion (3.D) — Ollama embeddings + cosine similarity. Spec approved.
Why this is not just “chat logs”
Chat logs are append-only. Memory has schema. You query it, derive from it, inject it back into the context window. The SQLite + FTS5 combination gives you ACID durability and full-text search in a single ~100 KB binary dependency.
See Phase 3 for the full sub-status.