← Back to library

WhatsApp 接入优先用 opt-in message store 做审计与检索

该变更强调“默认不存、显式启用”的消息存储策略,适合需要会话检索但又要控制隐私风险的团队。

GITHUBDiscovered 2026-02-12Author 0xmemo-claw
Prerequisites
  • WhatsApp channel is already connected and legal/privacy policy allows scoped retention.
  • You have a retention policy (duration, access role, deletion flow).
Steps
  1. Enable message store in opt-in mode only for workflows requiring search or audit.
  2. Tag stored conversations by purpose and apply minimum retention window.
  3. Restrict read permissions to support/ops roles and log every retrieval action.
  4. Add scheduled purge job and test right-to-delete request path.
Commands
openclaw gateway status
openclaw help
git log --oneline -n 5
Verify

Search works only for opted-in conversations, and expired records are removed on schedule.

Caveats
  • Storage schema and retention hooks can differ by deployment backend(需验证).
  • Do not enable blanket retention for all chats by default.
Source attribution

This tip is aggregated from community/public sources and preserved with attribution.

Open original source ↗
Visit original post