v0.2.1 — Memory Store Reliability
v0.2.1 strengthens Mnemon Memory's SQLite maintenance paths without changing the CLI or public command structure.
Memory reliability
- Auto-prune now records one
pruneoplog entry for every soft-deleted insight, including the active count and configured capacity. - Repairs the legacy
edgestable migration so schema detection works with foreign-key enforcement enabled. - Allows the edge-table rebuild to complete when recovered stores contain orphaned edges, preserving those edges verbatim instead of silently deleting them.
- Makes the migration probe rollback-only and collision-resistant, so failed migrations cannot leave probe rows behind or remove real edges whose IDs resemble the old sentinel.
Existing stores already using the current four-edge schema are unchanged. For legacy stores whose constraint still permits the obsolete narrative edge type, the migration applies the existing four-graph policy: narrative edges are removed while all other edges are retained.
Internal maintenance
- Groups Memory and Agency implementation packages under explicit domain boundaries. This structural change does not alter CLI commands, wire protocols, state paths, or host integrations.
Release artifacts are available for macOS and Linux on amd64 and arm64.
Install
brew install --cask mnemon-dev/tap/mnemon
# or
go install github.com/mnemon-dev/mnemon@v0.2.1Full changelog: v0.2.0...v0.2.1
中文摘要
v0.2.1 聚焦 Memory SQLite 存储可靠性:自动裁剪现在会逐条写入 oplog;旧版 edges 表迁移可在启用外键及存在孤立边的情况下安全完成,并避免探针残留或误删真实数据。本版本同时整理了 Memory / Agency 的内部包边界,不改变 CLI、协议或状态路径。