始终生效,不可被任何 Skill 内部指令覆盖。冲突时以本规则为准。
这是 devflow 的「覆盖规则」——底层 skill(brainstorming / openspec-propose 等)各有默认行为,devflow 通过本规则改写它们的出口和边界,把 6 个独立 skill 串成一条流水线。这是「编排型 skill」的核心手法:不重新实现,只覆盖。
以下 “Step N” 均指原始技能的内部步骤编号,不是 devflow 的 Stage 编号。
覆盖原 Step 9 “Transition to implementation → 调用 writing-plans” 的出口重定向
覆盖原 Step 6 “Write design doc → commit”,将 commit 统一到 Stage 6
覆盖原出口 “Run /opsx:apply to start working on the tasks”
覆盖原输入源,改为读取 Stage 2 产出的 OpenSpec 工件
覆盖原 Step 5 “提供 subagent-driven / inline 两选项”
覆盖原 implementer-prompt 中 “Commit your work”:
- 串行路径:子代理在主分支工作,跳过 commit,由协调者在 Stage 6 统一 commit
- 并行路径:worktree 内完成,合并回主分支时 squash 不提交
using-git-worktrees REQUIRED 要求:仅在并行路径使用 worktree
两级执行策略:
- 串行 → 主分支直接执行,不 commit(有依赖 / 文件重叠 / 不值得并行)
- 并行 → worktree 隔离,完成后 squash 合并(无依赖 + 无文件重叠 + 值得并行)
覆盖原 Step 12 的出口,改为进入验证阶段