#WhatsApp group-guard

1 messages ยท Page 1 of 1 (latest)

gloomy bramble
#

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 doctor flags: "julie-group-guard is hook-only โ€” has not migrated to explicit capability registration"

Questions:

  1. Is the message_received hook stopping after reconnect a known issue? Is there a workaround?
  2. Would migrating to "capability registration" fix this?
  3. The same behavior affects message_sending โ€” confirmed on 2026.4.21, not yet retested on 2026.4.22

Thanks!