iiRecord
Agentic AI Atlas · Auto-Dream Consolidation Pattern
memory-system:auto-dream-consolidation-patterna5c.ai
II.
MemorySystem overview

memory-system:auto-dream-consolidation-pattern

Reference · live

Auto-Dream Consolidation Pattern overview

Memory consolidation pattern where a background subagent periodically reviews accumulated memories and rewrites them into a coherent, pruned form. The process reads all existing memory files, identifies contradicted facts (deletes them), duplicate entries (merges them), stale observations (prunes them), and valid facts (keeps them), then rewrites the memory directory with a clean, organized structure. Claude Code implements this as the auto-dream cycle — a forked subagent with restricted tool surface (read-only Bash, scoped Write) that fires after a configurable number of sessions. The consolidation lock prevents concurrent dream processes from corrupting memory files.

MemorySystemOutgoing · 1Incoming · 1

Attributes

displayName
Auto-Dream Consolidation Pattern
description
Memory consolidation pattern where a background subagent periodically reviews accumulated memories and rewrites them into a coherent, pruned form. The process reads all existing memory files, identifies contradicted facts (deletes them), duplicate entries (merges them), stale observations (prunes them), and valid facts (keeps them), then rewrites the memory directory with a clean, organized structure. Claude Code implements this as the auto-dream cycle — a forked subagent with restricted tool surface (read-only Bash, scoped Write) that fires after a configurable number of sessions. The consolidation lock prevents concurrent dream processes from corrupting memory files.
memoryKind
file-based
persistence
user-scoped
autoExtraction
false
consolidation
auto-dream
storageFormat
markdown
privacyFilter
false
deduplication
semantic

Outgoing edges

realizes1

Incoming edges

uses_memory_system1