Anthropic deployed Auto Dream to address memory decay in Claude Code after 20+ sessions. The background sub-agent runs a four-phase consolidation cycle to merge duplicates, resolve contradictions, and convert relative dates - keeping the 200-line memory index functional. Developers reverse-engineered it before official docs appeared.

Anthropic Adds Auto Dream to Claude Code for Memory Cleanup
Anthropic began rolling out Auto Dream, a background sub-agent that consolidates Claude Code's memory files between sessions. The four-phase cycle fixes duplicates, stale dates, and contradictions that degraded auto-memory quality after 20+ sessions. The system prompt is already public on GitHub.