Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
Dreaming is the background memory consolidation system in
memory-coreDreaming keeps two kinds of output:
memory/.dreams/DREAMS.mddreams.mdmemory/dreaming/<phase>/YYYY-MM-DD.mdLong-term promotion still writes only to
MEMORY.mdDreaming uses three cooperative phases:
| Phase | Purpose | Durable write |
|---|---|---|
| Light | Sort and stage recent short-term material | No |
| Deep | Score and promote durable candidates | Yes ( text MEMORY.md |
| REM | Reflect on themes and recurring ideas | No |
These phases are internal implementation details, not separate user-configured "modes."
Dreaming can ingest redacted session transcripts into the dreaming corpus. When transcripts are available, they are fed into the light phase alongside daily memory signals and recall traces. Personal and sensitive content is redacted before ingestion.
Dreaming also keeps a narrative Dream Diary in
DREAMS.mdmemory-coredreaming.modelThere is also a grounded historical backfill lane for review and recovery work:
The Control UI exposes the same diary backfill/reset flow so you can inspect results in the Dreams scene before deciding whether the grounded candidates deserve promotion. The Scene also shows a distinct grounded lane so you can see which staged short-term entries came from historical replay, which promoted items were grounded-led, and clear only grounded-only staged entries without touching ordinary live short-term state.
Deep ranking uses six weighted base signals plus phase reinforcement:
| Signal | Weight | Description |
|---|---|---|
| Frequency | 0.24 | How many short-term signals the entry accumulated |
| Relevance | 0.30 | Average retrieval quality for the entry |
| Query diversity | 0.15 | Distinct query/day contexts that surfaced it |
| Recency | 0.15 | Time-decayed freshness score |
| Consolidation | 0.10 | Multi-day recurrence strength |
| Conceptual richness | 0.06 | Concept-tag density from snippet/path |
Light and REM phase hits add a small recency-decayed boost from
memory/.dreams/phase-signals.jsonWhen enabled,
memory-coreDefault cadence behavior:
| Setting | Default |
|---|---|
text dreaming.frequency | text 0 3 * * * |
text dreaming.model | default model |
text/dreaming status /dreaming on /dreaming off /dreaming help
textManual `memory promote` uses deep-phase thresholds by default unless overridden with CLI flags.
text```bash} openclaw memory promote-explain "router vlan" openclaw memory promote-explain "router vlan" --json ```
text```bash} openclaw memory rem-harness openclaw memory rem-harness --json ```
All settings live under
plugins.entries.memory-core.config.dreamingWhen enabled, the Gateway Dreams tab shows:
doctor.memory.dreamDiary© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine