You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feishu group messages receive replies=0 after upgrading to 2026.5.3 #77666
After upgrading to OpenClaw 2026.5.3, Feishu group chat messages are received by the agent but no reply is sent back to Feishu.
Symptoms
Group message received → dispatch complete replies=0
Direct messages work fine (replies=2, replies=4)
Agent generates reply (confirmed via session file) but Feishu channel receives nothing
Downgrading to 2026.5.2 resolves the issue
Log excerpt
feishu[default]: received message from ou_xxx in oc_208152848b7fc8ba24219cad05c915d1 (group)
feishu[default]: dispatching to agent (session=agent:main:feishu:group:oc_208152848b7fc8ba24219cad05c915d1)
feishu[default]: dispatch complete (queuedFinal=false, replies=0)
Configuration
OpenClaw: 2026.5.3 (reproduced)
Feishu: WebSocket mode, requireMention: false, groupPolicy: open
Thanks for the context here. I did a careful shell check against current main, and this is already implemented.
The Feishu group queuedFinal=false, replies=0 regression is fixed on current main and shipped: normal group replies default back to automatic delivery, and the merged Feishu fallback repair covers accepted turns that complete without visible output.
So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review details
Best possible solution:
Keep the shipped v2026.6.1+ implementation and route any new Feishu replies=0 reports by their specific current surface, such as the separate open P2P/DM report, rather than keeping this 2026.5.3 group default regression open.
Do we have a high-confidence way to reproduce the issue?
Yes. The issue and follow-up comments give a concrete 2026.5.x regression path, and current source/tests show the implicated delivery-mode suppression and Feishu no-visible fallback behavior that now prevents the reported group silence class.
Is this the best way to solve the issue?
Yes. The implemented fix is the maintainable owner-boundary solution: shared code restores automatic normal group delivery and exposes dispatch metadata, while Feishu owns the channel-specific no-visible fallback instead of rereading transcripts or bypassing policy.
Security review:
Security review: This is an issue cleanup review without a patch diff, so no patch security review applies.
AGENTS.md: found and applied where relevant.
What I checked:
Current source: group replies no longer default to suppression: Current main resolves normal group/channel source replies to automatic unless messages.groupChat.visibleReplies or global messages.visibleReplies explicitly requests message_tool; this matches the workaround that restored replies for affected users. (src/auto-reply/reply/source-reply-delivery-mode.ts:91, a189baa4b344)
Current source: Feishu no-visible fallback gate: Feishu now calls ensureNoVisibleReplyFallback after a dispatched turn settles with no queued/counted visible final reply, while excluding policy-denied or intentional message-tool-only turns. (extensions/feishu/src/bot.ts:1851, a189baa4b344)
GitHub provenance: merged Feishu fallback PR: The related PR merged as 7c15c27 on 2026-05-31T20:33:14Z and its branch commits added the fallback, empty streaming/card close coverage, and active broadcast zero-final coverage discussed in this issue. (7c15c2765ebb)
Git history provenance: merge commit details: The merge commit subject is fix(feishu): fallback when accepted turns send no visible reply (#87896), tying the current Feishu fallback implementation to the merged repair line referenced in the issue comments. (7c15c2765ebb)
Release provenance: first stable release contains the fix: GitHub compare reports v2026.6.1 is ahead of 7c15c27 with that merge commit as the merge base, so the fix is included in the published v2026.6.1 stable release and later releases. (7c15c2765ebb)
Likely related people:
ArthurNie: Provided the production Feishu no-visible-reply context and authored the original PR branch commit that added fallback behavior for accepted turns with no visible output. (role: incident reporter and source implementation author; confidence: medium; commits: 7b14e4d82408, 7c15c2765ebb; files: extensions/feishu/src/bot.ts, extensions/feishu/src/reply-dispatcher.ts, src/auto-reply/reply/dispatch-from-config.ts)
steipete: Authored the follow-up commits that covered the remaining functional gaps noted in the issue comments and merged the Feishu fallback PR. (role: recent repair contributor and merger; confidence: high; commits: 15876911b608, 7834e3e987a3, 7c15c2765ebb; files: extensions/feishu/src/bot.ts, extensions/feishu/src/bot.broadcast.test.ts, extensions/feishu/src/reply-dispatcher.ts)
vincentkoc: Current local blame in this grafted checkout attributes the Feishu fallback predicate and source-reply resolver lines to the current snapshot commit, so this is a weak but useful routing signal for adjacent current-main questions. (role: recent area contributor in current-main snapshot; confidence: low; commits: ae8da992ce; files: extensions/feishu/src/bot.ts, src/auto-reply/reply/source-reply-delivery-mode.ts)
Confirming this is still hitting users on 2026.5.4 + @larksuite/openclaw-lark@2026.4.10 + @martian-engineering/lossless-claw@0.9.4.
Reproduce
Feishu group with mention required, bot @-mentioned
Gateway logs dispatching to agent → ~20s later dispatch complete (queuedFinal=false, replies=0, effectiveReplies=0, sidePathSatisfied=false, sidePathSends=0)
Session trajectory shows the agent did emit a clean text-only final assistant turn (e.g. "收到。")
Feishu API confirms zero bot messages in the group
Same bot, same gateway: P2P (DM) chat works perfectly — queuedFinal=true, replies=1, reply visible
Even /new system command in the same group reports delivered=false — dispatchSystemCommand also relies on the SDK deliver callback, which message_tool_only mode suppresses for groups
After systemctl --user restart openclaw-gateway, group dispatches resume: dispatch complete (queuedFinal=true, replies=1), bot reply visible in Feishu API.
Suggestions
The 5.3 default change has high blast radius for existing Feishu deployments where operators don't see the new docs page. Two cheap mitigations:
Startup warning when messages.groupChat.visibleReplies is unset AND a Feishu/Slack/Discord plugin is enabled — point operators at the migration doc
Per-channel migration default — preserve the 5.2 visible-replies default for installations that upgraded from <5.3, only apply the new message_tool_only default to fresh installs
Diagnosis took several hours because the symptom (replies=0, no transport error in gateway log) is indistinguishable from a real reply-pipeline bug. A clearer diagnostic like dispatch suppressed by visibleReplies=message_tool (chatType=group) at the suppression site would have saved the trip.
Reacted by kongym1234, Mashiro, BugWriter2 and Zhe (Phil) Yang
The current blocker on #87896 is not missing proof; it is still functional coverage:
empty streaming/card closes should not count as visible output before actual content is sent;
active broadcast zero-final dispatches need to call the no-visible-reply fallback too.
Until those paths are fixed and accepted, Feishu group/direct messages that end with replies=0 remain a live regression class, especially for group/channel surfaces. Please keep this open as the group-message tracking issue rather than letting stale automation close it.
Activity
clawsweeper commentedon May 5, 2026
Thanks for the context here. I did a careful shell check against current
main, and this is already implemented.The Feishu group
queuedFinal=false, replies=0regression is fixed on current main and shipped: normal group replies default back to automatic delivery, and the merged Feishu fallback repair covers accepted turns that complete without visible output.I found the merged PR that appears to have closed this: #87896: fix(feishu): fallback when accepted turns send no visible reply.
So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review details
Best possible solution:
Keep the shipped v2026.6.1+ implementation and route any new Feishu
replies=0reports by their specific current surface, such as the separate open P2P/DM report, rather than keeping this 2026.5.3 group default regression open.Do we have a high-confidence way to reproduce the issue?
Yes. The issue and follow-up comments give a concrete 2026.5.x regression path, and current source/tests show the implicated delivery-mode suppression and Feishu no-visible fallback behavior that now prevents the reported group silence class.
Is this the best way to solve the issue?
Yes. The implemented fix is the maintainable owner-boundary solution: shared code restores automatic normal group delivery and exposes dispatch metadata, while Feishu owns the channel-specific no-visible fallback instead of rereading transcripts or bypassing policy.
Security review:
Security review: This is an issue cleanup review without a patch diff, so no patch security review applies.
AGENTS.md: found and applied where relevant.
What I checked:
automaticunlessmessages.groupChat.visibleRepliesor globalmessages.visibleRepliesexplicitly requestsmessage_tool; this matches the workaround that restored replies for affected users. (src/auto-reply/reply/source-reply-delivery-mode.ts:91, a189baa4b344)src/auto-reply/reply/source-reply-delivery-mode.test.ts:397, a189baa4b344)ensureNoVisibleReplyFallbackafter a dispatched turn settles with no queued/counted visible final reply, while excluding policy-denied or intentional message-tool-only turns. (extensions/feishu/src/bot.ts:1851, a189baa4b344)fix(feishu): fallback when accepted turns send no visible reply (#87896), tying the current Feishu fallback implementation to the merged repair line referenced in the issue comments. (7c15c2765ebb)Likely related people:
extensions/feishu/src/bot.ts,extensions/feishu/src/reply-dispatcher.ts,src/auto-reply/reply/dispatch-from-config.ts)extensions/feishu/src/bot.ts,extensions/feishu/src/bot.broadcast.test.ts,extensions/feishu/src/reply-dispatcher.ts)extensions/feishu/src/bot.ts,src/auto-reply/reply/source-reply-delivery-mode.ts)Codex review notes: model internal, reasoning high; reviewed against a189baa4b344; fix evidence: merged PR #87896, release v2026.6.1, commit 7c15c2765ebb.
ArthurNie commentedon May 5, 2026
Confirming this is still hitting users on 2026.5.4 + @larksuite/openclaw-lark@2026.4.10 + @martian-engineering/lossless-claw@0.9.4.
Reproduce
dispatching to agent→ ~20s laterdispatch complete (queuedFinal=false, replies=0, effectiveReplies=0, sidePathSatisfied=false, sidePathSends=0)"收到。")queuedFinal=true, replies=1, reply visible/newsystem command in the same group reportsdelivered=false—dispatchSystemCommandalso relies on the SDK deliver callback, whichmessage_tool_onlymode suppresses for groupsWorkaround (verified working on 5.4)
After
systemctl --user restart openclaw-gateway, group dispatches resume:dispatch complete (queuedFinal=true, replies=1), bot reply visible in Feishu API.Suggestions
The 5.3 default change has high blast radius for existing Feishu deployments where operators don't see the new docs page. Two cheap mitigations:
messages.groupChat.visibleRepliesis unset AND a Feishu/Slack/Discord plugin is enabled — point operators at the migration docmessage_tool_onlydefault to fresh installsDiagnosis took several hours because the symptom (
replies=0, no transport error in gateway log) is indistinguishable from a real reply-pipeline bug. A clearer diagnostic likedispatch suppressed by visibleReplies=message_tool (chatType=group)at the suppression site would have saved the trip.yangzhe1991 commentedon May 13, 2026
Still existing this issue in 2026.5.7, @ArthurNie 's workaround is still working in 5.7
openclaw-barnacle commentedon May 31, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
ArthurNie commentedon May 31, 2026
Still relevant; please do not stale-close.
This issue is part of the same active Feishu delivery-integrity line as:
fix(feishu): fallback when accepted turns send no visible reply)replies=0)The current blocker on #87896 is not missing proof; it is still functional coverage:
Until those paths are fixed and accepted, Feishu group/direct messages that end with
replies=0remain a live regression class, especially for group/channel surfaces. Please keep this open as the group-message tracking issue rather than letting stale automation close it.