Problem
The WeChat OpenClaw channel does not handle slash commands (e.g. /reset, /status). We set CommandBody: rawBody but are missing:
hasControlCommand() — detect if a message is a control command
resolveControlCommandGate() — authorization check for who can run commands
CommandAuthorized flag in the inbound context payload
BodyForCommands field
Without CommandAuthorized: true, OpenClaw ignores slash commands from incoming messages.
Reference
BlueBubbles extension (monitor.ts) has a full implementation of command gating with access group support. WhatsApp likely similar.
Tasks
Problem
The WeChat OpenClaw channel does not handle slash commands (e.g.
/reset,/status). We setCommandBody: rawBodybut are missing:hasControlCommand()— detect if a message is a control commandresolveControlCommandGate()— authorization check for who can run commandsCommandAuthorizedflag in the inbound context payloadBodyForCommandsfieldWithout
CommandAuthorized: true, OpenClaw ignores slash commands from incoming messages.Reference
BlueBubbles extension (
monitor.ts) has a full implementation of command gating with access group support. WhatsApp likely similar.Tasks
hasControlCommandcheck before dispatchresolveControlCommandGatefor group authorizationCommandAuthorizedandBodyForCommandsin context payload