Skip to content

[Bug] Dreaming creates redundant sessions in session list after sweep #66358

Description

@xunx33

Bug Description

After enabling Dreaming (memory-core plugin), each sleep cycle creates session entries (e.g. dreaming-narrative-light-, dreaming-narrative-rem-) that persist in the session list indefinitely instead of being cleaned up.

Expected Behavior

  • Dreaming sessions should be auto-cleaned after each sweep completes
  • Session list should not accumulate redundant entries over time

Steps to Reproduce

  1. Enable Dreaming via plugins.entries.memory-core.config.dreaming.enabled: true
  2. Wait for a scheduled Dreaming sweep (default 3 AM)
  3. Check session list in Control UI — redundant dreaming sessions appear and remain

Environment

  • Version: 2026.4.12 (1c0672b)
  • OS: Windows 11 x64
  • Plugin: memory-core with Dreaming enabled

Additional Context

The redundant sessions do not affect normal conversation functionality. The issue is that the session list becomes polluted with stale Dreaming sessions after each sweep cycle.

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