Summary
Consolidation safety fix: high-value mistake notes no longer vanish during scheduled consolidation passes.
What's Changed
Fixed
- [#853] Mistake-notes survive consolidation:
_is_protected_memory()inconsolidation/base.pynow shields memories withmemory_type='mistake'andfailure_count >= 3from decay and forgetting passes. Error-replay records that have been marked as significant failures are never eligible for archival or removal by the consolidation scheduler. Closes #853. (PR #854)
Tests
10 new tests in tests/consolidation/test_mistake_lifecycle.py cover the full lifecycle: creation, protection at threshold, decay immunity, forgetting immunity, and boundary conditions. Total test count: ~1,813.
Special Thanks
Thanks to @filhocf for the consolidation safety fix (PR #854) — a surgical, well-tested contribution that directly addresses a real data-loss edge case for agents relying on mistake-note replay.
Full Changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md#10494---2026-05-05