feat(ack): enforce worker launch policy
This commit is contained in:
@@ -34,27 +34,27 @@ orca orchestration inbox --limit 20 --json
|
||||
默认沿用 Coordinator 当前所在的 Agent CLI:Cursor Coordinator 创建 Cursor worker,Codex Coordinator 创建 Codex worker。不要通过询问模型来猜运行环境;以当前 CLI / 终端环境为准。除非项目 overlay 或用户明确指定,否则不跨 Agent CLI 创建 worker。
|
||||
|
||||
```bash
|
||||
# Cursor:Test / Developer worker 用 auto 模型(自动选型)
|
||||
# Cursor:Test / Developer worker 用 auto 模型,并按项目要求启用 YOLO
|
||||
orca terminal create --worktree path:<dev_worktree> \
|
||||
--command "cursor-agent --model auto" --title "DEV" --json
|
||||
--command "cursor-agent --yolo --model auto" --title "DEV" --json
|
||||
|
||||
# 需要更强模型时改成具体模型
|
||||
orca terminal create --worktree path:<dev_worktree> \
|
||||
--command "cursor-agent --model claude-opus-4-8-thinking-high" --title "DEV" --json
|
||||
--command "cursor-agent --yolo --model claude-opus-4-8-thinking-high" --title "DEV" --json
|
||||
|
||||
# Codex:Developer worker
|
||||
orca terminal create --worktree path:<dev_worktree> \
|
||||
--command "codex -m gpt-5.6-terra -c model_reasoning_effort=medium" \
|
||||
--command "codex --dangerously-bypass-approvals-and-sandbox -m gpt-5.6-terra -c model_reasoning_effort=medium" \
|
||||
--title "DEV" --json
|
||||
|
||||
# Codex:Test worker
|
||||
orca terminal create --worktree path:<test_worktree> \
|
||||
--command "codex -m gpt-5.6-luna -c model_reasoning_effort=low" \
|
||||
--command "codex --dangerously-bypass-approvals-and-sandbox -m gpt-5.6-luna -c model_reasoning_effort=low" \
|
||||
--title "TEST" --json
|
||||
|
||||
# Codex:复杂 Developer 任务升级
|
||||
orca terminal create --worktree path:<dev_worktree> \
|
||||
--command "codex -m gpt-5.6-sol -c model_reasoning_effort=high" \
|
||||
--command "codex --dangerously-bypass-approvals-and-sandbox -m gpt-5.6-sol -c model_reasoning_effort=high" \
|
||||
--title "DEV-STRONG" --json
|
||||
```
|
||||
|
||||
@@ -64,11 +64,12 @@ orca terminal create --worktree path:<dev_worktree> \
|
||||
|
||||
```bash
|
||||
orca worktree create --name <feature> --base-branch <base> --json
|
||||
orca terminal create --worktree path:<new_worktree> --command "cursor-agent --model auto" --json
|
||||
orca terminal create --worktree path:<new_worktree> --command "cursor-agent --yolo --model auto" --json
|
||||
```
|
||||
|
||||
- `cursor-agent --list-models` 可列出合法模型;`auto` 表示由 Cursor 自动选型。
|
||||
- Codex 用 `-m / --model` 指定模型,用 `-c model_reasoning_effort=<effort>` 固定推理档位;不要把省略 `-m` 当作 Cursor `auto` 的等价物。
|
||||
- 本项目要求 Cursor worker 带 `--yolo`,Codex worker 带 `--dangerously-bypass-approvals-and-sandbox`;创建前先运行项目覆盖层指定的校验器。
|
||||
- 其它 CLI(opencode 等)用各自的模型参数或配置,`--command` 相应替换。
|
||||
- 若 worker 是已在跑的会话(用 `--inject` 投递),模型已由该会话启动时决定,无法在 dispatch 时改;要换模型需新建终端。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user