Repository navigation
Commit 2d56684
docs(pm-dispatch): count the 3,000-line review line per single PR on the seat side (#38897)
<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBAaFqBXVHz1V3gDNV3Gped3)_
Refs #38296
Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 「也撤,全部只按单个 PR 算」 (the maintainer's choice on the seat's
decision card, 2026-12-01 10:19:48Z, recorded on #38296 in comment
7308037857, to the question 「「按单个 PR 算」是否也撤掉席位那边的「按卡合计」?」)
## 维护者速读
- 用户无感:席位技能里 3,000 行人审线从「按卡合计」改成「按单个 PR 算」,和守卫脚本、开发指令一致。
- 是你 10:19 选的「也撤,全部只按单个 PR 算」;只改四份席位文字(两处按卡合计,加四行「过线卡」改回原来的按 PR
写法),不碰脚本和守卫。
- 「不为压线拆卡」只在开发指令里(#38878 那一行),席位文字不另加;「拆分仍交维护者」原文保留;撤回本 PR 即恢复按卡合计的文字。
- 无。
## What changes
The seat skill counted the 3,000-line human-review line per card in two
places, and four more lines named an over-line card (「过线卡」, a term those
two places defined). All of them now count per single PR:
- `.claude/skills/pm-dispatch/references/landing-operations.md`, in the
landing bullets:
- The 「行数线按卡计」 bullet and its example (two 2,000-line PRs of one card
are both Tier H) become: the line is counted per single PR; a PR over
3,000 changed lines (additions + deletions, generated files included) is
Tier H, and every other PR of the same card is tiered on its own size.
- The next bullet loses 「卡合计席位自加」 (the seat adding up the card total)
and now says `--pr N`, the queue guard and the relay all read the single
PR. It keeps 「拆分仍交维护者」 and 「派发令 ⛔ 不写「停下提拆分」」 as written.
- In the front-of-queue bullets, 「过线卡的 PR 须授权批准…」 goes back to its
wording before #38280: 「逾 3,000 行须授权批准…」.
- `.claude/skills/pm-dispatch/references/area-lease.md`: 「受管面与过线卡的 PR 区
⛔ 不落」 becomes 「受管面与超 3000 行 PR 区 ⛔ 不落」. That is its wording before
#38280, with the thousands comma dropped to fit the file's byte ceiling.
- `.claude/skills/pm-dispatch/references/lanes/queue.md`: 「三因至过线卡」 and
「过线卡各 PR 的批准」 go back to 「三因至逾 3,000 行」 and 「逾 3,000 行 PR 的批准」, as
before #38280.
- `.claude/skills/pm-dispatch/SKILL.md`, in 路径分叉: 「按卡合计 >3000 行」 becomes
「单个 PR >3000 行」. The rest of the line (the four-part hand-off, no Tier S
exception) is unchanged.
No script, guard, workflow or other rule file is touched. The guards
already count per single PR.
## Why
The maintainer ruled at 08:14Z that the guards count per single PR
(#38296 comment 7305111979), and #38878 forbade a dev from splitting a
card to dodge the line. The seat skill still told seats to add up a
card's PRs. Asked whether that sum goes too, he chose 「也撤,全部只按单个 PR 算」
(comment 7308037857). This PR makes the seat text agree.
## Tests
Text only. No code changed and no test applies.
## Acceptance notes
- **Round-1 contract review (comment 7308587752), each finding:**
- S1 (should-fix), the seat-side no-split clause went beyond the ruling:
dropped. The no-split rule lives only in the dev instructions, as his
card choice 「只在开发指令加一行」 said.
- S2 (should-fix), 「过线卡」 still appeared in `landing-operations.md`,
`area-lease.md` and `lanes/queue.md` after its definition was removed:
all four lines go back to their per-PR wording from before #38280.
- N1 (nit), the byte figures in this body were stale: corrected below.
- The ratchet ceilings are not raised; every file holds under its row:
- `SKILL.md`: 33,324 of 33,327 bytes.
- `landing-operations.md`: 10,592 of 10,705 bytes.
- `area-lease.md`: 7,220 of 7,220 bytes.
- `lanes/queue.md`: 1,992 of 1,992 bytes.
- The widest-row pins are unchanged.
- No other `.claude/**`, `AGENTS.md` or `skills/**` text sums PRs per
card or names an over-line card. A search for 按卡计, 按卡合计, 卡合计, 过线卡,
per-card and card total finds nothing else.
- #38296 may already be closed by #38878, so this pull says `Refs`.
- Changeset: none. `.claude/**` is not published (fast path), so
`skip-changeset` rides on this create.
**Read first:**
`.claude/skills/pm-dispatch/references/landing-operations.md`, the two
rewritten bullets after 「⛔ 两层不由席位批准」.
## Verification
**Two-minute check:** run `pnpm check:pm-skill-ratchet`. You should see
`SKILL.md is 33324 bytes (ceiling 33327; headroom 3)`,
`landing-operations.md is 10592 bytes (ceiling 10705; headroom 113)`,
`area-lease.md is 7220 bytes (ceiling 7220; headroom 0)` and
`lanes/queue.md is 1992 bytes (ceiling 1992; headroom 0)`.
<details><summary>dispatch-gates command list</summary>
`node scripts/pm/dispatch-gates.mjs --commands` for these four paths
derived 25 commands, all run locally on a fresh install at head
`050a5efd`:
- 24 passed (exit 0), among them `check:pm-skill-ratchet`,
`check:pm-governed-merges`, `check:pm-expected-skips` and
`check:doc-authoring`.
- 1 PREREQUISITE NOT MET (exit 3): `pnpm --filter @objectstack/lint run
check:doc-formula-expressions` needs the lint and formula packages
built. Nothing was measured, and this diff touches no doc formula.
</details>
## Human Minimum
- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(Not touched.)
- [x] 2. Every name I added uses the casing for its kind. (None added.)
- [x] 3. No formatter ran; `pnpm lint` passes.
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the 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. (Except the quoted
rule text and the 维护者速读, as the fleet rules allow.)
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01WGufziVTGyPT8jQDhRuAu5
<!-- signed: repo:objectstack@os-support-ai · os-support-ai ·
session_01WGufziVTGyPT8jQDhRuAu5 -->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 472d3c5 commit 2d56684
4 files changed
Lines changed: 7 additions & 8 deletions
File tree
- .claude/skills/pm-dispatch
- references
- lanes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments