docs(perf): 校正两处事实——CLI Node 版本根因(系统 /usr/bin/node=22, 非 .nvmrc) 与工具白名单告警时效
This commit is contained in:
@@ -180,12 +180,18 @@ openclaw models list --provider deepseek # 期望能正常列出
|
||||
|
||||
| 手段 | 动作 | 预期 |
|
||||
|---|---|---|
|
||||
| 收敛工具集 | 把高频 agent 的 `tools.profile` 从 `full` 收窄,或填写 `tools.allow` 白名单 | 模型少做无效试探,轮次下降(⚠️ 需实测,见 §5) |
|
||||
| 收敛工具集 | 让高频 agent 少暴露「用不上」的工具(当前 `tools.profile=full`;本机 `tools.allow` 为空,需在 profile/插件注册层收窄) | 模型少做无效试探,轮次下降(⚠️ 需实测,见 §5) |
|
||||
| 提升单轮信息密度 | 在 agent 的 `AGENTS.md` 中要求「一次调用批量取证」:合并多次 `read`/`memory_search` 为一次 | 显著减少往返 |
|
||||
| 并行取证 | 把可并行的只读操作交给 `subagents`(当前 `subagents.maxConcurrent=4`) | 串行改并行 |
|
||||
| 技能不必现装现用 | 需要什么技能**提前装好**,避免在对话中触发 ClawHub 审计+安装(实测单次 13.5–14s) | 消除最大单点等待 |
|
||||
|
||||
> ⚠️ 日志已显示 `tools.profile (full) allowlist contains unknown entries (feishu_*)`——存在**注册不上的工具条目**。先按系统说明排查清单清理,避免无效工具占位。
|
||||
> ⚠️ **工具清单存在未注册条目**(实测):`tools.profile (full) allowlist contains unknown entries` 与 `tools.allow allowlist contains unknown entries` 各出现 **9 次**(首见 09-16 10:24:26),报的都是 `feishu_bitable_*` / `feishu_calendar_*` 等条目——即**配置里声明了、但插件没注册上**的工具。
|
||||
>
|
||||
> 注意两点:① 这**意味着 `full` profile 的允许清单本身是 openclaw 内置生成的**,不是本机 `tools.allow`(实测本机 `tools.allow` 为空数组、条目数 0)——所以「改白名单」要做在 **profile/插件注册层**,不是改那个空数组;② 这些是**历史告警**(首见 10:24,早于 16:13 的配置清理),清理后是否仍出现需重新核验:
|
||||
>
|
||||
> ```bash
|
||||
> grep -c "allowlist contains unknown entries" /tmp/openclaw/openclaw-$(date +%F).log
|
||||
> ```
|
||||
|
||||
### P1-3 补上模型请求超时与 failover
|
||||
|
||||
|
||||
Reference in New Issue
Block a user