Skip to content

Enforce mandatory Discord channel scopes across dispatch and recall - #13

Merged
Yehonal merged 3 commits into
mainfrom
fix/ccp011-channel-boundary
Oct 19, 2026
Merged

Yehonal merged 3 commits into
mainfrom
fix/ccp011-channel-boundary

Conversation

@Yehonal

@Yehonal Yehonal commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Discord policy rules can admit outside-channel content through command bypasses, automatic supplemental context and historical raw recall. Add a mandatory account/guild/root-or-thread admission boundary before sinks and dispatch, enforce it for both recall paths, and require provenance stamped at admission.

Protected turns with unverified quotes, starters, forwards or media fail closed. A dedicated agent/workspace and restricted tools are required; native transport may fetch supplemental content before plugin hooks. Existing unrelated guild behavior is preserved. Includes the previously installed native sender-exclusion guard and CI.

Validation: 218 OpenClaw tests, Hermes tests, syntax build, and independent review, including native provider-context routing and recall isolation.

@Yehonal
Yehonal merged commit e1c139e into main Oct 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant