Skip to content

fix: route active thread replies to the last active bot#173

Merged
LIU9293 merged 3 commits intomainfrom
feat/active-thread-last-bot-177224
Feb 28, 2026
Merged

fix: route active thread replies to the last active bot#173
LIU9293 merged 3 commits intomainfrom
feat/active-thread-last-bot-177224

Conversation

@LIU9293
Copy link
Contributor

@LIU9293 LIU9293 commented Feb 28, 2026

Summary

  • Scope thread active-state routing to the current bot identity by tracking lastActivityBotId in sessions.
  • Remove the multi-bot hard mention requirement so active replies without @bot follow the last active bot in the thread.
  • Update Slack/Lark/Discord inbound paths plus shared inbound decision types/tests to match the new routing behavior.

Testing

  • bun test packages/ims/slack/message-router.test.ts
  • bun test packages/ims/shared/incoming-message-processor.test.ts
  • bun test packages/core/test/session-retention.test.ts

@LIU9293 LIU9293 merged commit 4946912 into main Feb 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant