-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Description
Bug type
Behavior bug (incorrect output/state without crash)
Summary
The session-memory hook is not triggered when using the /new command in Feishu channel, but it works correctly when using the same command in WebUI. This results in session context not being saved to memory files with the expected date-slug format.
Steps to reproduce
- Connect OpenClaw to Feishu with session-memory hook enabled
- Have a conversation in Feishu
- Issue the
/newcommand in Feishu - Check the
~/.openclaw/workspace/memory/directory - no new memory file is created - Compare with WebUI: when
/newis used in WebUI, a memory file like2026-03-02-vendor-pitch.mdis created
Expected behavior
When /new command is issued in Feishu, the session-memory hook should be triggered and save the previous session context to a memory file with date-slug format, just like it does in WebUI.
Actual behavior
When /new command is issued in Feishu, the session-memory hook does not work. There is no new memory file in ~/.openclaw/workspace/memory/ directory
OpenClaw version
2026.2.24
Operating system
Ubuntu 24.04
Install method
npm
Logs, screenshots, and evidence
N/AImpact and severity
- Affected channels: feishu
- Frequency: Always
Additional information
Installation Status**
- Session-memory hook: ready (bundled with OpenClaw)
- Feishu channel: configured and enabled,bundled with OpenClaw
Important clarification: The /new command does execute correctly in Feishu - it successfully creates a new session and resets the conversation. The issue is specifically that the session-memory hook is not triggered during this process, so the previous session context is not saved to memory.