-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Feature]: Support ignoreOtherMentions config option for Slack channels #89625
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestNew feature or requestimpact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestNew feature or requestimpact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
Add ignoreOtherMentions support for Slack channels (parity with Discord).
Problem to solve
Currently, Discord supports
ignoreOtherMentions, which allows the bot to ignore messages that mention someone else (unless the bot is mentioned as well). Slack does not have this; 'requireMention: false' makes the bot respond to all messages, and there's no way to avoid over-responding in conversations with multiple people mentioned unless everyone uses explicit mention.Proposed solution
Implement the
ignoreOtherMentionsconfig key for Slack channels. When set, the bot should skip messages that mention other users (or user groups, as detected by Slack message formatting) but do not mention the bot itself. Behavior/config should match Discord for maintainability and user expectations.Alternatives considered
Manual filtering by users (always explicitly @mentioning OpenClaw, never mentioning others) is error-prone and inconsistent. Hardcoding requireMention: true disables ambient responses, which is not desired. No workaround for the same effect in shared channels.
Impact
Affected: Teams using Slack channels with OpenClaw
Severity: Annoying to severe (causes accidental auto-replies in busy channels, can create notification spam or confusion)
Frequency: Frequent in multi-user team channels
Consequence: Extra noise and accidental bot responses, harder to keep conversations relevant when people mention each other directly.
Evidence/examples
See implementation and docs for ignoreOtherMentions for Discord:
Additional information
No response