I have a persistent bug in my julie-group-guard plugin, built in TypeScript using the OpenClaw plugin-sdk.
Problem:
The message_received hook works fine on the first clean startup, but stops firing completely after any WhatsApp reconnect โ whether triggered by a watchdog, manual restart, or automatic reconnection.
Evidence:
- Tested on OpenClaw 2026.4.21 and 2026.4.22 โ bug present in both versions
- Startup log confirms the plugin loads correctly:
ready (2 plugins: julie-group-guard, whatsapp) - Today 379 messages arrived in mapped groups โ zero plugin log entries
- No errors, no crashes โ the hook simply stops being called after reconnect
openclaw doctorflags: "julie-group-guard is hook-only โ has not migrated to explicit capability registration"
Questions:
- Is the
message_receivedhook stopping after reconnect a known issue? Is there a workaround? - Would migrating to "capability registration" fix this?
- The same behavior affects
message_sendingโ confirmed on 2026.4.21, not yet retested on 2026.4.22
Thanks!