Why: The harness proposal still said the script decision was deferred, after the implementation chose both declarative workflows and two dynamic forms.
Evidence: The P4 section now states routing order, copy-on-start, step and retry caps, and the script switch.
Impact: Documentation only.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen
merged commit acd6f01c40 into main2026-10-02 01:03:55 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why: 提案还写着脚本化工作流留到评审再定。
Evidence: P4 一节写入路由、上限和两种动态工作流。
裁定:路由先命令总线,再绑定工作流,最后才是普通回合。工作流启动时拷贝定义。声明式最多 20 步;模型生成最多 8 步,不能含 script,执行前必须确认。critic 每步最多重试 3 次、缺省 1 次,整条最多 6 次,无法解析按不通过。脚本开关 runtime.workflowScripts 缺省关闭。模型写的脚本必须确认,插件自带的不必。回调走工具执行入口,不能调用 run_python、run_shell、run_workflow 和派发类工具。小队入口不提供 run_workflow。本 PR 不合入。