chore: allowlist trusted plugins

This commit is contained in:
Chen Gu
2026-08-13 17:00:21 +08:00
committed by Chen Gu
parent 8027f1186d
commit 319e8a7ec9
66 changed files with 6229 additions and 124 deletions
@@ -0,0 +1,73 @@
# Session: 2026-03-09 15:11:42 UTC
- **Session Key**: agent:main:main
- **Session ID**: aa61cc83-2c25-40f4-8cf7-3043f5188c46
- **Source**: gateway:sessions.reset
## Conversation Summary
assistant: [[reply_to_current]] 来个轻松问题:如果今天只做一件“投入小但长期收益大”的系统改动,你最想优先哪一项?
我可以直接帮你把它拆成 3 步可执行清单。
user: Sender (untrusted metadata):
```json
{
"label": "openclaw-tui (gateway-client)",
"id": "gateway-client",
"name": "openclaw-tui",
"username": "openclaw-tui"
}
```
[Mon 2026-03-09 13:21 GMT+8] 在?
assistant: [[reply_to_current]] 在的,谷老板 👋
我在线。你现在想先推进哪件事?
user: Sender (untrusted metadata):
```json
{
"label": "openclaw-tui (gateway-client)",
"id": "gateway-client",
"name": "openclaw-tui",
"username": "openclaw-tui"
}
```
[Mon 2026-03-09 13:23 GMT+8] 检查一下telegram的通路,我和你在telegram上的对话没有反馈了,但是/status有响应
assistant: [[reply_to_current]] 结论先说:**Telegram 通路本身是通的**,更像是“会话侧不回”而不是“链路断”。
我刚做了 3 个检查:
1) `openclaw status --deep`Telegram 状态 **OK**
2) 我主动发了一条 Telegram 测试消息到你的 chat id`messageId=74`13:26)——下行发送成功。
3) 配置里你是 `dmPolicy: pairing`,且你的 `allowFrom` 已包含当前账号,理论上私聊可收可发。
### 可能原因(按概率)
- **会话层静默**(模型返回 `NO_REPLY` 或未触发有效回复)
- 网关曾短时重启/配置异常(日志里有一段 `agents.defaults.model` 校验报错后重启)
- 群聊策略限制(如果你是在群里说话,当前 `groupPolicy=allowlist` 且空列表会被静默丢弃)
### 给你 3 个处理选项
1) **最稳(推荐)**:我现在重启一次 gateway 并跟日志做一次实时回环测试(你发“ping”,我看是否生成回复+出站)。
2) 仅做会话修复:重置 Telegram 对话 session(保留配置不动)。
3) 放宽策略(若你在群里用):把 Telegram 群策略从 allowlist 调整为 open,或补群白名单。
先确认一个关键点:**你有没有收到我那条“✅ 通路自检”测试消息?**
收到的话,基本就能锁定是“回复策略/会话问题”,不是网络问题。
user: Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.
Current time: Monday, March 9th, 2026 — 2:50 PM (Asia/Shanghai)
assistant: [[reply_to_current]] 不聊工作版冒个泡:今天到现在,你最满意的一件小事是什么?
如果你愿意,我可以顺手把它抽象成一个可复用的小习惯。
user: Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.
Current time: Monday, March 9th, 2026 — 5:13 PM (Asia/Shanghai)
assistant: [[reply_to_current]] 来个轻松话题:你最近有没有一个反复在想、但还没来得及展开的小念头?
你丢给我一句话,我帮你把它变成可执行的下一步。
user: Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.
Current time: Monday, March 9th, 2026 — 7:16 PM (Asia/Shanghai)
assistant: [[reply_to_current]] 冒个泡:我刚想到一个很“谷老板风格”的小优化——把常用任务固定成「一句触发词 → 自动三步执行」。
要不要我先给你设计 3 个高频触发词模板,今晚就能直接用?
user: Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.
Current time: Monday, March 9th, 2026 — 8:46 PM (Asia/Shanghai)
assistant: [[reply_to_current]] 我想起你之前很强调“稳定性和可控性优先”。
如果今天给系统只加一个保险丝,你会更想要:A) 自动降级 B) 人工一键接管 C) 关键动作二次确认?
user: Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.
Current time: Monday, March 9th, 2026 — 10:46 PM (Asia/Shanghai)
assistant: [[reply_to_current]] 睡前轻量一问:今天这一天里,你觉得最值得“明天继续放大”的一个点是什么?
你回我一个关键词就行,我来帮你接成明早可执行的第一步。