II.
MemorySystem overview
Reference · livememory-system:auto-dream-consolidation-pattern
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.
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
- layer:12-knowledge-fabric·LayerKnowledge Fabric
Incoming edges
uses_memory_system1
- agent-version:babysitter@current·AgentVersion