Skip to content

[Bug]: memory-core plugin: Missing idempotencyKey property causes REM dreaming to fail #64003

@visionzhang-prog

Description

@visionzhang-prog

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Bug Description

The memory-core plugin's dreaming/REM feature throws an error when generating dream narratives because it is missing the idempotencyKey property.

Environment

  • OpenClaw version: 2026.4.9
  • Plugin: memory-core (built-in)
  • Platform: Windows_NT 10.0.17763
  • Node.js version: (22.22)

Error Message

Steps to reproduce

  1. Ensure memory-core dreaming feature is enabled in openclaw.json
  2. Wait for scheduled dreaming cron (default: 03:00 Asia/Shanghai)
  3. Observe error in Gateway logs

Expected behavior

The dreaming feature should generate REM narratives and write them to memory files without errors.

Actual behavior

  • This bug has been observed across multiple versions (4.8, 4.9)
  • The feature worked correctly before; this regression appeared in recent updates
  • Dreaming/REM is useful for automatic memory organization and should remain enabled

OpenClaw version

4.9

Operating system

win2019 data center

Install method

npm global

Model

minimax 2.7 hight speed

Provider / routing chain

minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions