Skip to content

Commit 4a4287d

Browse files
os-litantclaude
andauthored
docs(pm-skill): retire the last three ref-absence dequeue readings (#12988)
Three sites still read queue-ref ABSENCE as proof a PR left the queue, outliving the corrected membership reading (refs answer about queue BUILDS, meaningful only when present): - platform-readings, draft-flip dequeue-remedy row: the remedy check now reads the positive probes' not-queued direction plus the non-landing content read; ref absence is corroboration only and never carries the conclusion. The two-way narration is compressed to fund it (net 0). - platform-readings, arming-effect row: the closed enumeration reopens — effect readings are the two probes, the timeline enqueue event and the final landing, with the queue branch counting only when present (net 0). - SKILL.md ACCEPT fork: the already-queued remedy now answers the dequeue with the positive probes, same downgrade of ref absence (net 0). Both files stay at their ceilings (314/314; 1005/1005, row pin 765). Claude-Session: https://claude.ai/code/session_01MnijPVVDakqK2J335JoJtq Co-authored-by: Claude <noreply@anthropic.com>
1 parent 15d55fb commit 4a4287d

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.claude/skills/pm-dispatch/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ issue 上(不能合 ≠ 不复核;技能面 PR 的复核席须跑在契约复审
762762
**请审走免碰 draft 位的专用 REST 端点,MCP 兜底显式带 `draft: true`**(坑与端点事实住 platform-readings);④ 轮次报告单列「awaiting a human merge」(「等人来
763763
合」与「被忘了」在 GitHub 上长得一模一样)。混
764764
合 diff 一条命中就分叉,⛔ 不按比例判;要拆就让 dev 单独开 PR;已入队才读到本条 ⇒ 转 draft
765-
与 disable 都做再验队列 ref(转 draft 单独不可靠,两向相反实测住 platform-readings)。**skills 车道自有 PR 再按 diff 内容分流**(维护者 2026-08-26 裁定,原话:「skills 中的
765+
与 disable 都做,出队以阳性探针答、ref 缺席只旁证不承载结论(探针与两向相反实测住 platform-readings)。**skills 车道自有 PR 再按 diff 内容分流**(维护者 2026-08-26 裁定,原话:「skills 中的
766766
pr,只有包含md文件时需要推给我审核,其他代码文件你直接自己审核。」):diff 含任一 `.md` 文件 ⇒
767767
上述终局四件套照旧;纯代码面(`scripts/pm/` 工具、`.claude/` hooks/workflows/settings、`skills/**`
768768
md 产物)⇒ skills 席按契约复审档自审(清单不减)后直接落地(ready → 入队),⛔ 不推维护者;分

.claude/skills/pm-dispatch/references/platform-readings.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
- **状态核验用最小字段**(search/list + `fields`)或等事件,整对象 `get` 留给入队决策点;门禁放行
3434
判据 = 承载门禁族 job 的 conclusion,聚合(`blocked`/`dirty`)只作阴性筛查再定位,放行按名定向读
3535
单条 job,⛔ 不拉全表(按名定位失败才拉)。
36-
- **转 draft 不是可靠的踢队手段 —— 两向都有实测,处置按最坏走**:本仓测得转 draft 同时掉
37-
auto-merge 与队列成员资格(均不自动恢复,转正后重新挂);objectui 2026-08-25 测得相反 —— 已入
38-
队 PR 转 draft 后条目保位~40 分钟后队列照样合并,彼时 `disable_pr_auto_merge` 已拒绝(仓别/
39-
机差异未分辨)。共同支持的补救:转 draft + disable 都做(本仓测得 disable 单独不踢队、objectui
40-
彼时径直拒绝),**验队列 ref 与未落地**(拼写见「零成本等价物」),⛔ 不据单读数报补救。
36+
- **转 draft 不是可靠的踢队手段 —— 两向相反实测,处置按最坏走**:本仓转 draft 同时掉
37+
auto-merge 与队列成员资格(均不自动恢复,转正后重挂);objectui 2026-08-25 已入队 PR 转 draft 条目
38+
保位~40 分钟后队列照样合并(仓别/时机未分辨)。补救:转 draft + disable 都做(本仓
39+
`disable_pr_auto_merge` 单独不踢队、objectui 彼时径直拒绝);出队按下方「队列 ref」条阳性探针
40+
答不在队向,加未落地;ref 缺席只作旁证,⛔ 永不承载结论、不据单读数报补救。
4141
- **`update_pull_request` 不管传不传都发送 `draft` 位 ⇒ 对 draft PR 的任何调用必须显式带
4242
`draft: true`**(reviewers/title/body/labels 单字段调用同坑;objectui 2026-08-25 实测:一次只传
4343
reviewers 的请审把治理面 draft 发布进合并队列,后果见上条);请审免碰 draft 位的专用路 = REST
@@ -51,11 +51,11 @@
5151
`merge`(2026-08-24 两张 PR、一张 disable→enable 复验同值)、队列路径回显空字段而入队照发,落
5252
地仍无一例外单亲 squash(方法归队列,本仓 `allow_merge_commit:false`)⇒ ⛔ 不拿回显当任何方向
5353
的证据、不为它翻转空转;「空字段=静默空转签名」旧读法已推翻,权威信号见下两条。
54-
- **配额枯竭时 `enable_pr_auto_merge` 回成功而挂载根本没发生**(实测:一次「成功」后 2.5 小时
55-
零动静,同期别的 PR 正常合入;配额恢复后同一调用 ~1 分钟内落地)⇒ **验效果,不验回应**,
56-
按下条序列以队列分支/timeline 入队事件确认,⛔ 不拿成功报文收工;回读 `auto_merge` 非空
57-
本接口给不了(`pull_request_read` `fields` 枚举都无该成员,armed 与否读回逐字节相同)⇒ 效果
58-
读数只有队列分支、timeline 入队事件、最终落地三种;已死假说:已绿 PR 会静默空转。
54+
- **配额枯竭时 `enable_pr_auto_merge` 回成功而挂载根本没发生**(实测:「成功」后 2.5 小时零动
55+
,同期别的 PR 正常合入;配额恢复后同一调用 ~1 分钟内落地)⇒ **验效果,不验回应**,按下
56+
条阳性探针确认,⛔ 不拿成功报文收工;回读 `auto_merge` 非空本接口给不了(`pull_request_read`
57+
`fields` 枚举都无该成员,armed 与否读回逐字节相同)⇒ 效果读数 = 下条探针①②、timeline
58+
入队事件、最终落地,队列分支仅在场时算;已死假说:已绿 PR 会静默空转。
5959
- **队列 ref 答 BUILD 不答成员资格**(旧读法「存在即在队」作废):`gh-readonly-queue/*` **只在存在
6060
**有意义(= 有 build 在跑),⛔ 缺席不是任何方向的读数。**阳性探针按成本序**:①
6161
`update_pull_request_branch` 回「Branches that are queued for merging cannot be updated」= 在队,正常返回顺

0 commit comments

Comments
 (0)