docs: add candidate config patch for multi-agent rollout

This commit is contained in:
Eve
2026-04-07 23:02:14 +08:00
parent 1b66a00d22
commit 07971ffe1f
3 changed files with 181 additions and 0 deletions

View File

@@ -383,3 +383,26 @@ Schema 核對後,每個 `agents.list[]` entry
- 失聯 / 超時 / 重派的程序正義
這樣可避免把制度描述誤塞進 schema 不保證存在的欄位,之後真的套用 config 時也較不容易踩坑。
## 13. 已產出的候選 patch 檔
本輪已另外落出兩份審查用文件:
1. `docs/plans/2026-04-07-openclaw-config-candidate-patch.json`
2. `docs/plans/2026-04-07-openclaw-config-candidate-patch-notes.md`
### 13.1 候選 patch 的策略
- 以 live config 為基準做**最小必要變更**
- 使用 JSON Merge Patch 語義
- 明確以 `agents.defaults.workspace: null` 刪除共享 default workspace
- 以完整 `agents.list` 替換現有單一 `coder` list
### 13.2 為什麼這份是 candidate patch不是直接套用版
因為在真正送進 `gateway config.patch` 前,仍需先確認:
- 各工作區是否先建好
- 是否加入 `identity`
- 是否加入 `skills`
- 是否加入 per-agent `tools`
- 是否另外用 prompt / workflow 檔補足制度邊界