feat(slack): sticky thread routing — bypass @mention in active threads#28902
Closed
sourman wants to merge 5 commits intoopenclaw:mainfrom
Closed
feat(slack): sticky thread routing — bypass @mention in active threads#28902sourman wants to merge 5 commits intoopenclaw:mainfrom
sourman wants to merge 5 commits intoopenclaw:mainfrom
Conversation
4 tasks
When a user has recently interacted in a Slack thread, route follow-up messages directly to the bot without requiring an @mention. This reduces friction in ongoing conversations by tracking thread activity with a configurable TTL (stickyThreadTtlMs). Adds a new sticky-threads module, config schema fields, and integration into the monitor message pipeline. Closes openclaw#16133 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ype replyToMode DM threads were being recorded in the sticky store even though implicitMention already guards DMs. Additionally, the monitor resolved replyToMode once at startup ignoring per-chat-type overrides (replyToModeByChatType.direct / dm.replyToMode). - Add !prepared.isDirectMessage guard to sticky thread recording - Resolve replyToMode per chat type in prepare.ts, pass through PreparedSlackMessage so dispatch.ts uses the effective value - Use prepared.replyToMode instead of ctx.replyToMode in dispatch.ts for thread targets, reply plan, and sticky recording - Fix test fixture to include top-level replyToMode on account Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Cleaned up duplicate imports that were accidentally left during the merge conflict resolution. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
These new properties were added to SlackMonitorContext but tests were not updated to include them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3d1cc7d to
566cf97
Compare
20 tasks
Contributor
Author
|
Addressed in #29067 - session-based sticky routing + context bloat fixes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.