-
-
Notifications
You must be signed in to change notification settings - Fork 79.2k
[Regression]: message tool not exposed to weixin agent despite being in alsoAllow since 2026.5.16-beta.3 #82833
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm 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.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm 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.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
The
messagetool is no longer exposed to theweixinagent after upgrading from 2026.5.16-beta.2 to 2026.5.16-beta.3, despitetools.alsoAllow: ["message"]being explicitly configured.Steps to reproduce
weixinagent with"tools": { "alsoAllow": ["cron", "read", "exec", "web_search", "web_fetch", "memory_get", "memory_search", "message"] }in openclaw.json.openclaw-weixinchannel (WeChat IM bot).messagetool (e.g., send an audio attachment generated by a TTS skill).messagetool is not present in the available tool list — onlyread,exec, andsession_statusare provided.Expected behavior
In 2026.5.16-beta.2, the
messagetool was available to the agent and could send media attachments (audio files) successfully to the WeChat session.Actual behavior
In 2026.5.16-beta.3, the
messagetool is absent from the agent's tool list. The agent only receivesread,exec, andsession_status. CLIopenclaw message send --dry-runproduces the correct payload, but actual delivery fails (weixin not configured) because the CLI lacks the IM bot's login session.OpenClaw version
2026.5.16-beta.3
Operating system
Linux 6.8.0-106-generic (x64) — Ubuntu (VM)
Install method
npm global
Model
ali/qwen3.6-plus (with fallback to ali/glm-5)
Provider / routing chain
openclaw-weixin -> gateway -> ali (DashScope) -> qwen3.6-plus
Additional provider/model setup details
Configured models: ali/qwen3.6-plus (primary for this session), ali/glm-5 (default).
The weixin agent has sandbox mode set to "all" with workspaceAccess "none".
Tools deny list: ["write", "edit", "apply_patch", "process", "browser", "canvas", "gateway", "nodes", "tts", "video_generate", "sessions_list", "sessions_send", "sessions_spawn", "sessions_history"].
Logs, screenshots, and evidence
Impact and severity
Affected: weixin agent users relying on the
messagetool for outbound delivery (audio attachments, scheduled notifications, etc.)Severity: High — blocks any workflow that requires the agent to proactively send messages or media outside the current reply turn
Frequency: Always — reproduced on every agent turn since upgrading to beta.3
Consequence: TTS voice messages, outbound notifications, and file sharing via the agent are non-functional; CLI workaround is not viable because the IM bot session is not accessible from CLI.
Additional information
Last known good: 2026.5.16-beta.2
First known bad: 2026.5.16-beta.3
The release notes for beta.2 and beta.3 do not mention any changes to message tool registration or sandbox tool filtering. The regression appears to be an internal Gateway-side change that was not documented.
Possible related change in beta.3's changelog: "Gateway/agents: abort active embedded runs when diagnostics detect a stale native tool call, preventing nested agent sessions from staying deadlocked through restart recovery. Fixes #81976. (#82369)" — though this may be unrelated.
Sandbox config: mode "all", scope "agent", workspaceAccess "none". The regression may be related to stricter sandbox tool filtering introduced in beta.3.