Description
After running nemoclaw test333 channels remove whatsapp and completing the rebuild, the WhatsApp channel continues to function — the AI agent still receives and responds to incoming WhatsApp DMs. Three cleanup steps are missing: policy preset removal, Baileys session teardown, and durable state directory cleanup.
Environment
Device: MacBook Pro (Apple Silicon)
OS: macOS 26.0.1 (Darwin 25.0.0, arm64)
Architecture: arm64
Node.js: v22.22.1
npm: 10.9.4
Docker: 29.2.1
OpenShell CLI: 0.0.39
NemoClaw: v0.0.48
OpenClaw: 2026.4.24 (cbcfdf6)
Steps to Reproduce
nemoclaw onboard --name test333 (complete onboard with NVIDIA Cloud API)
nemoclaw test333 channels add whatsapp (add WhatsApp channel, answer y to rebuild)
nemoclaw test333 connect → openclaw channels login --channel whatsapp (complete QR pairing, confirm channels status shows connected)
- Exit sandbox
nemoclaw test333 channels remove whatsapp (answer y to rebuild)
cat ~/.nemoclaw/sandboxes.json | python3 -c "import json,sys; d=json.load(sys.stdin); print(d['sandboxes']['test333']['messagingChannels'])"
nemoclaw test333 policy-list
nemoclaw test333 connect → openclaw channels status
- Send a WhatsApp DM to the paired phone number
Expected Result
- Step 6:
messagingChannels = [] (channel unregistered)
- Step 7: whatsapp preset absent from policy-list (symmetric with
channels add which auto-applies it)
- Step 8: No WhatsApp channel shown in
openclaw channels status
- Step 9: No AI response — channel fully deactivated after removal
Actual Result
- Step 6:
messagingChannels = [] — registry cleared correctly
- Step 7: whatsapp preset STILL ACTIVE in policy-list (
● whatsapp shown)
- Step 8: No WhatsApp channel listed in
openclaw channels status (misleading — appears removed)
- Step 9: AI agent STILL REPLIES to WhatsApp DMs — channel is fully functional despite removal
Logs
Post-rebuild log from nemoclaw test333 logs shows Baileys reconnecting:
ALLOWED /usr/local/bin/node(390) -> raw.githubusercontent.com:443 [policy:whatsapp engine:opa]
ALLOWED GET http://raw.githubusercontent.com:443/WhiskeySockets/Baileys/master/src/Defaults/index.ts [policy:whatsapp engine:l7]
ALLOWED /usr/local/bin/node(390) -> web.whatsapp.com:443 [policy:whatsapp engine:opa]
Rebuild output also confirms whatsapp preset reapplied during [8/8] Policy presets:
[resume] Reapplying policy presets: npm, pypi, huggingface, brew, whatsapp
Widening sandbox egress — adding: web.whatsapp.com, *.web.whatsapp.com, whatsapp.net, *.whatsapp.net, raw.githubusercontent.com
Applied preset: whatsapp
NVB#6200345
Description
After running
nemoclaw test333 channels remove whatsappand completing the rebuild, the WhatsApp channel continues to function — the AI agent still receives and responds to incoming WhatsApp DMs. Three cleanup steps are missing: policy preset removal, Baileys session teardown, and durable state directory cleanup.Environment
Steps to Reproduce
nemoclaw onboard --name test333(complete onboard with NVIDIA Cloud API)nemoclaw test333 channels add whatsapp(add WhatsApp channel, answer y to rebuild)nemoclaw test333 connect→openclaw channels login --channel whatsapp(complete QR pairing, confirm channels status shows connected)nemoclaw test333 channels remove whatsapp(answer y to rebuild)cat ~/.nemoclaw/sandboxes.json | python3 -c "import json,sys; d=json.load(sys.stdin); print(d['sandboxes']['test333']['messagingChannels'])"nemoclaw test333 policy-listnemoclaw test333 connect→openclaw channels statusExpected Result
messagingChannels=[](channel unregistered)channels addwhich auto-applies it)openclaw channels statusActual Result
messagingChannels=[]— registry cleared correctly● whatsappshown)openclaw channels status(misleading — appears removed)Logs
Post-rebuild log from
nemoclaw test333 logsshows Baileys reconnecting:Rebuild output also confirms whatsapp preset reapplied during [8/8] Policy presets:
NVB#6200345