Ship lighter isolated runtimes, richer Books and Mastery flows,
Reading/session polish, and explicit model API capabilities.
Release notes: assets/releases/ver1-6-4.md
preferences.md is never auto-consolidated, so a repeated identical
write_memory add persisted forever as a duplicate — common in long,
tool-driven mastery turns. write_preference now short-circuits a
duplicate add to a no-op that reports the existing entry, and the tool
returns an explicit 'already saved' signal to the model.
Replaces the flat single-blob memory page with a structured store:
- L1 captures raw run traces; L2 holds normalized document records;
L3 holds curated slots per surface (chat, notebook, book, TutorBot).
- New consolidator pipeline (chunker, guards, parse, references, runs,
modes, line-doc, meta) turns traces into versioned line-oriented
documents with stable ids and snapshot history.
- Per-user isolation flows through PathService; the store API is
stateless.
UI ships a dedicated /memory workbench with graph / L1 / L2 / L3 /
resolve subpages, plus a reusable MemorySection embedded where the
legacy panel lived.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>