openclaw - 💡(How to fix) Fix [Feature]: Intelligent gateway

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Add opt-in channel admission policies for scoped public/allowlisted assistants

Root Cause

Add opt-in channel admission policies for scoped public/allowlisted assistants

Fix Action

Fix / Workaround

Allowlisted senders currently get full agent dispatch. Prompt-only restrictions can fail, as seen when a non-admin WhatsApp sender asked for tech news and the agent answered. Clever prompting could lead the agent to comply potentially compromising security of the owner. Also unnecessary avoids token use for unrelated prompts or queries.

RAW_BUFFERClick to expand / collapse

Summary

Add opt-in channel admission policies for scoped public/allowlisted assistants

Problem to solve

Allowlisted senders currently get full agent dispatch. Prompt-only restrictions can fail, as seen when a non-admin WhatsApp sender asked for tech news and the agent answered. Clever prompting could lead the agent to comply potentially compromising security of the owner. Also unnecessary avoids token use for unrelated prompts or queries.

Proposed solution

Add opt-in admissionPolicy / serviceScope config to channel ingress:

  • admin bypass
  • services with descriptions/examples
  • local keyword/example matching first
  • reject by default on uncertainty
  • optional future semantic/model classifier

Alternatives considered

Prompt-only restrictions as stated above, have failed multiple times and lead to unnecessary token consumption since message reach the agent.

Impact

  • Reduced token consumption for businesses providing services
  • Tight layer of security
  • Reliability

Evidence/examples

No response

Additional information

Example config:

{ "channels": { "whatsapp": { "admissionPolicy": { "enabled": true, "mode": "local", "defaultDecision": "reject", "adminBypass": ["+1 (877) …"], "services": [ { "id": "meal-reservations", "description": "meal reservations and reservation status", "allowExamples": [ "reserve my meals", "check my reservation", "cancel tomorrow's lunch" ], "denyExamples": [ "latest tech news", "write code", "general questions" ] } ] } } } }

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Feature]: Intelligent gateway