Skip to content

Commit 555d699

Browse files
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/execution-duties.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
- 阻塞项无主 ⇒ 被挡席认领做掉,不限大小;在该卡走完整认领、尊重其热文件串行队。
4646
- 阻塞项在飞 ⇒ 等;卡 PR 叠未合 PR 或 `Blocked-by:` 未合的,合前 ⛔ 不开线程(维护者令除外)。
4747
- 定「等 #N」即同笔写卡 `Blocked-by: #N`+`pm:blocked`;⛔ 只记记忆或评论,无读者即漏派。
48+
- 解锁:每次巡查与认领前,本车道 `pm:blocked` 卡照 `state-machine.md` 解锁行一笔 `label-write`(replace)回 `pm:queue`。
4849
- 标签序 = NORTH-STAR「Priority」第 3 条(无级殿后),本车道开放卡现读 `card-pick.mjs --order <序>`。
4950
- 开放 = 未派发(无 `pm:dispatched`、无 assignee);在飞的 P0/P1 不挡任何候选,只余取卡全序。
5051
- `card-pick.mjs` 每行印 `domain:*`,读作文件归属;cloud 与安全卡照旧不认领。
@@ -55,12 +56,12 @@
5556
- 一车道多席按全序交替取卡:席 1 奇位、席 2 偶位;只为破交替才发 `split`;认领戳仲裁。
5657
- 周清扫卡归本车道席认领,一 PR 至多约十条互不相关的行;未做到的行滚入下周卡。
5758
- 空闲杂务:无卡可认领或等分诊的车道席对本车道卡做下四件;⛔ 不定级,自分诊例外照旧。
58-
- ① 交付卫生:交付卡补收尾记录;离手摘 `pm:*` 同笔设下一态;`Blocked-by:` 全关即重验回队。
59+
- ① 交付卫生:交付卡补收尾记录;离手摘 `pm:*` 同笔设下一态。
5960
- ② 最老 open 卡对 `origin/main` 复读前提与修否并贴证据;已修交分诊或维护者关,⛔ 不自关。
6061
- ③ 新卡预读:复现、查重查询与命中数、一行 `Suggested-grade: p<n> · <理由>`;⛔ 不写级标签。
6162
- ④ 本车道 `finding` 卡补缺的 `reach:` 或复现,或写明为何不合三类。
6263
- ⛔ 不静默等分诊:敲信箱键(`project-forms.md`);报「等分诊」须引所敲评论 id,引不出即未问。
63-
- 缺审计评论当轮敲 `Request: triage · #n · first-touch audit`,分诊空席敲总监,⛔ 不改报维护者。
64+
- 缺审计评论而已带 area、type、级 ⇒ 当轮自补(`triage-duties.md` 自分诊 ③),缺级才敲 `Request: triage · #n · first-touch audit`,分诊空席敲总监,⛔ 不改报维护者。
6465

6566
## 认领(先认领后动工)
6667

‎.claude/skills/pm-dispatch/references/filing-gate.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
- POST 前正文答四件:类别、业务理由、动手的读者(哪席哪步)、查重查询与命中数(含已关)。
3232
- 查重命中 open 卡且修复同机制或同文件:它无认领或归本席 ⇒ 在其下评论(何事、何处、证据、建议级),⛔ 不立卡;
3333
归他席认领 ⇒ 照常立卡,`Dedupe:` 行点名它。评论抬严重度或可达面同笔挂 `pm:retriage`(人定的级除外),分诊答复定级,⛔ 立卡人不改;只读现有查重返回的卡。
34-
- 车队立的卡(席位、代立发现、清单、分诊)建卡带 area、type、级与正文定级行,缺一拒收。
34+
- 车队立的卡(席位、代立发现、清单、分诊)建卡带 area、type、级与正文定级行,缺一拒收;留本车道者同轮补审计(`triage-duties.md` 自分诊 ②)。
3535
- 维护者或外部人立的卡由分诊首触补齐 area 与 type;人定的级 ⛔ 不改,分诊与各席同此。
3636
- 改级前读现级末次 `labeled` 事件:带 `performed_via_github_app` 或 bot actor 才算车队,余人定。
3737
- 代维护者落的级:同笔评论行首 `Ruling-ref: priority:pN` 引原话才算人定;⛔ 不凭 bot 判车队。

‎.claude/skills/pm-dispatch/references/lanes/objectstack.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- 一个账号在本车道恒一席;席接哪些 `area:*` 是该席的属性,写在座位贴标题与接卡行。维护者再点一个 `area:*` 是改该席的接卡面并在席内分区,⛔ 不另开席(`coordinator.md` 一)。
99
- 每席照 area-lease.md 分区运作:区线程、L1 线程、区内落地;本文只写全仓与多席特有者。
1010
- ⛔ 非单车道仓席:cross-repo-coordination.md 单车道仓条、seat-lifecycle.md 单车道仓行不适用。
11-
- 首触与 `domain:*` 归分诊(`triage-duties.md`);本车道立卡带 area/type/级,⛔ 不产、不改 `domain:*`。
11+
- 首触与 `domain:*` 归分诊(例外见 `triage-duties.md`);本车道立卡带 area/type/级,⛔ 不产、不改 `domain:*`。
1212
- ⛔ 不给卡挂 `repo:objectstack` 标签:按仓认卡;该标签已退流通。
1313

1414
## 范围

‎.claude/skills/pm-dispatch/references/state-machine.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- 工已完而被门禁缺陷卡住者同用本态,⛔ 不设新标签、不重派;`Blocked-by:` 指向门禁卡。
3131
- 正文行 `Unlock-action: re-check PR #M`(重查落地)或 `re-check #N when label <标签> <absent|present>`。
3232
- 只认此二值,别的拼写静默回落重派,散文另起行;停放的 PR 正文须点名那张门禁卡。
33-
- 目标全关(PR 已合并)⇒ 每日扫描过可安装检查,一条评论放回队列;仍有阻塞即改写该行。
33+
- 目标全关(PR 已合并)⇒ 车道席每轮(`execution-duties.md`)、分诊每日扫描兜底,过可安装检查,一条评论放回队列;仍有阻塞即改写该行。
3434
- 每日扫描另报:blocked 卡无该行或无 open 目标,互挡与成环,挡路卡级低于所挡,hold 不一致。
3535
- 挡路卡取自身与所挡 open 卡(同仓跨仓同)里最高的级;人定的级 ⛔ 不动,由扫描报维护者。
3636
- `scheduled-full-run-card.yml` 经 `scripts/ci/scheduled-full-run.mjs` 刷新小时红卡时亦放回,规则更窄:

‎.claude/skills/pm-dispatch/references/triage-duties.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@
2929
- 主干全量红与确定性队列红首触定 p0(锚卡、根因卡、full-run 卡);flake 锚卡判确定性才升。
3030
- 例外:一签名 2h 内踢 ≥2 独立 head 组的队列 flake 即 p0;修复合入关卡,2h 无新踢按上行定。
3131
须失败用例 `main` 已有;一 PR 后叠组算一 head,其新红测试即出队;计数插队见 `lanes/queue.md`。
32-
- 车道席自分诊:本车道卡挡自有在飞(认领卡/PR/落地/拆分链)且证据清楚,方可首触定 p1/p2。
33-
- 证据 = 卡上引具名失败 check/run、复现读数或 pin 测试;记录照分诊格式贴卡,请分诊复审。
34-
- 行首 `Ruling-ref:` 引本例外裁决原话;⛔ 不改 `domain:*`、不定 p0(归 main-red)、不碰人工地板。
35-
- 分诊每轮读上轮以来新贴的自分诊记录,逐条回复确认或改判;复审前席位定级有效。
32+
- 车道席自分诊三例,限本车道卡、认领前做:① 卡挡自有在飞(认领卡/PR/落地/拆分链)且证据清楚,可首触定 p1/p2,
33+
证据 = 卡上引具名失败 check/run、复现读数或 pin 测试;② 自立且留本车道的卡,立卡同轮首触 area、type、级
34+
(`filing-gate.md`)、size 与审计;③ `card-pick.mjs` 报 `no triage audit` 而已带 area、type、级 ⇒ 只补审计,⛔ 不改级。
35+
- 记录 = 车道签名下英文 `Triage:` 首行审计,行首 `Ruling-ref:` 引本例外裁决原话,末行 `Review: triage`。
36+
- ⛔ 不改 `domain:*`、不定 p0(归 main-red)、不碰人工地板、cloud 卡与决策箱卡,不并卡、不关卡。
37+
- 分诊每轮复审上轮以来末行 `Review: triage` 的记录,回帖行首 `First-touch review: confirmed` 或
38+
`First-touch review: re-graded pN — 理由`,并做跨车道四查(路由、cloud、查重并卡、决策箱);复审前席位定级有效。
3639
- 分诊定级轮读车道 `Suggested-grade:` 行:是输入不是定级,确认或改判,不采纳给理由。
3740
- 分类动作每张三选一,外加一个修复通道;裁定写方向、给六态之一。
3841
- 日对账 fire 读 `check-half-states` 阻塞与决策诸行,照 `state-machine.md` 处置;卡号进轮次记录。

0 commit comments

Comments
 (0)