@membook/spec@0.1.0
Minor Changes
-
53af5f5Thanks @hiranofficial! - Initial pre-release of the Memfile standard and the storage engine.@membook/specdefines the format: Zod schema, anchor grammar, deterministic
serialization, and a validator that fails loudly on read and on write.
Provenance is discriminated so that every field's presence is meaningful — a
source_hashappears only when a real artifact stands behind it, and a
human-authored memory cannot express anagentormodelit never had.@membook/coreimplements storage: file CRUD, a derived SQLite + FTS5 index
with pinned assumptions, andreindex. Files are the truth; the database is a
cache, rebuilt deterministically from them.Neither package is published yet.
Patch Changes
-
18c69efThanks @hiranofficial! - Add@membook/mcp, the stdio MCP server:recall,remember, and
session_digest. It spawns per session and exits — no daemon.Retrieval is now hybrid and deliberately conservative. Relevance gates;
path proximity, recency and verification status only modulate it, so nothing
that fails on relevance can be rescued by being fresh or nearby. Results are
capped and floored, and when everything relevant is stale the caller is told
that rather than handed silence.spec: a memory only needs averifiedtimestamp when its status is
verified. A memory createdunverifiedwhose anchored code then changes
becomesstalehaving never been verified, and that must be representable
without inventing a timestamp.