Built 26/04/17 09:08commit f8ff6f9
Claude Code Auto Dream Memory Consolidation
中文 | English
Summary
This source describes Claude Code's "Auto Dream" memory-consolidation pass: a periodic background workflow that resolves contradictions, converts relative dates to absolute ones, prunes stale notes, and keeps the index file short enough to stay loadable.
Source
- Raw file: raw/anthropic/Claude Code Dreams Anthropic's New Memory Feature.md
- Translated raw file: raw/anthropic/Claude Code Dreams Anthropic's New Memory Feature.zh.md
- Original URL: https://claudefa.st/blog/guide/mechanics/auto-dream
- Published: 2026-04-08
- Ingest date: 2026-04-09
Key Contributions
- Breaks maintenance into four phases: orient, gather signal, consolidate, and prune/index.
- Treats contradiction repair, stale-entry deletion, and absolute dating as core memory-maintenance operations.
- Keeps the index (
MEMORY.md) intentionally small so it stays cheap to load at startup. - Uses narrow transcript search instead of exhaustive rereads to control cost during maintenance passes.
Strongest Claims
- Long-lived agent memory decays unless it is periodically consolidated.
- Index files should stay compact and link outward rather than trying to become full dumps.
- Maintenance passes should fix contradictions at the source rather than only layering more notes on top.