docs: close PR ready command task

This commit is contained in:
Codex
2026-07-11 06:31:49 +02:00
parent 1b31c06e93
commit ada7d1c621
5 changed files with 51 additions and 2 deletions
@@ -0,0 +1,13 @@
# R1.2 任务报告
- 命令合同:
- `bun scripts/cli.ts gh pr ready <number> --repo owner/name [--dry-run]`
- 状态合同:
- open draft:转为 ready。
- open ready:幂等成功,不再次 mutation。
- closed`validation-failed`
- missing`pr-not-found`
- 权限失败:保留共享 client 的 typed reason。
- 可见性:
- 默认输出为有界表格。
- scoped help 披露读取、mutation 和 dry-run 语义。