{"version":"2.1.94","anchor":"memory-dream-mode-background-pruning-consolidation","canonical_anchor":"memory-dream-mode-background-pruning-consolidation","heading":"Memory Dream Mode (Background Pruning & Consolidation)","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.94\/e\/memory-dream-mode-background-pruning-consolidation","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.94","markdown":"### Memory Dream Mode (Background Pruning & Consolidation)\n\n**What**\n\nNew \"Dream\" system that automatically prunes and consolidates memory files in the background between sessions.\n\n**Details**\n\n- Two dream modes:\n- Pruning: \"delete stale or invalidated memories, and collapse duplicates\"\n- Consolidation: \"synthesize what you've learned recently into durable, well-organized memories\"\n- User setting: `autoDreamEnabled` (boolean) \u2014 \"Enable background memory consolidation (auto-dream). When set, overrides the server-side default.\"\n- Default thresholds: minimum 24 hours and 5 sessions between dreams (configurable via server flag)\n- Memory files are treated as immutable \u2014 combining means deleting old files and writing fresh single-fact replacements\n- Tool constraints during dream: Bash restricted to read-only commands plus `rm` for `.md` files inside the memory directory\n- Existing `autoDreamEnabled` setting existed in v2.1.92 but the Dream prompts and pruning\/consolidation logic are new\n\n**Evidence**\n\nDream instructions (search for `\"Dream: Memory Pruning\"`, `\"autoDreamEnabled\"`, `\"tengu_onyx_plover\"`)\n\n- Flag `tengu_onyx_plover`: Not enough to say (read for one account on one subscription tier against v2.1.94; this account: no value returned, anonymous baseline: no value returned, compiled default: no gate table built for this version) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release."}