Repository navigation
Open
Labels
enhancementNew feature or request
Description
Frame
OpenClaw ships memory consolidation primitives (Active Memory, Dreaming with Light/Deep/REM phases, Dream Diary, scoring signals, scheduling). Basic Memory is the plain-text knowledge graph. We should make BM the substrate dreaming runs on — not a parallel system.
OpenClaw dreams. BM is what it dreams into.
Current State
- Active Memory ✅ — calls
memory_search/memory_get, already composited through this plugin to include BM. Aligned. - Dreaming ❌ — Deep phase appends to local
MEMORY.md; Dream Diary lives inDREAMS.md; phase signals in opaquememory/.dreams/*.json. Routes around BM.
Proposal
Redirect dreaming storage into BM via this plugin:
- Deep promotion →
write_notecreating/updating BM entities (with frontmatter, observations, relations to source daily notes) instead ofMEMORY.mdline appends - Dream Diary → BM notes under a
dreams/folder - Phase signals (frequency, relevance, query diversity, recency, consolidation, conceptual richness) → BM observations on the relevant entities
- Schemas for
DreamCandidate,Reflection,DreamDiaryEntry— promotion gates become schema validation + thresholds
Why
- One source of truth (BM), one query path (
memory_search), one set of skills (memory-reflect, memory-defrag, memory-ingest already write to BM) - Bidirectional plain-markdown memory consolidation — no competitor ships this
- Every OpenClaw + BM user gets a richer graph automatically
- Dreams aren't trapped in opaque JSON or single-file
MEMORY.md
Open Questions
- Does
memory-coreexpose hook points for storage backends, or are paths hardcoded? - If hardcoded: cleanest extension — config-level storage adapter, or this plugin overrides relevant methods?
- Schema location:
basic-memory-skillsor here? - Backfill: existing
MEMORY.md→ BM entities via one-shot ingest skill?
Next Steps
- Read
memory-coresource to find dreaming storage seams - Prototype: redirect deep-phase promotion to
write_notevia this plugin - Define schemas in
basic-memory-skills - Ship behind a config flag, dogfood for a week
- Blog post: "Why your AI's dreams should be in plain markdown"
Spec note: see specs/openclaw/dreaming-on-basic-memory in basic-memory-llc cloud project.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity