You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3faabd2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(pm-dispatch): a hold is a Blocked-by line on the card, every patrol picks per card, and a card thread confirms CI started (#36203) (#36205)
<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4Uu6w5evzMUfxv4RcRXpJou7e)_
repo:objectstack#1 · os-sales · session_01L6bhgXU3aQQzivgaDDU82c
Part of #36203 (items 1-5, the skill text; items 6-7, the scripts, stay
on the card)
Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 「同意五条都改」 — the maintainer's choice on the decision card
「同意按卡 #36203 的五条修改技能文字吗?」, 2026-11-22T07:25Z, ruling record 7075909669
on #36203
## 维护者速读
- 以后席位决定"这张卡等 #N 之后再做"时,要在卡上写 `Blocked-by: #N` 并挂
`pm:blocked`,不能只记在记忆里。#N 一合入,现有的解锁扫描就会把卡放回可派。
- 每轮巡查都要把手上车道和专题的卡逐张过一遍(`card-pick --why`),不再只在"报队列空"时才做。没有挡路理由的子卡当轮派出。
- 卡线程每次推送后 10 分钟内要核对 CI 真的开跑了、PR 没冲突;冲突的 PR 根本不跑 CI,所以先合 main 再推。等 CI
必须设兜底提醒。席位每轮读每个在飞卡 PR 的状态,遇到 0 检查、冲突、2 小时无动静就叫醒线程。
- 你 07:25Z 选了「同意五条都改」(裁决记录 7075909669),四个技能文件的字节上限按实测增量放宽。
## What changes
- `references/filing-gate.md`: the order between same-epic fleet cards
is the later card's `Blocked-by:` line, not a preference listed on the
epic card. This removes the contradiction with `seat-lifecycle.md` 56.
- `references/execution-duties.md`: deciding "this waits for #N" writes
`Blocked-by: #N` + `pm:blocked` on the card in the same stroke, never
only in memory or a comment. The ③ status probe covers card threads as
well as devs.
- `references/seat-lifecycle.md`: `card-pick.mjs --order <序> --why` runs
every patrol round over the lanes and epics the seat holds, not only
when the seat reports an empty queue. A card with no hold reason is
dispatched that round.
- Item 3's second arm (a card that is not dispatched gets its reason
written on the card) is not repeated in `seat-lifecycle.md` 90: it is
`execution-duties.md` 49 (a hold is a `Blocked-by:` line + `pm:blocked`
on the card, which then shows as a hold point in `card-pick --why`), and
restating it would need bytes the ruled ceiling does not have.
- `references/dispatch-runbook.md` (card-thread section), two lines: (1)
within 10 min after a push, the thread confirms that Actions started and
the PR is not `dirty` (a conflicting PR starts no `pull_request`
workflow), else it merges `origin/main` and pushes again; a CI wait sets
a `send_later` fallback of at most 30 min. (2) Each round, the seat
reads `pr-state.mjs` for every in-flight card PR and wakes the thread
that round on zero Actions 30 min after the push, `dirty`, or 2 h with
no push and no report.
## Why
The two misses on 2026-11-21, read in #36203: #35890 / #35892 sat
undispatched for 3 h and 8 h after their blockers closed, because the
hold lived only in memory. PR #35923 waited 15.5 h on a head with zero
Actions runs (it was already `dirty`), and its thread and the seat each
waited for the other.
## Verification
- `node scripts/pm/check-skill-line-ratchet.mjs`: green, 0 ✗. Ruling
record 7075909669 orders the text; `CEILINGS` rows move by exactly the
ruled deltas (dispatch-runbook 20070 → 20354, +284, the text itself +286
over main's 20068 because main sat 2 bytes under its old ceiling;
execution-duties 20154 → 20277, +123 (main's own +6 raise, ruling
7073679594, landed first); seat-lifecycle 9070 → 9076, +6; filing-gate
9096 → 9101, +5), each row quoting the id. `--self-test`: 116 cases
pass. Merging main (7971a71) took one byte of dispatch-runbook headroom
that main had used (20067 → 20068), so one space in the new CI line is
dropped to stay at the ruled 20354.
- The only script touched is the ratchet's `CEILINGS` table. No workflow
or published file changes. No changeset (nothing publishes;
`skip-changeset`).
## Human Minimum
- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(No `packages/spec` change.)
- [x] 2. Every name I added uses the casing for its kind. (None added.)
- [x] 3. No formatter ran; `pnpm lint` passes. (Markdown only.)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset. (Nothing
publishes.)
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed. (Not touched.)
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English. (The 维护者速读 section is
the maintainer's Chinese summary.)
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01L6bhgXU3aQQzivgaDDU82c
<!-- signed: repo:objectstack#1 · os-sales ·
session_01L6bhgXU3aQQzivgaDDU82c -->
---------
Co-authored-by: Claude <noreply@anthropic.com>
['.claude/skills/pm-dispatch/references/dispatch-runbook.md',20354],// raised 20070 → 20354 (+284) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): a card thread confirms Actions started after each push; the seat reads pr-state of every in-flight card PR
['.claude/skills/pm-dispatch/references/seat-lifecycle.md',9076],// raised 9070 → 9076 (+6) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): card-pick --why every patrol round
108
108
['.claude/skills/pm-dispatch/references/area-lease.md',6586],// raised 6401 → 6586 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053
109
109
['.claude/skills/pm-dispatch/references/coordinator.md',4265],// raised 3781 → 4265 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053
['.claude/skills/pm-dispatch/references/triage-duties.md',13559],// edited byte-neutral by the re-basing PR (12399 → 12399); raised 12399 → 13559 (+1160, the landed bytes) by the rulings whose rows are written in it: ruling records 7031931263 (rows 2–5: 「adr接受你的建议」, 「只考虑合并没人认领的,没开始开发的,你负责处理」, 「影响评测的卡不能关,这个会影响到AI的开发效果」, 「adr和skills修改相对是重要的」), 7032145340 (row 6: 「同意」) and 7032418455 (row 7: 「你分诊的时候是不是应该同时评估大概的卡大小作为参考」); review record 7038100802 triggered the part of rows 2, 3 and 6 added in fix round 1 (one close reason, the sweep roll-over, the never-fold list of standing exclusions) and is a trigger, not a ruling
116
-
['.claude/skills/pm-dispatch/references/execution-duties.md',20154],// raised 19810 → 20148 (+338) by ruling records 7031931263 (row 2, the weekly ADR card: 「adr接受你的建议」) and 7032145340 (row 6, the lane seat claims the weekly sweep card: 「同意」); 20148 → 20154 (+6) by ruling record 7073679594 (the L2 review effort line moves to `high` on the review sweep's readings: 「C」, under ruling 7073045669 point 4)
117
-
['.claude/skills/pm-dispatch/references/filing-gate.md',9096],// raised 8386 → 9096 (+710, the landed bytes) by the rulings whose rows are written in it: the rule card's body ruling (row 1, a dedupe hit on an open same-mechanism card ends in a comment: 「感觉你的第二种方案也很好啊」) and ruling record 7032145340 (row 6, the weekly sweep card entry rule and triage's move at first touch: 「同意」); review record 7038100802 triggered the quota line's pointer to row 1 (fix round 1) and is a trigger, not a ruling
116
+
['.claude/skills/pm-dispatch/references/execution-duties.md',20277],// raised 19810 → 20148 (+338) by ruling records 7031931263 (row 2, the weekly ADR card: 「adr接受你的建议」) and 7032145340 (row 6, the lane seat claims the weekly sweep card: 「同意」); 20148 → 20154 (+6) by ruling record 7073679594 (the L2 review effort line moves to `high` on the review sweep's readings: 「C」, under ruling 7073045669 point 4); 20154 → 20277 (+123) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): a hold is Blocked-by + pm:blocked on the card, the probe covers card threads
117
+
['.claude/skills/pm-dispatch/references/filing-gate.md',9101],// raised 9096 → 9101 (+5) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): same-epic order is the later card's Blocked-by; raised 8386 → 9096 (+710, the landed bytes) by the rulings whose rows are written in it: the rule card's body ruling (row 1, a dedupe hit on an open same-mechanism card ends in a comment: 「感觉你的第二种方案也很好啊」) and ruling record 7032145340 (row 6, the weekly sweep card entry rule and triage's move at first touch: 「同意」); review record 7038100802 triggered the quota line's pointer to row 1 (fix round 1) and is a trigger, not a ruling
118
118
['.claude/skills/pm-dispatch/references/project-forms.md',4889],// raised 4669 → 4889 (+220 B, the two project-memory lines less 48 B of restatement cuts) by ruling record 7046610679 「同意,立卡派发」 under ruling record 6184799323, letter B
0 commit comments