MemKraft 3.0.0
MemKraft 3.0.0
MemKraft 3.0 finalizes the local-first lifecycle-computed memory model: canonical events and compiled truth, provenance-aware budgeted context products, deterministic sleep planning and repair, outcome-linked utility learning, governance controls, and Memory Gym release gates.
Highlights
- Canonical append-only events, deterministic timeline/truth views, and lifecycle replay coverage.
compile_context(...)with citations, hard token budget enforcement, and outcome-linked reranking.- Sleep lifecycle planning/journaling with idempotent retry repair, plus
forget,do_not_remember, export, and audit controls. - Fail-closed tombstone and deny-policy propagation across export, timeline, truth, context, and search.
- Public API compatibility shims: legacy search aliases keep working with
DeprecationWarning; canonicalsearch(mode=...)avoids internal warning noise. - Python 3.9 grammar/CI coverage, Windows-safe locking, isolated Python 3.12 build compatibility, and wheel metadata parity checks.
Migration and compatibility
- 3.0 is additive and read-compatible with 2.13.x.
- Lifecycle state is lazy-created under
.memkraft/; derived views are rebuildable. - No destructive schema migration or rewrite of existing memory files is required.
- Tombstones prevent governed retrieval but are not physical deletion from storage/backups.
- Sleep multi-file operations are not globally atomic; interrupted operations are repaired by retry.
Verification
- GitHub Actions: Python 3.9/3.12 full test + all Memory Gym gates, optional
watch/scheduleextras, and fresh-wheel metadata smoke all passed. - Full local suite: 1,878 passed, 3 skipped.
- sdist/wheel build and
twine checkpassed. - Fresh PyPI install,
doctor, CLI track/search round-trip passed.