Skip to main content

Module sqlite_store

Module sqlite_store 

Source

Structs§

IndexableMemory
OutboxRow
SqliteStore
Every write (via with_txn or a direct execute) goes through writer, the single connection WAL reserves for the one process-wide writer. Reads go through readers: a pool of separate connections in file-backed mode, or the same connection as the writer for in_memory, where a second connection would just see an empty, unrelated database.

Enums§

RetireOutcome
Store-side shape the index drainer consumes; body is context + content, the same text the embedding was computed over.

Constants§

BASELINE_VERSION
The user_version of a store created by schema.sql alone, before any ladder step. Stores that old carry no schema_migrations table.
SCHEMA_VERSION
Derived from the ladder length, not hand-maintained: bumping the schema means appending to MIGRATIONS, never editing a version number here.
TRAVERSE_MAX_RESULTS
Cap on what one traverse call returns. The walk also stops expanding after TRAVERSE_MAX_WALK (id, depth) pairs, because a hub entity can connect one memory to tens of thousands and the context pack that asks only shows a handful.