Context Interference Between Different Users/Sessions on Feishu Integration
Pre-checks
- [x] I have searched existing issues and this is not a duplicate.
Deployment Method
Docker
Steps to Reproduce
- Connect the Agent to Feishu via the Clawith platform.
- Trigger a meeting notification task in a new session on Clawith.
- As an end-user on Feishu, reply to or interact with the Agent.
- Observed Behavior: The Agent brings up details from past meeting notifications or previous user conversations that should have been cleared.
Expected vs Actual Behavior
I am experiencing an issue where the Agent retains or "remembers" context from previous interactions with users or prior meeting notifications when integrated with Feishu. Even after creating a new conversation on the Clawith platform to send a meeting notification, the Agent frequently references or gets confused by the context of previous meeting notifications when interacting with the end-user.
Logs / Screenshots
No response
Thank you for reporting this issue, @zhaoyvli.
This appears to be a session/context management problem in the Feishu integration. The agent seems to be retaining conversation context across different users or sessions, which should be isolated.
To help us investigate this issue, could you please provide:
- Deployment details: Docker version, Clawith version
- Frequency: Does this happen consistently or intermittently?
- Session isolation: Are you using different Clawith agent instances for different notification tasks?
- Logs: Any relevant logs from the Clawith platform or agent runtime when this occurs
We'll prioritize investigating this context leakage issue. Thanks for the detailed report!
Deployed using Docker, v1.8.1
+1
Fixed in commit 56bef0f (PR #184): Stabilize WeCom channel state and session isolation (the same fix applies to Feishu session isolation).
Root cause: The channel handler was not properly scoping conversation context per user/session. When a new Clawith session sent a meeting notification, the Feishu integration was mixing that context with the existing user conversation history.
Fix: Each channel conversation now gets a unique conv_id keyed by the external user/group identifier, ensuring complete session isolation between different users and triggered sessions.