Plugins 导读

Channel Ingress API 是消息进入 OpenClaw 前的访问控制门卫

Channel ingress 负责 inbound channel events 的准入边界。插件提供平台事实和副作用,核心根据 allowlist、route gate、command gate、event auth、mention activation 和脱敏诊断等规则判断消息能否进入后续 turn 流程。

先讲这一页到底在解决什么

Channel Ingress API 是消息进入 OpenClaw 前的访问控制门卫

Channel ingress 负责 inbound channel events 的准入边界。插件提供平台事实和副作用,核心根据 allowlist、route gate、command gate、event auth、mention activation 和脱敏诊断等规则判断消息能否进入后续 turn 流程。

原文共 8 节,先看 Start Here 路径:/plugins/sdk-channel-ingress 查看官方原文
插件别预计算

不要自己提前算最终 allowlist 或 command owners,交给 resolver 从原始规则推导。

核心管通用政策

DM/group 允许名单、配对存储、路由门、命令门和脱敏诊断都属于核心规则。

旧入口

channel-ingress 仍保留兼容,但新代码应优先用 runtime 入口。

一句话

先过门卫,再进流水线。平台事实归插件,通用准入归核心。