Repository navigation
Commit 555d699
docs(pm-dispatch): lane seats unlock their own blocked cards every round and first-touch the cards they file (#38592)
<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Jianguo** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbQVCT7pRad6gMxE3ZikELVC)_
Fixes #38569
Clause-②: no — skill rules text only; no published accept set or public
surface
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: the maintainer, verbatim, on the triage seat's self-triage
proposal (quoted in the body of #38569, recorded by triage record
7254553088), in the project thread at 2026-11-29T10:31Z: 「立卡改技能,现在就派发」
## 维护者速读
-
用户能看到什么变化:用户无感;车道席不再等分诊每小时一轮,自己把挡路卡已关的卡放回队列、给自己立的本车道卡补首触与审计、给已定级缺审计的卡补审计。
- 为什么做:今天 area:ai 有卡因等分诊多等了一小时到数天;这是分诊席提议、你批准的改法。
- 出错会怎样:车道给自己定级偏高或偏低,在分诊下一轮复审前有效;不碰域标签、p0、人工地板、cloud 卡和决策箱卡,合并后可直接撤回。
- 要你做什么:审过后亲自合并本 PR(技能常设规则须你合并)。
## What changes
Each rule is stated once, in the file that owns it; the other files
point at it.
| File | Change |
|:--|:--|
| `references/triage-duties.md` | The 「车道席自分诊」 exception widens from one
case to three, all on the lane's own cards and before a claim: ① the
existing case (a card blocking the lane's own in-flight work, p1/p2 with
named evidence); ② a card the lane seat files that stays in its lane is
first-touched in the filing round (area, type, grade by
`filing-gate.md`, size, audit); ③ a card `card-pick.mjs` lists as `no
triage audit` that already carries area, type and a grade gets its audit
record from the lane, grade unchanged. The record is the English
`Triage:`-first audit under the lane signature, a line-start
`Ruling-ref:`, and a last line `Review: triage`. Limits kept and
widened: no `domain:*`, no p0, no human-floor item, no cloud card, no
decision-box card, no fold, no close. Triage's side: each round it
reviews every record ending `Review: triage` since its last round,
replying with a line-start `First-touch review: confirmed` or
`First-touch review: re-graded pN — reason`, and runs the four
cross-lane checks (routing, cloud, dedupe/fold, decision box). |
| `references/execution-duties.md` | New line in the claim section: at
each patrol and before each claim, the lane returns its own `pm:blocked`
cards to `pm:queue` per `state-machine.md`'s unlock line, in one
`label-write` (replace). The unlock clause leaves idle chore ①. The
missing-audit line now self-audits a graded card (③) and knocks triage
only for a card missing a grade. |
| `references/state-machine.md` | The unlock line names who: the lane
seat every round, triage's daily scan as the backstop; the
read-before-release rule (line 21) is unchanged. |
| `references/filing-gate.md` | The fleet-filed-card line points a card
that stays in the filer's lane at ② for its same-round audit. |
| `references/lanes/objectstack.md` | Charter pointer: 「首触与 `domain:*`
归分诊(例外见 `triage-duties.md`)」. No other charter under `lanes/` or
`domains/` quotes the old narrow exception (`git grep 自分诊` on the base).
|
| `scripts/pm/check-skill-line-ratchet.mjs` | Five `CEILINGS` rows
raised to the landed bytes (table below). |
### Byte ceilings (ordinary ruled raise)
Each row is raised by exactly its file's measured delta (`wc -c` on this
head minus the `origin/main` ceiling); ruling record 7254553088, the
maintainer's 「立卡改技能,现在就派发」. Because a ceiling raise is a human-floor
item, the maintainer also confirmed this raise in the project thread at
2026-11-29T13:08Z, verbatim: 「同意把技能文件的字节上限抬高。」
| File | Ceiling before | Landed bytes | Delta |
|:--|--:|--:|--:|
| `triage-duties.md` | 13692 | 14161 | +469 |
| `execution-duties.md` | 22249 | 22434 | +185 |
| `filing-gate.md` | 9124 | 9188 | +64 |
| `state-machine.md` | 4189 | 4243 | +54 |
| `lanes/objectstack.md` | 2493 | 2500 | +7 |
## Readers (no tool change)
- **H74 / `card-pick.mjs` `no triage audit`**: `isTriageAuditRecord`
reads any comment whose first non-signature line opens `Triage`
(`TRIAGE_RULING_ANCHORS`, `^triage\b`) whatever the signature; the
battery row "H74 control: the same `Triage:` opening under a LANE
signature still reads (a self-triage record)" pins it. So records ② and
③ satisfy the claim gate as written; `check-half-states.mjs` is
unchanged.
- **H33 (a ruling posted after the claim)**: triage's review spelling
`First-touch review:` deliberately opens with none of the
`TRIAGE_RULING_ANCHORS`, so a confirmation on an already-claimed card
does not raise an H33 row. A re-grade still lands through `label-write`;
the grade-ownership reader there treats a `Ruling-ref:` that names no
grade as the fleet's (header of `scripts/pm/label-write.mjs`), so
triage's re-grade of a self-triaged grade is not refused.
- **`Review: triage`** and **`First-touch review:`** are line-start
keys, so the owed and the done reviews are both countable by a comment
search.
## Acceptance notes
- `SKILL.md` line 182 (「`domain:*` 与队列只由分诊落笔」) and line 183 (self-triage
is the third exception, housed in `triage-duties.md`) are unchanged: the
second already points at the widened exception, and the unlock is a
return to the queue the lane already did as an idle chore, not a first
queueing.
- `references/area-lease.md`'s W0 filing row already reads 「定级照
`filing-gate.md`(自分诊例外住 `triage-duties.md`)」, which stays accurate; it
is not edited.
- No changeset: `.claude/**` and `scripts/pm/**` publish nothing
(`skip-changeset`).
## Verification
Local readings at head `b31ef637` (merge of `origin/main` `1d19acfe`;
the only conflict was the byte-ceiling table, where main had lowered
`lanes/objectstack.md` to 2493 and moved neighbouring rows).
<details><summary>Derived gates: 43 of 43 run, exit 0</summary>
`node scripts/pm/dispatch-gates.mjs --ran` reconciliation: 43 derived,
43 run, 0 NOT-MEASURED, 0 UNRUN.
- `pnpm check:pm-skill-ratchet`: exit 0 (the five raised rows at
headroom 0).
- `pnpm check:pm-half-states`, `check:pm-label-write`,
`check:pm-record-recognisers`, `check:pm-governed-merges`,
`check:pm-prior-rulings`, `check:pm-skill-id-lint`,
`check:doc-authoring`, `check:nul-bytes`, `check:skill-frame-sync`: exit
0.
- `pnpm check:pm-dispatch-gates` (fast tier): 2615 cases pass in 382 s.
- `check:doc-formula-expressions` exit 0 after `turbo run build
--filter=@objectstack/formula --filter=@objectstack/lint` under
`os-verify-lock` (its prerequisite; exit 3 before).
- The remaining derived families (closing-keyword parity, comment-mask
corpus, harness-current, adr-anchors, declaration mirrors, self-test
wiring, pnpm filter/flag spellings, entry/parse guards, ratchet-remedy
authority and the rest): exit 0.
</details>
Two-minute check: `node scripts/pm/check-skill-line-ratchet.mjs` prints
the five rows at headroom 0, and `git diff origin/main -- .claude` shows
the three-case exception in `triage-duties.md`.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01QsR2jUPjvfHUbMWc8sjXYZ)_
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01QsR2jUPjvfHUbMWc8sjXYZ
<!-- signed: repo:objectstack#1 · zhuangjianguo ·
session_01QsR2jTsdScTh3o2fSjbxSz -->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent d33183a commit 555d699
6 files changed
Lines changed: 18 additions & 14 deletions
File tree
- .claude/skills/pm-dispatch/references
- lanes
- scripts/pm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
0 commit comments