v2.46.0 — Fact Ledger + schema-bound memory
Structured memory maintenance: the LLM judges, the schema constrains, the code stores.
- memory.facts: Fact Ledger — durable facts as diff-applied records in the pinned facts.md note (always injected, searchable).
- Rollup v2: rolling digest / evergreen as schema-bound JSON rendered by code; assistant-style replies can no longer overwrite memory.
- llm_client: response_format on create_message; APIResponse.structured (Claude Code CLI --json-schema native enforcement).
- MEMORY_ENGINE_SYSTEM_PROMPT for host memory calls.
Live-verified with claude CLI 2.1.185; 4504 tests.