Skip to content

[Bug] Dreaming raw candidates pollute daily memory files (memory/YYYY-MM-DD.md) #70509

Description

@dylanpassey-hub

Problem Summary

The dreaming subsystem's fallback mechanism (triggered when subagent runtime is unavailable in cron/system-event context) dumps raw memory candidates into daily files alongside curated human-readable content.

This appears related to #68723 (which fixed the same issue for ), but the daily memory files remain affected.

Example Pollution

Our contains thousands of lines like:

assistant

Mixed between actual human-readable memory entries.

Impact

  • Daily memory files become unreadable (30K+ chars vs expected <5K curated content)
  • Raw candidate metadata (confidence scores, evidence paths, staging status) has no value for human recall
  • Duplicates content already stored in files
  • Makes it harder to distinguish actual memories from processing noise

Expected Behavior

Daily memory files () should contain only:

  • Curated human-readable summaries
  • Intentionally promoted memories
  • Actual conversation logs and events

Raw dreaming candidates should remain in directory only.

Environment

  • OpenClaw 2026.4.21
  • memory-core plugin with dreaming enabled (default)
  • macOS 15.x
  • Node 25.x

Suggested Fix

Apply the same filtering logic used for DREAMS.md (#68723) to daily memory file writes — skip raw candidate dumps when narrative generation falls back to request-scoped mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions