Skip to content
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

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.