feat: add mention pattern policies#87200
Conversation
Applied from PR openclaw#70864 by patrick-slimelab openclaw#70864 Adds configurable mention-pattern gating at global, agent, and provider/channel levels with allow/deny modes and conversation-id scoping.
|
Codex review: needs real behavior proof before merge. Reviewed May 29, 2026, 1:14 AM ET / 05:14 UTC. Summary Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Review detailsBest possible solution: Retry the Codex review after fixing the execution failure. Do we have a high-confidence way to reproduce the issue? Unclear. The review failed before ClawSweeper could establish a reproduction path. Is this the best way to solve the issue? Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model gpt-5.5, reasoning high; reviewed against 1188aa3b81ef. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
This comment was marked as spam.
This comment was marked as spam.
|
Closing this as a duplicate of #70864. #70864 is the canonical branch for this work: it keeps the original implementation lineage, allows maintainer edits, and has now been refreshed onto current Local verification after the refresh:
Thanks for carrying the rebase attempt forward; we will continue review/merge from #70864 so the duplicate policy work stays in one PR. |
Provider-scoped configured regex mention patterns for Discord, Matrix, Slack, Telegram, and WhatsApp. Native platform mentions keep their existing behavior, and unsupported channels do not opt into the new regex policy path. The new policy supports per-channel allow/deny routing through mentionPatterns.mode with allowIn and denyIn so group auto-reply regexes can be limited without broad global blast radius. Refs #70864. Supersedes #87200. Thanks @patrick-slimelab.
Provider-scoped configured regex mention patterns for Discord, Matrix, Slack, Telegram, and WhatsApp. Native platform mentions keep their existing behavior, and unsupported channels do not opt into the new regex policy path. The new policy supports per-channel allow/deny routing through mentionPatterns.mode with allowIn and denyIn so group auto-reply regexes can be limited without broad global blast radius. Refs openclaw#70864. Supersedes openclaw#87200. Thanks @patrick-slimelab.
Provider-scoped configured regex mention patterns for Discord, Matrix, Slack, Telegram, and WhatsApp. Native platform mentions keep their existing behavior, and unsupported channels do not opt into the new regex policy path. The new policy supports per-channel allow/deny routing through mentionPatterns.mode with allowIn and denyIn so group auto-reply regexes can be limited without broad global blast radius. Refs openclaw#70864. Supersedes openclaw#87200. Thanks @patrick-slimelab.
Provider-scoped configured regex mention patterns for Discord, Matrix, Slack, Telegram, and WhatsApp. Native platform mentions keep their existing behavior, and unsupported channels do not opt into the new regex policy path. The new policy supports per-channel allow/deny routing through mentionPatterns.mode with allowIn and denyIn so group auto-reply regexes can be limited without broad global blast radius. Refs openclaw#70864. Supersedes openclaw#87200. Thanks @patrick-slimelab.
Applies changes from PR #70864 (mention pattern policy) on top of latest main.