openclaw - 💡(How to fix) Fix memory-core / active-memory: Bundled plugin dirName crash on Slack thread session keys containing colons

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

memory-core (and/or active-memory) crashes with Error: Bundled plugin dirName must be a single directory when processing Slack thread session keys that contain colons (:) in the directory name component.

Error Message

lane task error: lane=main durationMs=233 error="Error: Bundled plugin dirName must be a single directory: c0ahbfy1kam:thread:1778994536.784089"
lane task error: lane=session:agent:main:slack:channel:c0ahbfy1kam:thread:1778994536.784089:active-memory:acfa4d4d0a2f durationMs=235 error="Error: Bundled plugin dirName must be a single directory: c0ahbfy1kam:thread:1778994536.784089"

Root Cause

memory-core (and/or active-memory) crashes with Error: Bundled plugin dirName must be a single directory when processing Slack thread session keys that contain colons (:) in the directory name component.

Code Example

lane task error: lane=main durationMs=233 error="Error: Bundled plugin dirName must be a single directory: c0ahbfy1kam:thread:1778994536.784089"
lane task error: lane=session:agent:main:slack:channel:c0ahbfy1kam:thread:1778994536.784089:active-memory:acfa4d4d0a2f durationMs=235 error="Error: Bundled plugin dirName must be a single directory: c0ahbfy1kam:thread:1778994536.784089"
RAW_BUFFERClick to expand / collapse

Summary

memory-core (and/or active-memory) crashes with Error: Bundled plugin dirName must be a single directory when processing Slack thread session keys that contain colons (:) in the directory name component.

Reproduction

  1. Enable memory-core and active-memory plugins
  2. Receive a message in a Slack thread
  3. Session key is generated as e.g. agent:main:slack:channel:c0ahbfy1kam:thread:1778994536.784089
  4. The plugin attempts to use part of this key as a directory name
  5. Crash: Error: Bundled plugin dirName must be a single directory: c0ahbfy1kam:thread:1778994536.784089

Logs

lane task error: lane=main durationMs=233 error="Error: Bundled plugin dirName must be a single directory: c0ahbfy1kam:thread:1778994536.784089"
lane task error: lane=session:agent:main:slack:channel:c0ahbfy1kam:thread:1778994536.784089:active-memory:acfa4d4d0a2f durationMs=235 error="Error: Bundled plugin dirName must be a single directory: c0ahbfy1kam:thread:1778994536.784089"

Impact

  • The agent receives the Slack message and bootstraps a session, but the lane crashes after ~230ms
  • The agent cannot reply to any Slack thread — only top-level channel messages work
  • Gateway restart clears stale sessions but the bug recurs on the next threaded message

Environment

  • OpenClaw 2026.5.2
  • Plugins: memory-core (enabled), active-memory (enabled), openclaw-oap (enabled)
  • Channel: Slack (socket mode)
  • macOS arm64, Node v22.22.2

Expected Behavior

Session keys containing colons should be sanitized (e.g. replacing : with _ or -) before being used as directory names in plugin internals.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING