ds-ready
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDo all of except the merge. Hand the user an open PR that passes the merge gate.
ds-shipThe request grants the same test permission as , and you may commit, push, rebase and this task's branch. You may not merge.
ds-ship--force-with-lease执行 的所有操作,但不包括 merge。将一个通过 merge gate 的开放 PR 交给用户。
ds-ship本请求授予与 相同的测试权限。你可以对本次任务的分支执行 commit、push、rebase,并使用 。你不得执行 merge。
ds-ship--force-with-leaseSteps
步骤
- Read and follow its steps 1 to 6: branch, change, prove, review, file, watch.
ds-ship - Before the first push, turn off auto-merge and take the PR out of any merge queue. Check again before each push. If you cannot stop automatic merging, report that before you continue.
- After the last fix, re-prove any behavior change and any non-trivial conflict resolution.
- Fetch the base branch. Read the live PR: head SHA, base, checks, reviews, mergeable state. Confirm it is open and not a draft.
- Apply the merge gate and pick one verdict:
ds-ship- Ready: the gate passes. Leave the PR open.
- Waiting on approval: only a required human approval is missing. Confirm that this is the real blocker.
- Blocked: say what stops it, what you tried and what is needed.
- Report the PR link, final head SHA, verdict, proof, review outcome and remaining risks. State that the PR is open and unmerged.
- 阅读 ,并遵循其第 1 至第 6 步:创建分支、进行变更、验证、审查、提交 PR、持续观察。
ds-ship - 在第一次 push 之前,关闭 auto-merge,并将 PR 从任何 merge queue 中移出。每次 push 前都要再次检查。如果无法阻止自动合并,请在继续之前报告。
- 最后一次修复后,重新验证任何行为变更以及任何非平凡的冲突解决结果。
- 获取 base 分支。读取实时 PR 的 head SHA、base、checks、reviews 和 mergeable state。确认它处于 open 状态且不是 draft。
- 应用 的 merge gate,并选择一个结论:
ds-ship- Ready:merge gate 通过。保持 PR 开放。
- Waiting on approval:仅缺少必需的人工审批。确认这确实是唯一的阻塞原因。
- Blocked:说明是什么阻止了合并、你尝试了什么,以及还需要什么。
- 报告 PR 链接、最终 head SHA、结论、验证证明、审查结果以及剩余风险。说明 PR 已开启且尚未合并。
Stop when
停止条件
- You reach one of the three verdicts and the report is written.
- Someone else merged the PR. Report that.
- Six fix-and-watch cycles pass without a green gate. Report Blocked.
- 你得出了三个结论之一,并且报告已经写完。
- 其他人已合并该 PR。报告此情况。
- 在 merge gate 未达到绿色状态的情况下,完成了六轮修复与观察循环。报告 Blocked。
Rules
规则
- Never merge, turn on auto-merge, join a merge queue or push to the default branch.
- Do not ask another agent to do any of those things for you.
- Show evidence for the verdict: the check list and mergeable state you read.
- 绝不执行 merge、开启 auto-merge、加入 merge queue,或 push 到 default branch。
- 不要要求其他 Agent 执行上述任何操作。
- 展示支持结论的证据:你读取到的检查列表和 mergeable state。