acceptance-orchestrator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAcceptance Orchestrator
验收编排器
Overview
概述
Orchestrate coding work as a state machine that ends only when acceptance criteria are verified with evidence or the task is explicitly escalated.
Core rule: do not optimize for "code changed"; optimize for "DoD proven".
将编码工作作为状态机进行编排,仅当验收标准有证据验证通过或任务被明确升级时才会结束。
核心规则:不要为「代码变更」优化,要为「DoD 得到证实」优化。
Required Sub-Skills
所需子技能
create-issue-gateclosed-loop-deliveryverification-before-completion
Optional supporting skills:
deploy-devpr-watchpr-review-autopilotgit-ship
create-issue-gateclosed-loop-deliveryverification-before-completion
可选支持技能:
deploy-devpr-watchpr-review-autopilotgit-ship
Inputs
输入
Require these inputs:
- issue id or issue body
- issue status
- acceptance criteria (DoD)
- target environment (default)
dev
Fixed defaults:
- max iteration rounds =
2 - PR review polling =
3m -> 6m -> 10m
需要以下输入项:
- issue id 或 issue 内容
- issue 状态
- 验收标准(DoD)
- 目标环境(默认)
dev
固定默认值:
- 最大迭代轮次 =
2 - PR 审查轮询间隔 =
3m -> 6m -> 10m
State Machine
状态机
intakeissue-gatedexecutingreview-loopdeploy-verifyacceptedescalated
intakeissue-gatedexecutingreview-loopdeploy-verifyacceptedescalated
Workflow
工作流
-
Intake
- Read issue and extract task goal + DoD.
-
Issue gate
- Use logic.
create-issue-gate - If issue is not or execution gate is not
ready, stop immediately.allowed - Do not implement anything while issue remains .
draft
- Use
-
Execute
- Hand off to for implementation and local verification.
closed-loop-delivery
- Hand off to
-
Review loop
- If PR feedback is relevant, batch polling windows as:
- wait
3m - then
6m - then
10m
- wait
- After the round, stop waiting and process all visible comments together.
10m
- If PR feedback is relevant, batch polling windows as:
-
Deploy and runtime verification
- If DoD depends on runtime behavior, deploy only to by default.
dev - Verify with real logs/API/Lambda behavior, not assumptions.
- If DoD depends on runtime behavior, deploy only to
-
Completion gate
- Before any claim of completion, require .
verification-before-completion - No success claim without fresh evidence.
- Before any claim of completion, require
-
接收(Intake)
- 读取 issue 并提取任务目标 + DoD。
-
需求准入(Issue gate)
- 使用逻辑。
create-issue-gate - 如果 issue 未处于状态或执行准入未被
ready,立即停止。allowed - issue 仍为状态时不要进行任何开发实现。
draft
- 使用
-
执行(Execute)
- 移交至进行开发实现和本地验证。
closed-loop-delivery
- 移交至
-
审查循环(Review loop)
- 如果 PR 反馈相关,按以下批次设置轮询等待窗口:
- 等待
3m - 然后
6m - 然后
10m
- 等待
- 轮询结束后,停止等待,统一处理所有可见评论。
10m
- 如果 PR 反馈相关,按以下批次设置轮询等待窗口:
-
部署与运行时验证(Deploy and runtime verification)
- 如果 DoD 依赖运行时行为,默认仅部署到环境。
dev - 基于真实日志/API/Lambda行为进行验证,而非主观假设。
- 如果 DoD 依赖运行时行为,默认仅部署到
-
完成准入(Completion gate)
- 在声明完成前,必须执行。
verification-before-completion - 无最新证据不得声明成功。
- 在声明完成前,必须执行
Stop Conditions
停止条件
Move to only when every acceptance criterion has matching evidence.
acceptedMove to when any of these happen:
escalated- DoD still fails after full rounds
2 - missing secrets/permissions/external dependency blocks progress
- task needs production action or destructive operation approval
- review instructions conflict and cannot both be satisfied
仅当所有验收标准都有对应的匹配证据时,才流转至状态。
accepted发生以下任意情况时流转至状态:
escalated- 2轮完整迭代后 DoD 仍未通过
- 缺少密钥/权限/外部依赖导致进度阻塞
- 任务需要生产环境操作或破坏性操作审批
- 审查指令存在冲突无法同时满足
Human Gates
人工准入
Always stop for human confirmation on:
- prod/stage deploys beyond agreed scope
- destructive git/data operations
- billing or security posture changes
- missing user-provided acceptance criteria
出现以下情况时必须停止并等待人工确认:
- 超出约定范围的生产/预发环境部署
- 破坏性 git/数据操作
- 账单或安全配置变更
- 缺少用户提供的验收标准
Output Contract
输出约定
When reporting status, always include:
- : intake / executing / accepted / escalated
Status - : pass/fail checklist
Acceptance Criteria - : commands, logs, API results, or runtime proof
Evidence - : anything still uncertain
Open Risks - : smallest next decision, if blocked
Need Human Input
Do not report "done" unless status is .
accepted上报状态时必须包含:
- :intake / executing / accepted / escalated
Status - :通过/失败检查清单
Acceptance Criteria - :命令、日志、API 结果或运行时证明
Evidence - :所有仍不确定的事项
Open Risks - :如果阻塞,列出所需的最小下一步决策。
Need Human Input
除非状态为,否则不得上报「已完成」。
accepted