Repository navigation
Description
Summary
channels.<provider>.ackReactionScope: "all" does not actually ack all inbound messages. A hardcoded !isRoomEvent gate in message-handler.process suppresses ack reactions for any inbound classified as room_event, even though the scope explicitly says "all".
This contradicts the schema description for ackReactionScope, which advertises "all" as unconditional.
Version
OpenClaw 2026.5.26 (10ad3aa)
Repro
- Set Discord ack reaction config:
"channels": { "discord": { "ackReaction": "✨", "accounts": { "samantha": { "ackReaction": "✨" } } } }, "messages": { "ackReactionScope": "all", "groupChat": { "unmentionedInbound": "room_event" } }
- Restart gateway, confirm config applied via
openclaw config get. - Post a message in a guild thread/subthread where the bot is already participating, without @-mentioning the bot.
- Bot responds normally (autoThread context keeps the conversation alive).
- Expected: ack reaction (
✨) appears on the user's message. - Actual: no reaction.
messages.reactionsis[]for the user message.
Manual reactions via message(action=reactionAdd) work fine — the issue is specifically the auto-ack code path.
Root cause
dist/message-handler.process-LhrhAUW3.js:904-905:
const isRoomEvent = ctx.inboundEventKind === "room_event";
const shouldAckReaction$1 = () => Boolean(!isRoomEvent && ackReaction && shouldAckReaction({
scope: ackReactionScope,
isDirect: isDirectMessage,
...
}));The !isRoomEvent short-circuit runs before shouldAckReaction(...), so scope: "all" never gets a chance to override it. The shouldAckReaction helper in ack-reactions.ts correctly returns true for scope "all", but the outer expression masks that.
Because messages.groupChat.unmentionedInbound: "room_event" is a legitimate, documented configuration (quiet always-on listening), inbound thread messages without an explicit @-mention are classified as room_event — and ack reactions get silently dropped.
Why it matters
ackReactionScopeschema help text says"all"= "always send the ack reaction" — users expect literally all messages.- Manual reactions work, so the bot clearly has permission and the emoji is valid; the suppression is purely in the gate logic.
- There is no
unmentionedInboundoverride at account / guild / channel level, so users can't selectively re-enable ack in a single thread.
Proposed fix
Two viable options:
Option A (preferred) — Make scope "all" truly bypass isRoomEvent:
const isRoomEvent = ctx.inboundEventKind === "room_event";
const ackForcedAll = ackReactionScope === "all";
const shouldAckReaction$1 = () => Boolean((ackForcedAll || !isRoomEvent) && ackReaction && shouldAckReaction({ ... }));Option B — Add an explicit override flag:
"messages": {
"ackReactionScope": "all",
"ackReactionOnRoomEvent": true
}Option A is cleaner since the contradiction is already in the doc/contract of "all".
Workaround for users today
@-mention the bot in the thread → classified as user_request → ack fires.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon May 27, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 21, 2026, 1:46 AM ET / 05:46 UTC.
Summary
Keep open: current main and v2026.6.9 still suppress configured room-event ack reactions under
messages.ackReactionScope: "all", and #87433 is the active linked fix path.Reproducibility: yes. Source inspection shows current main gates Discord and Telegram room-event ack reactions before the shared
allscope can apply, and current Discord/Slack/Telegram tests encode room-event reaction silence underall.Root-cause cluster
Relationship:
canonicalCanonical: #87368
Summary: This issue is the canonical report for the ackReactionScope/room_event conflict; the open linked PR is the active candidate fix, while dynamic ack emoji work is adjacent but distinct.
Members:
fixed_by_candidate: [codex] Honor all ack scope for room events #87433 - The PR uses closing syntax for this issue and changes the same Discord, Slack, and Telegram ack-room-event behavior.adjacent_distinct: Feature: configurable/dynamic ack reaction emojis #8508 - That issue concerns configurable or dynamic ack emoji choice, not room-event suppression for the existingallscope.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
No new repair lane: the open linked PR owns the implementation path and this issue should remain the canonical tracker until that path lands or is replaced.
Review details
Best possible solution:
Land #87433 or a maintainer-owned replacement after policy acceptance, matching runtime/tests/docs, and real transport proof; otherwise explicitly document that room events remain reaction-silent.
Do we have a high-confidence way to reproduce the issue?
Yes. Source inspection shows current main gates Discord and Telegram room-event ack reactions before the shared
allscope can apply, and current Discord/Slack/Telegram tests encode room-event reaction silence underall.Is this the best way to solve the issue?
Unclear. Honoring
allfor room events is mechanically plausible and already proposed, but it changes the quiet ambient-room contract across sibling chat plugins, so the linked PR needs maintainer policy acceptance and proof before this issue closes.AGENTS.md: found and applied where relevant.
Remaining risk / open question:
messages.ackReactionScope: "all"may start seeing ack reactions in rooms that were previously reaction-silent.Codex review notes: model internal, reasoning high; reviewed against 4b2298e8cbcb.
Label changes
Label justifications:
P2: This is a normal-priority channel/config semantics bug with limited blast radius, not a core outage.impact:message-loss: The reported symptom is a configured channel acknowledgement reaction being suppressed for an inbound room event.Evidence reviewed
What I checked:
isRoomEventand requires!isRoomEventbefore calling the shared ack-reaction helper, so Discord room events cannot send the configured ack even when scope isall. (extensions/discord/src/monitor/message-handler.process.ts:269, 4b2298e8cbcb)shouldAckReactionhelper returns true forscope === "all", supporting the mismatch between the generic scope contract and channel-level room-event gates. (src/channels/ack-reactions.ts:38, 4b2298e8cbcb)ackReactionScope: "all"and explicit status reactions enabled. (extensions/discord/src/monitor/message-handler.process.test.ts:1629, 4b2298e8cbcb)canShowStatusReaction = ctxPayload.InboundEventKind !== "room_event"inside the plain ack decision, soallcannot send a Telegram room-event ack on current main either. (extensions/telegram/src/bot-message-context.ts:559, 4b2298e8cbcb)ackReactionScope: "all", showing the linked fix is cross-channel policy work rather than a Discord-only typo. (extensions/slack/src/monitor/message-handler/prepare.test.ts:820, 4b2298e8cbcb)!isRoomEventack gate and matching room-event suppression tests, so the issue is not shipped-fixed. (extensions/discord/src/monitor/message-handler.process.ts:269, c645ec4555c0)Likely related people:
src/channels/ack-reactions.ts,docs/channels/ambient-room-events.md)extensions/discord/src/monitor/message-handler.process.ts,extensions/slack/src/monitor/message-handler/prepare.ts,extensions/telegram/src/bot-message-context.ts)extensions/discord/src/monitor/message-handler.process.ts,extensions/slack/src/monitor/message-handler/dispatch.ts)extensions/discord/src/monitor/message-handler.process.ts)extensions/. (role: candidate fix author and prior channel mover; confidence: medium; commits: 9b8098341fbb, 5682ec37fada, 8746362f5ebf; files:extensions/discord/src/monitor/message-handler.process.ts,extensions/slack/src/monitor/message-handler/prepare.ts,extensions/telegram/src/bot-message-context.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.WarrenJones commentedon May 27, 2026