mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 04:40:45 +08:00
Align docs and runtime with expert-only routing.
Drop dead Manager helpers from the gateway, fix async wire_policy, and remove stale comprehensive UI copy from RUNBOOK/README/presentation.
This commit is contained in:
parent
ff9ef7279d
commit
b6986c4b8c
5 changed files with 13 additions and 203 deletions
|
|
@ -243,16 +243,15 @@ Linux/macOS:
|
|||
Admin 可视化调度(新增):
|
||||
|
||||
- `Stack` 页面提供 `Weixin dispatch` 控制卡。
|
||||
- 可直接选择专家并执行:
|
||||
- `绑定专家`(写入 `expert + specialist`)
|
||||
- `综合`(写入 `comprehensive + specialist`)
|
||||
- 可直接选择专家并执行 `绑定专家`(写入 `expert + specialist`)。
|
||||
- 通道默认值:`expert + generalist`。
|
||||
- 产品面已统一为**专家模式**;不再提供「综合 / Manager」分派。
|
||||
|
||||
账号级调度(新增):
|
||||
|
||||
- 在 `用户/渠道绑定` 页面选择 `channel=weixin` 后,可按账号配置:
|
||||
- 专家(默认 `generalist`)
|
||||
- 模式:`绑定专家` / `综合`
|
||||
- 绑定专家(`expert + specialist`)
|
||||
- 生效优先级:**账号级配置 > 通道全局配置 > 默认值**。
|
||||
|
||||
注意:当模型侧返回“OpenAI key 缺失”兜底文本时,微信通道会静默抑制该类回复(不向微信用户下发错误文案)。
|
||||
|
|
@ -310,9 +309,9 @@ powershell -ExecutionPolicy Bypass -File .\runtime\operations\scripts\whatsapp_s
|
|||
|
||||
Admin 可视化调度(新增):
|
||||
|
||||
- `Stack` 页面提供 `WhatsApp dispatch` 控制卡(`绑定专家` / `综合`)。
|
||||
- `用户/渠道绑定` 页面选择 `channel=whatsapp` 后可按账号单独配置专家/模式。
|
||||
- 默认值同微信:`expert + generalist`。
|
||||
- `Stack` 页面提供 `WhatsApp dispatch` 控制卡(`绑定专家`)。
|
||||
- `用户/渠道绑定` 页面选择 `channel=whatsapp` 后可按账号单独配置默认专家。
|
||||
- 默认值同微信:`expert + generalist`(专家模式 only)。
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -403,7 +402,7 @@ Admin Chat 依赖表 **`ui_session_owner`**(`session_id` → `tenant_id` + `us
|
|||
|
||||
**工作区 ``extra_roots``(与编排临时会话)**
|
||||
|
||||
管理台为用户配置的 ``user_workspace_path_allowlist.extra_roots`` 通过 ``ui_session_owner`` 解析到租户+用户。全能者编排里专家步往往在**无 owner 的临时** ``chat_session`` 上落库中间消息:内置路径类工具会携带 **用户 UI 会话 id 作为 fallback**,仍按该用户策略合并 ``extra_roots``;MCP filesystem 启动参数本就按用户聊天 ``session_id``(policy)合并,二者现已对齐。
|
||||
管理台为用户配置的 ``user_workspace_path_allowlist.extra_roots`` 通过 ``ui_session_owner`` 解析到租户+用户。专家轮次若在**无 owner 的临时** ``chat_session`` 上落库中间消息:内置路径类工具会携带 **用户 UI 会话 id 作为 fallback**,仍按该用户策略合并 ``extra_roots``;MCP filesystem 启动参数本就按用户聊天 ``session_id``(policy)合并,二者现已对齐。
|
||||
|
||||
### 6.5 主库路径与「删掉的会话又回来了 / 新建用户不见了」
|
||||
|
||||
|
|
|
|||
|
|
@ -64,12 +64,11 @@ flowchart LR
|
|||
| **ops** | 网络运维专家(本文重点) |
|
||||
| generalist | 通用任务 |
|
||||
| memory | 知识/记忆 |
|
||||
| image / video / stock | 专项能力 |
|
||||
|
||||
### 2.3 交互模式
|
||||
|
||||
- **expert**:用户直连某一专家(如 ops)
|
||||
- **comprehensive**:经理 Agent 编排,按任务委派给 ops 等专家
|
||||
- 产品面已统一为 **expert**:用户直连某一专家(如 ops)
|
||||
- 历史「comprehensive / Manager 编排」已移除
|
||||
|
||||
### 2.4 分层架构
|
||||
|
||||
|
|
@ -87,8 +86,6 @@ skills/ 可安装技能包(SKILL.md)
|
|||
flowchart TD
|
||||
A[入站消息] --> B{渠道路由}
|
||||
B -->|specialist=ops| C[NetworkOpsAgent]
|
||||
B -->|comprehensive| D[Manager Agent]
|
||||
D -->|委派网络任务| C
|
||||
C --> E[加载 ROLE_SYSTEM + Skills]
|
||||
E --> F[工具集: network_ops + memory + MCP]
|
||||
F --> G{Agent 循环}
|
||||
|
|
@ -448,8 +445,7 @@ powershell -ExecutionPolicy Bypass -File .\runtime\operations\scripts\whatsapp_s
|
|||
|
||||
**交互模式:**
|
||||
|
||||
- **绑定专家(expert)**:所有消息直连 ops 运维专家(推荐运维群场景)
|
||||
- **综合(comprehensive)**:经理 Agent 编排,网络任务委派给 ops
|
||||
- **绑定专家(expert)**:所有消息直连 ops 运维专家(推荐运维群场景;当前唯一模式)
|
||||
|
||||
**优先级**:账号级配置 > 通道全局配置 > 默认(`expert + generalist`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue