# openclaw · Memory maintenance

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [openclaw](https://ai-agents-review.com/runtime/openclaw.md)
- Column: [Memory maintenance](https://ai-agents-review.com/column/memory-maintenance.md) (Evidence and memory)
- Mark: 4 s
- Default deployment: 4
- Best supported configuration: 4
- Page: https://ai-agents-review.com/cell/openclaw/memory-maintenance

## Rationale

Default nightly dreaming merges/supersedes with 25% loss guard; flush exhausted after 3 failures; versioned skill restore

## Rubric criteria for this column

- 0: No learned-memory facility
- 1: Memory is files or notes that the agent edits with ordinary tools, prompted by instructions only
- 2: Dedicated memory tools or store (write, recall, forget), but no consolidation process
- 3: A consolidation process exists (background or idle job that merges, archives or supersedes), on by default **or** opt-in
- 4: Level 3 on by default, plus failure handling (retry or backoff, or a recorded failure state) **and** a correction path (versioning or restore, loss guard)

## Review finding

On by default through memory-core and skill-workshop. Pre-compaction note flush. Nightly LLM "dreaming" merges and supersedes MEMORY.md entries, with a 25% loss guard and an append-only fallback. Background skill review, daily archiving of unused skills, versioned restore. Failures are skipped [E70][E71][E72][E73][E74]. Note E-6.

## Evidence cited by the mark

- [E71] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/memory-host-sdk/dreaming.ts#L22-L42 — dreaming cron `0 3 * * *`, promotion thresholds, 25% max loss (enabled defaults true at :281-336) — [S]
- [E72] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/extensions/memory-core/src/dreaming-consolidation.ts#L21-L30 — LLM returns add/merge/supersede operations; host writes entries — [S]
- [E74] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/auto-reply/reply/memory-flush-outcome.ts#L55-L90 — flush exhausted after 3 consecutive failures — [S]

## Evidence also cited by the review finding

- [E70] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/extensions/memory-core/src/flush-plan.ts#L13-L58 — pre-compaction flush trigger; append to `memory/YYYY-MM-DD.md` — [S]
- [E73] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/extensions/skill-workshop/src/config.ts#L24-L35 — skill-workshop autonomous mode default "auto" — [S]

## Grading record

- Grader A (default / best): 4 / 4
- Grader B (default / best): 4 / 4
