Skip to content

Commit 3116d24

Browse files
os-steveclaude
andauthored
tooling(pm): the partial-dispatch landing is a release — one SKILL.md rule, one report-only sweep row (H49) (#16040)
SKILL.md (認领 family, line-neutral 811/811): a PR that lands ONE item of a card carries `Refs #N (item k)` and never `Fixes`; its landing releases the card in the landed form — same write back to `pm:queue` (+ `pm:retriage` when a remaining item needs a re-lane or a split), assignee cleared, a `Release:` line naming the landed item and where the remaining items go; the remainder is re-claimed from the queue. Paid for by two folds in the 状态模型 prose (not-planned closure; the pin-consumer exemption). check-half-states.mjs: H49 (band `state`, report-only) — an open `pm:dispatched` + assigned card whose newest `Refs`-linked PR is MERGED while no `Release:` or `Claim:` on the thread is newer than that merge. `refsTargets` joins H7's extractors with H7's strictness; the PR side is H8's merged window plus the open listing; the thread is H2's read. Coverage pair, summary clause, registry band, 108 self-test cases (2427 → 2535, none dropped). Tidiness, same file: H24's remedy and H47's two legs now read `RELEASE_ACT_RULE`; the two docblocks that cited SKILL.md line numbers keep their quotes and drop the numbers. Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox Co-authored-by: os-dev <noreply@anthropic.com>
1 parent c252041 commit 3116d24

2 files changed

Lines changed: 429 additions & 14 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
127127
- hold 放行须双查:只放最近一次转换评论的条件,其后卡上有更新的 merged PR 即拒。
128128
- `Unlock-action: re-check PR #M` 行改写完工卡的解锁动作,只认此一值,别的拼写静默回落。
129129
- `needs-user-decision` 是决定待做,`pm:on-hold` 是决定已做;`manual — <理由>` ⛔ 不是合法出口。
130-
- 没有机制能唤醒的卡 ⛔ 不 hold:关 not planned,理由与出处写进关单评论。
131-
- 关 not planned 的卡重开免费,维护者可否决。
130+
- 无机制可唤醒的卡 ⛔ 不 hold:关 not planned,理由/出处载关单评论;重开免费,维护者可否决。
132131
- 缺陷卡 ⛔ 不藏进 hold 也不自行关闭:可复现且用户可达 ⇒ 回 `pm:queue`
133132
- declared≠enforced 观察类 ⇒ 转 enforce-or-remove 通道;真 won't-fix 候选 ⇒ 逐卡进决策箱。
134133
- 机会主义重启条件必须点名触发文件。
@@ -143,8 +142,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
143142
- 以发布包消费上游的仓,解锁放回前先验修复已进可安装的发行版。
144143
- 安装面探针:装上的包是否接受新键/新行为。
145144
- 未发版 ⇒ 转 `pm:on-hold` + `Restart-when:` 加消费方安装面判据,⛔ 不回 `pm:queue`
146-
- 该 hold 评论预写唤醒后的派发形状。
147-
- pin 消费的仓不适用本条:pin 移动即可安装,照旧走 pin 滞后读数。
145+
- 该 hold 评论预写唤醒后的派发形状;pin 消费的仓不适用:pin 移动即可安装,走 pin 滞后读数。
148146
- 状态变更不过夜:标签无评论、assignee 无认领评论、结论只在 chat,都是半状态。
149147
- 半状态在结束会话(含限流悬挂)前补齐成对或回滚半边;report-only 巡查见守卫索引。
150148
- 等待他座位也是状态,写在卡上才存在(等谁、自何时),⛔ 不留在会话记忆。
@@ -464,6 +462,8 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
464462
- 同账号多会话共享 GitHub 身份:assignee 只回答有 agent 认领了,认领评论承载身份。
465463
- assignee 字段归 PM:原子对 step 1 设,dev 席恒不写它;跨账号 assignee 不是你 ⇒ 永不碰。
466464
- 释放是显式动作:让卡离手者同笔清 assignee + `Release:` 行(会话/因/去向);下一任重新认领。
465+
- 部分落地(PR 带 `Refs #N (item k)`,⛔ 不 `Fixes`)即释放:合入同笔回 `pm:queue` + 清 assignee。
466+
- 同笔 `Release:` 行点名已落项与余项去向;余项需换道/拆分加 `pm:retriage`,自队列重新认领。
467467
- 派发前按序执行原子对:① Assign @me,并把 `pm:dispatched` 与摘 `pm:queue` 放进同一次标签写入。
468468
- step ① 之后获得 assignee 的直接弃出本批。
469469
- ② 认领评论(英文),固定形状见 模板与表 节;首行以字面 `Claim:` 开头是机器判据。

0 commit comments

Comments
 (0)