multi_agent_v2,wait 超时下限 8 分钟。AGENTS.md 加上 wait 工具规则。无新增 migration。
Enhancements
Codex multi_agent_v2 默认开启
.codex/config.toml 从注释指引改为直接写入生效配置:
项目级
[features] 只在项目被 trusted 时激活。在 ~/.codex/config.toml 加:
删掉 legacy codex_hooks = true
CodexHooks 在 Codex feature registry 里现在是 Stage::Stable 且 default_enabled: true——只要项目 trusted,hooks.json 自动加载。模板里之前的 [features].codex_hooks = true 是冗余的,已删除。
AGENTS.md subagent wait 规则
Subagents 段点名 Codex 的 wait 工具,禁止在子 agent 跑完前 cancel:
- 等子 agent 进入终态再让出 / 处理结果 / 派发下一个。Codex 上调
wait传 thread id。 - 子 agent 未完成时不要 cancel 或 re-spawn。觉得卡住先抬 timeout(默认 30 秒,上限 1 小时)再判断。