feat: solo default, job completion reports, tools wave-1 (0.9.32)

Password Realm no longer auto-enables parliament (keeps task/worker tools);
finished jobs fan out to agent notes + TUI; raise PAR_MAX/grep caps and tag truncations.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
WHC
2026-10-29 19:48:02 +08:00
co-authored by Cursor
parent 5917c48bd0
commit f00aad9e3e
12 changed files with 351 additions and 44 deletions
+13 -2
View File
@@ -60,7 +60,18 @@ cst-agent-service status
或手动前台:`CST_REALM_PASSWORD=… cst-agent --service-fg`。
密码 Realm 开启后,直接打开 agent 会要求登录(TTY 下可当场输入密码)。
## 单机默认(solo)
未设置 `collaboration` 时,**即使存在密码 Realm,默认也是单机 solo**:`task` /
`worker_*` / runtime jobs 可用,不强制登录闸。密码 Realm 仅保管密钥,不再自动开议会。
要进入议会模式,任选其一:
- `CST_COLLABORATION=parliament` 或 `settings.json` 里 `"collaboration": "parliament"`
- 已有 open 状态的 parliament meta(例如刚 `--login` 过)
显式议会模式下打开 agent 才要求登录(TTY 下可当场输入密码)。强制恢复本机 worker:
`CST_COLLABORATION=legacy_workers`。
## 议员协作协议
@@ -71,7 +82,7 @@ cst-agent-service status
3. 跨席相关的进度/议程/结果用工具 **`parliament_note`** 发布(`kind=status|agenda|result|handover`)
4. 服务在写入后尽快 dial peers;回合内若 revision 变化,会注入 `[cst] Parliament shared context updated`
`settings.json` 的 `"collaboration": "parliament"`(或 `CST_COLLABORATION=parliament`),以及密码 Realm 存在时:
显式 `"collaboration": "parliament"`(或 env)时:
- **硬禁用** `task` / `worker_*` / runtime 委托工具
- 提供 `parliament_note`;提示词说明 chair / member 角色合同