fix: spawn_workers skill 名称修正 — airplan → airplan-v2:do

skill 目录名是 airplan-v2,不是 airplan。Claude Code 按目录名注册。
正确的 Skill 调用格式为 Skill("airplan-v2:do")。

同步更新:
- eng_mode.py spawn_workers() 返回值
- commands/eng.md dispatch 操作步骤
- test_t_121_122.py 测试断言
- 设计文档 3.2.11b spawn_workers 伪代码

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
AirLongDian
2026-06-11 15:04:13 +08:00
parent dd4aa6b345
commit f3f991de2a
4 changed files with 10 additions and 10 deletions

View File

@@ -59,8 +59,8 @@ dispatch 返回 `{waveId, taskIds, dispatchPath}`。**然后按以下步骤操
2.`taskIds` 中的**每个** `tid`,顺序执行:
a. 读 `AirPlan/state/airarc/reviews/task-graph.json`,从 `nodes[tid].task` 取任务描述文本
b. 调用 `Skill` 工具启动子代理:
- `skill`: `"airplan"`
- `args`: `"do --sub enter --task-id {tid} --task-text '{task描述}' --project ."`
- `skill`: `"airplan-v2:do"`
- `args`: `"--sub enter --task-id {tid} --task-text '{task描述}' --project ."`
c. 每个 `Skill` 调用自动以 `fork_context=false` 运行,创建隔离的 Do Worker
3. 所有 Worker spawn 完成后,进入 monitor 状态
4. Worker 完成后,对其 `result.json` 调用 `--sub merge --result <path>`