From b5b6e09b47b6f4918444ecb2344a1f84c350fee5 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 5 Dec 2026 13:50:35 +0000 Subject: [PATCH 1/3] =?UTF-8?q?fleet(pm-dispatch):=20seat-by-account=20rev?= =?UTF-8?q?iew=20nits=20=E2=80=94=20takeover=20order=20defined,=20seat=20n?= =?UTF-8?q?ames=20and=20readers=20reconciled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - project-forms.md: the forced takeover order is the maintainer's own sentence naming the account whose cards are taken; an instruction line never is (ruling record 7438543698, option A). seat-lifecycle.md and coordinator.md point at it. - coordinator.md: drop the "as usual" seating line that contradicted ask-once. - seat-post-protocol.md: the director carve-out beside the seat-name rule; reclaim wording that read as a seat changing hands. - lanes/cloud.md: the order directory is keyed by the account seat. - seat-numbers.mjs / check-half-states.mjs: the table has two readers; how a wrong row is corrected is stated. - topic-board.mjs: a claim's seat prints as the id readers compare. - check-owed-reviews.mjs / fleet-roster.mjs: printed text names LANE@ACCOUNT first. - Ratchet rows lowered to the landed sizes; no raise. Claude-Session: https://claude.ai/code/session_016WV4cwiNRyb9B38wT2fjYj Co-authored-by: Claude --- .../skills/pm-dispatch/references/coordinator.md | 3 +-- .../skills/pm-dispatch/references/lanes/cloud.md | 2 +- .../skills/pm-dispatch/references/project-forms.md | 9 ++++----- .../skills/pm-dispatch/references/seat-lifecycle.md | 3 +-- .../pm-dispatch/references/seat-post-protocol.md | 10 +++++----- scripts/pm/check-half-states.mjs | 4 ++-- scripts/pm/check-owed-reviews.mjs | 5 +++-- scripts/pm/check-skill-line-ratchet.mjs | 10 +++++----- scripts/pm/fleet-roster.mjs | 2 +- scripts/pm/seat-numbers.mjs | 11 +++++++++-- scripts/pm/topic-board.mjs | 13 ++++++++++--- 11 files changed, 42 insertions(+), 30 deletions(-) diff --git a/.claude/skills/pm-dispatch/references/coordinator.md b/.claude/skills/pm-dispatch/references/coordinator.md index 7e0197b0b84..433edf34b0a 100644 --- a/.claude/skills/pm-dispatch/references/coordinator.md +++ b/.claude/skills/pm-dispatch/references/coordinator.md @@ -6,10 +6,9 @@ - 项目管哪些车道只由项目指令声明;每条车道开一个席位线程,坐本账号在该车道的座位贴(无则问维护者一次)。 - 一个账号在一条车道恒一席,席不过户。维护者对本项目已有席的车道再点 `area:*`(「接 area:X」「再开一个 area:X」)⇒ 交给该席:席把 `area:X` 写进座位贴标题与接卡行,照 `area-lease.md` 分区(自开一区或并入现有区);⛔ 不另开席位线程、座位贴、信箱或巡检。 -- 车道没有本项目的席时照常开席;下文 L2 积压加开照旧。 - 席位线程在贴的说明段写「由 X 账户的项目负责」;贴协议与互斥照 `seat-lifecycle.md`。 - 座位贴 🟢 写他账号 ⇒ 是他账号的席;仲裁者是座位贴,⛔ 不是项目记忆。 -- ⛔ 不坐别席,另一项目在飞卡由其席跟完;维护者强制接管令照 `project-forms.md`,只取卡。 +- ⛔ 不坐别席,另一项目在飞卡由其席跟完;维护者强制接管令及其认定照 `project-forms.md`,只取卡。 - L2 积压 ⇒ 在本账号的 `l2-review` 席下加开一条线程,⛔ 不先问维护者,开后在项目聊天说一句。 - 积压 = 就绪 head 等 L2 记录逾约 30 分钟,或在座审核席人均排队逾约 3 个 head。 - 加开线程按认领分行;队列排空即签退,⛔ 不留闲线程;用量墙照第六节。 diff --git a/.claude/skills/pm-dispatch/references/lanes/cloud.md b/.claude/skills/pm-dispatch/references/lanes/cloud.md index e0c3b994539..5e19ff7bb77 100644 --- a/.claude/skills/pm-dispatch/references/lanes/cloud.md +++ b/.claude/skills/pm-dispatch/references/lanes/cloud.md @@ -6,7 +6,7 @@ - 本车道为单车道仓执行座位,席 `repo:cloud@ACCOUNT`:在 cloud 仓认领、派发、L1 审核、落地。 - cloud 卡首触归本车道,⛔ 不归分诊(`triage-duties.md` 日对账条);分诊只做下文兜底。 -- 卡线程派发令住项目文件的 `pm-orders/cloud/seatN/` 目录。 +- 卡线程派发令住项目文件 `pm-orders/cloud/ACCOUNT/` 目录。 - 范围:cloud 全仓;本仓 `domain:cloud`+`repo:cloud` 卡认领前先转入,转法与例外照多仓协调规则 1。 ## 常设承诺 diff --git a/.claude/skills/pm-dispatch/references/project-forms.md b/.claude/skills/pm-dispatch/references/project-forms.md index 23da8b42e54..6a059fdeeec 100644 --- a/.claude/skills/pm-dispatch/references/project-forms.md +++ b/.claude/skills/pm-dispatch/references/project-forms.md @@ -9,7 +9,7 @@ ## 指令行即召唤 - 项目指令只有一行:`pm-dispatch <席位> [<席位>…]`,如 `pm-dispatch 总监`、`pm-dispatch cloud qa`。 -- 首词恒为技能目录名 `pm-dispatch`;⛔ 不用 `fleet`,它已是 bot 与中继的名字。 +- 首词恒为技能目录名 `pm-dispatch`;⛔ 不用 `fleet`。 - 席位词 = 中文名或车道文件名:总监 = `director.md`,分诊 = `triage.md`,L2 或复核 = `l2-review.md`。 - 其余席位词同 `lanes/` 下文件名(去 `.md`),如 cloud;验证 = `qa`+`eval` 一席。 - 一车道多席:协调者取本账号的那一席(`LANE@ACCOUNT`);无则问维护者一次,⛔ 不坐他账号的席。 @@ -19,14 +19,13 @@ - 项目的席位 = 🟢 行写本账号的座位贴;派发前先读座位贴。 - 指令行就是指派:维护者在项目里写下或改写这一行,是唯一的指派动作。 -- 项目聊天里的长句(「本账户坐 X;Y 的 PR 由本账户复审」)是等价写法。 +- 项目聊天里的长句是等价写法。 - 坐席即把本账号写进 🟢 行、每席开一条席位线程;⛔ 无花名册文件。 ## 接管不等撞墙账号 -- 席不过户;维护者强制接管令只取卡,逐卡照下行。 -- 四件形状见 `execution-duties.md` 认领节;台账 = 标签 + assignee + `Claim:` + `head:claude/` PR。 -- 台账按 `assignee:<旧登录名>` 读;⛔ 项目记忆与共享目录永不是台账,只是本账号的缓存。 +- 席不过户;强制接管令 = 维护者点名被取卡账号的原话(项目聊天或其本号评论),指令行永不是;只取卡,逐卡照下行。 +- 台账 = 标签 + assignee + `Claim:` + `head:claude/` PR(形状见 `execution-duties.md` 认领节),按 `assignee:<旧登录名>` 读;⛔ 项目记忆与共享目录永不是台账,只是本账号的缓存。 - 项目记忆只存维护者原话(带时间)与技能指针,⛔ 不复述规则;与技能相左 ⇒ 照技能,删该行。 - 维护者裁决与技能相左 ⇒ 当日立技能卡,记忆行点名它,合并即删;技能 PR 合并 ⇒ 协调者照改动行查记忆。 diff --git a/.claude/skills/pm-dispatch/references/seat-lifecycle.md b/.claude/skills/pm-dispatch/references/seat-lifecycle.md index f72509b00c9..77eab2dfb61 100644 --- a/.claude/skills/pm-dispatch/references/seat-lifecycle.md +++ b/.claude/skills/pm-dispatch/references/seat-lifecycle.md @@ -23,12 +23,11 @@ - 项目席的贴是存根,只留他账号要读的;模板见 `seat-post-protocol.md`。 - 存根外的姿态、台账与轮报住项目;标题、assignee、坐席审计评论与收班简报照旧。 - 正文只由在任座位 PM 编辑且为权威;标题(仅慢状态)与 assignee 是派生视图,三者同笔更新。 -- 维护者强制接管令取队列、在飞卡、未起工卡与待落地 PR,⛔ 不取席位(席不过户);⛔ 不等原认领者注记。 +- 维护者强制接管令(`project-forms.md`)一次性取其所言,未言取队列、在飞卡、未起工卡与待落地 PR;⛔ 不等原认领者注记。 - 子代理 dev 的返回消息、探活与续派只在派发会话;落地或 `Release:` 后归新席位。 - 贴内只放指向车道文件的指针,升级走技能 PR,⛔ 不手抄接力。 - 写侧刷新点 = 轮次边界;中途状态由卡上 claim 评论与指针行、PR 上 `## 席位核对` 承载。 - 读侧只读贴正文 + 晚于正文最后编辑的评论;刷新前读完评论、回执未读敲门,再刷。 -- 热文件串行队是正文具名段:收 `area-lease.md` 重叠检查排后的卡与车道章程点名的串行链。 - 座位贴每仓登记合并是否对外发布及其验证层;登记缺失视为未验证。 - 无心跳,活性归分诊巡查:>24h 无自有产出 ⇒ 敲门记轮次;贴降级同笔归兄弟席,无则总监。 - 满 `RECLAIM_AFTER_HOURS` 无答 ⇒ 兄弟席 `label-write.mjs --release`;无则总监释放(`triage-duties.md`)。 diff --git a/.claude/skills/pm-dispatch/references/seat-post-protocol.md b/.claude/skills/pm-dispatch/references/seat-post-protocol.md index 2d09500f1e6..d91fe3faeff 100644 --- a/.claude/skills/pm-dispatch/references/seat-post-protocol.md +++ b/.claude/skills/pm-dispatch/references/seat-post-protocol.md @@ -4,13 +4,13 @@ - 四段现值由在任座位在写侧刷新时收缩;⛔ 岗位说明 PR 不代改贴正文。 - 标题即状态板,固定格式 `[PM seat] <座位名> — <状态>`;`label:pm:seat` 列表页即舰队状态板。 -- 座位名恒为 `LANE@ACCOUNT`,各车道同,`@` 前后无空格;一账号一车道一席一贴,席不过户。 +- 座位名恒为 `LANE@ACCOUNT`(总监席除外),`@` 前后无空格;一账号一车道一席一贴,席不过户。 - 状态词表:`🟢 ` 在任、`🟢 Routine`、`⏳ vacant`、`⏸️ paused`。 -- assignee = 在任 PM 的 GitHub 账号,退场或回收时摘除;无 assignee = 空缺,与标题互校。 +- assignee = 在任 PM 账号,退场或置空时摘除;无 assignee = 空缺,与标题互校。 - 例外:Routine 座位的 bot 通常不可 assign,以标题为准。 - 直连多场总监席:`🟢` 后写召唤账号,逐场一行;项目席 🟢 即指派,接管见 `project-forms.md`。 - 当前 PM 段登记三元:GitHub 账号(`get_me` 自查)、会话 ID 或 Routine ID、上任时刻。 -- 审计与认领评论的作者字段是平台盖章的硬读数,接管仲裁与活性判定优先用它对账正文。 +- 审计与认领评论的作者字段是平台盖章硬读数,坐席仲裁与活性判定优先用它对账正文。 - 信箱敲门同按作者字段:只认 `objectstack-fleet[bot]` 与 `GOVERNED_APPROVERS`(`readMailboxComment`)。 - 班次叙事 ⛔ 不进贴正文:逐卡状态在卡与 PR 上必填,合计走轮次报告。 - 存根四项:在座账号与项目 · 上任时刻 · 热文件串行队 · 指针行「姿态台账住项目」。 @@ -24,8 +24,8 @@ ## 活性、写侧刷新与收班 -- 活性惰性半边在接管冲突时评估一次:Routine 座位查调度器 `last_fired` 与 `next_run`。 -- 会话座位查最新产出评论的时间戳;回收 = 改正文 + 审计评论。 +- 活性惰性半边在坐席冲突时评估一次:Routine 座位查调度器 `last_fired` 与 `next_run`。 +- 会话座位查最新产出评论的时间戳;置空 = 改正文 + 审计评论。 - 可跑读法:本车道 `pm:dispatched` 卡按 `updated_at` 降序一搜,或读最新认领评论。 - 写侧刷新三时刻:派发、收班、暂停或交接前;时间戳恒取自 `post-stamped.mjs`。 - 帖与卡正文首行恒为署名 `座位名 · ACCOUNT · SESSION`;缺或他号签 `LANE@X` 即写工具拒发(`post-stamped.mjs` 头注)。 diff --git a/scripts/pm/check-half-states.mjs b/scripts/pm/check-half-states.mjs index 47998235371..e084f2f47d5 100644 --- a/scripts/pm/check-half-states.mjs +++ b/scripts/pm/check-half-states.mjs @@ -1381,8 +1381,8 @@ export const seatLaneOf = (lane, mark) => (typeof mark === 'string' && String(la export const seatIdOf = (lane, mark) => (typeof mark === 'string' ? `${seatLaneOf(lane, mark)}${mark}` : `${lane}#${mark}`); // --------------------------------------------------------------------------- -// A retired seat number and the account seat it became — ONE reader of the table (`seat-numbers.mjs`, whose header -// says who writes a row and when). After a held post is renamed in place, the seat's earlier records still read +// A retired seat number and the account seat it became — the table's two readers, `seatMarkOf` (through +// `seatNumberAccount`) and `seatNumbersOf` (`seat-numbers.mjs`, whose header says who writes a row and when). After a held post is renamed in place, the seat's earlier records still read // `LANE#N`; they are that seat's, and are not re-issued (ruling record 7249169754, Q3 A). Every reader that // compares two seats compares what `seatMarkOf` answers, on BOTH sides, so the two spellings of one seat meet. // --------------------------------------------------------------------------- diff --git a/scripts/pm/check-owed-reviews.mjs b/scripts/pm/check-owed-reviews.mjs index c460c9dc683..c05f716efee 100644 --- a/scripts/pm/check-owed-reviews.mjs +++ b/scripts/pm/check-owed-reviews.mjs @@ -760,8 +760,9 @@ const USAGE = [ '', ' Lists the open pull requests, drafts included, whose face owes a contract review, with the record,', ' hand-off and claim on the current head, the trigger, and who takes it: the seat the hand-off', - ' names; else the L2 seat (`l2-review#N`) on the delta of its own record; else the lane seat, at', - ' the tier or by a hand-off line — the L2 seat is the fallback, never the default; never triage.', + ' names; else the L2 seat (`l2-review@ACCOUNT`; a retired `l2-review#N` reads as its account\'s) on the', + ' delta of its own record; else the lane seat, at the tier or by a hand-off line — the L2 seat is the', + ' fallback, never the default; never triage.', ` --repo the repository whose pulls are read (default ${DEFAULT_REPO}); --board, where the seat posts live`, ' --now the clock (default: now); --json prints the rows as JSON', ' --decisions instead: each open needs-user-decision card\'s analysis tier (at-tier / below-tier / unreadable /', diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index dc3a5ce4f01..0e588b8ff58 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -101,12 +101,12 @@ export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/references/review-checklist.md', 79], ['.claude/skills/pm-dispatch/references/landing-operations.md', 10705], ['.claude/skills/pm-dispatch/references/release-aftercare.md', 3526], - ['.claude/skills/pm-dispatch/references/seat-post-protocol.md', 7974], // raised 7716 → 7974 (+258) by ruling record 7249169754 (Q1 A, Q2 A, Q3 A: 「同意,立卡派发」) and the seat's answers inside it (seat check 7251742592, item 5): the seat is named `LANE@ACCOUNT` and does not change hands, old `#N` records stay readable, a rename waits for its row in `seat-numbers.mjs`; before that: lowered 7720 → 7716 by the #38415 seat-mark readers PR (the signature line names `LANE@ACCOUNT` as a reading, paid by the checklist heading's aside; the file's landed size, headroom 0) + ['.claude/skills/pm-dispatch/references/seat-post-protocol.md', 7964], // lowered 7974 → 7964 by the seat-by-account nits PR (the seat name's director carve-out and the reclaim wording reconciled with a seat that never changes hands; the file's landed size, headroom 0); before that: raised 7716 → 7974 (+258) by ruling record 7249169754 (Q1 A, Q2 A, Q3 A: 「同意,立卡派发」) and the seat's answers inside it (seat check 7251742592, item 5): the seat is named `LANE@ACCOUNT` and does not change hands, old `#N` records stay readable, a rename waits for its row in `seat-numbers.mjs`; before that: lowered 7720 → 7716 by the #38415 seat-mark readers PR (the signature line names `LANE@ACCOUNT` as a reading, paid by the checklist heading's aside; the file's landed size, headroom 0) ['.claude/skills/pm-dispatch/references/true-green.md', 2068], ['.claude/skills/pm-dispatch/references/compile-surfaces.md', 2488], - ['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 8901], // raised 9070 → 9076 (+6) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): card-pick --why every patrol round; lowered 9076 → 9070 by the PR that moved the tier and effort values to the one home + ['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 8797], // lowered 8901 → 8797 by the seat-by-account nits PR (ruling record 7438543698: the takeover line points at project-forms.md and takes what the words name; the serial-queue line that restated seat-post-protocol.md dropped; the file's landed size, headroom 0); before that: raised 9070 → 9076 (+6) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): card-pick --why every patrol round; lowered 9076 → 9070 by the PR that moved the tier and effort values to the one home ['.claude/skills/pm-dispatch/references/area-lease.md', 7484], // raised 7220 → 7484 (+264, the landed bytes) by seat ruling record 7315869729 (Q1 → A, this row and filing-gate.md only, each at its measured delta) under ruling record 6184799323, letter B; the text's substance is ordered by maintainer ruling records 7309703845 (「我们是元数据运行引擎,客户不会调用我们的库吧?」「为什么不直接处理」) and 7310432861 (「38665 直接做成目标形态」) and the maintainer's direction quoted in the body of rule card #38910 (「是否应该修改 skills,确保以后不犯类似的错误」): the split line targets the state-owning form, the move-only facade only on the maintainer's explicit order (the 重叠检查 exception narrowed to p1/p2 in the same PR, +12, paid by neighbour tightening); before that: raised 6957 → 7220 (+263, the landed bytes) by the ruled text (before a claim is amended wider the in-flight check is re-run on the new files; a part that meets another claim queues behind it or is split to its own card, never proceeds over it), the maintainer's ruling quoted in the body of the rule card and recorded by claim record 7240306887 (「立 B 并派发」); before that: lowered 6990 → 6986 by the decision-analysis tier-line PR (its pointer paid by two deletions in the same file); before that: 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; raised 6586 → 6990 (+404, the landed bytes) by the ruled text (a zone boundary change is the seat's routing call, and a card outside the lease goes to the seat, which picks one of three routes), the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7247665159 (「座位可以自己决定,立卡更新skills」) - ['.claude/skills/pm-dispatch/references/coordinator.md', 4363], // 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; lowered 4265 → 4230 by the PR that moved the tier and effort values to the one home; raised 4230 → 4427 (+197) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」): the coordinator returns an underived ceiling order before a thread opens + ['.claude/skills/pm-dispatch/references/coordinator.md', 4298], // lowered 4363 → 4298 by the seat-by-account nits PR (the forced takeover order's definition is pointed at; the redundant "照常开席" line dropped; the file's landed size, headroom 0); before that: 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; lowered 4265 → 4230 by the PR that moved the tier and effort values to the one home; raised 4230 → 4427 (+197) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」): the coordinator returns an underived ceiling order before a thread opens ['.claude/skills/pm-dispatch/references/untrusted-text.md', 3280], ['.claude/skills/pm-dispatch/references/security-findings.md', 3917], ['.claude/skills/pm-dispatch/references/external-contributions.md', 2006], @@ -115,7 +115,7 @@ export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/references/triage-duties.md', 14161], // raised 13692 → 14161 (+469, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: lowered 13709 → 13692 by the decision-analysis tier-line PR (its pointer to the deleted worked 速读 example dropped); before that: 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; lowered 13559 → 13544 by the PR that moved the tier and effort values to the one home; raised 13544 → 13709 (+165, the landed bytes) by ruling record 7135874506 (items B4, B7 and C1: 「照推荐:采纳 5 条」) ['.claude/skills/pm-dispatch/references/execution-duties.md', 23004], // lowered 23016 → 23004 to its landed size by the PR that adds the intake line for a `blocked` report naming a backup sha (paid by tightening the same file); before that: raised 22819 → 23016 (+197, the landed bytes) by ruling record 7363859210 (#39187 option A: 「这个是新技能要求,没问题本项目现在就可以执行」): seat, coordinator and zone sessions effort `medium`, L1 ACCEPT and the Tier H seat record at `high`, a new L1-thread row; before that: raised 22434 → 22819 (+385, the landed bytes) by ruling record 7302993286 (「同一个 PR,你批一次」, option A of decision analysis 7242989541): a required gate pinning a `docs/adr/**` text and code to one set both ways rides one card and one Tier H PR; before that: raised 22249 → 22434 (+185, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: 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; 20277 → 22158 (+1881) by ruling record 7076315104 (the one home for tier and effort, the 定档 section: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」); raised 22158 → 22316 (+158) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」) (the coordinator session, the area thread and the director's effort); lowered 22316 → 22307 by the PR that drops the triage suggestion line (item C1 of ruling record 7135874506); lowered 22307 → 22249 to its landed size by the #35237 slice-12 pointer PR ['.claude/skills/pm-dispatch/references/filing-gate.md', 9492], // raised 9188 → 9492 (+304, the landed bytes less the row's 4 bytes of headroom) by seat ruling record 7315869729 (Q1 → A, this row and area-lease.md only, each at its measured delta; the line's tie to 读数判据 kept) under ruling record 6184799323, letter B; the text's substance is ordered by maintainer ruling records 7309703845 (「我们是元数据运行引擎,客户不会调用我们的库吧?」「为什么不直接处理」) and 7310432861 (「38665 直接做成目标形态」) and the maintainer's direction quoted in the body of rule card #38910 (「是否应该修改 skills,确保以后不犯类似的错误」): a surface-unchanged acceptance line names its measured consumers; before that: raised 9124 → 9188 (+64, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: 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; lowered 9101 → 9089 by the PR that moved the tier and effort values to the one home; raised 9089 → 9124 (+35, the landed bytes) by ruling record 7135874506 (item A1: 「照推荐:采纳 5 条」) - ['.claude/skills/pm-dispatch/references/project-forms.md', 4875], // 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 + ['.claude/skills/pm-dispatch/references/project-forms.md', 4861], // lowered 4875 → 4861 by the seat-by-account nits PR (ruling record 7438543698, option A: the sentence that says which instruction is the forced takeover order, paid by restatement cuts; the file's landed size, headroom 0); before that: 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 ['.claude/skills/pm-dispatch/references/app-platform-boundary.md', 3928], ['.claude/skills/pm-dispatch/references/dev-traps.md', 2627], // new row, landed size, headroom 0: three one-path blocks of .claude/agents/os-dev.md moved here verbatim by the entry-file slimming PR, which lowers that row by more ['.claude/skills/pm-dispatch/references/dev-ablation.md', 3555], // new row, landed size, headroom 0: the reverse-verification and ablation procedure of .claude/agents/os-dev.md moved here verbatim by the same PR @@ -135,7 +135,7 @@ export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/references/lanes/qa.md', 2227], ['.claude/skills/pm-dispatch/references/lanes/eval.md', 2684], ['.claude/skills/pm-dispatch/references/lanes/queue.md', 1992], - ['.claude/skills/pm-dispatch/references/lanes/cloud.md', 1230], + ['.claude/skills/pm-dispatch/references/lanes/cloud.md', 1229], // lowered 1230 → 1229 by the seat-by-account nits PR (the order directory keyed by the account seat; the file's landed size, headroom 0) ['.claude/skills/pm-dispatch/references/lanes/objectstack.md', 2500], // raised 2493 → 2500 (+7, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: raised 2270 → 2540 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053 ['.claude/agents/os-dev.md', 33484], // lowered 33491 → 33484 by the live-check rule PR (the trigger line, +218 B, paid by two restatement cuts of −211 B and 7 B of this row's headroom; the file's landed size, headroom 0); before that: lowered 33492 → 33491 by the #38415 seat-mark readers PR (the trailer line names `LANE@ACCOUNT` as a reading, paid by the lock entry's second copy of the slot rule; the file's landed size, headroom 0); before that: lowered 33500 → 33492 by the #35237 slice-13 PR (rule 1's probe line spells its --branch; the file's landed size, headroom 0); before that: lowered 33504 → 33500 by the #35237 slice-10 entry-pointers PR (the file's landed size, headroom 0); before that: lowered 38986 → 33504 by the entry-file slimming PR (four one-path blocks moved verbatim to references/dev-traps.md and references/dev-ablation.md, one pointer line left for each); before that: lowered 39008 → 38848 by the re-basing PR's own edit; raised 38848 → 38986 (+138) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」): a card thread's first step reads the tier it is served and compares it with the order ['.claude/skills/checklist-test/SKILL.md', 14209], // lowered 19558 → 14209 by the entry-file slimming PR (the bodies of §5 and §6 moved verbatim to the two reference files below, one pointer line left in each section) diff --git a/scripts/pm/fleet-roster.mjs b/scripts/pm/fleet-roster.mjs index 345e89cb5f1..b1d401decdf 100644 --- a/scripts/pm/fleet-roster.mjs +++ b/scripts/pm/fleet-roster.mjs @@ -607,7 +607,7 @@ export function readsFor(repos) { `GET /repos/${r}/issues?state=open&labels=pm:dispatched`, `GET /repos/${r}/issues?state=open&labels=needs-user-decision`, `GET /repos/${r}/pulls?state=open`, - `GET /repos/${r}/issues/comments?since=(now − ${STALE_HOURS} h), each read for its first-line seat signature and, signed l2-review#N (old spelling review#N), for a live Contract-review-claim`, + `GET /repos/${r}/issues/comments?since=(now − ${STALE_HOURS} h), each read for its first-line seat signature and, signed l2-review@ACCOUNT (a retired l2-review#N or review#N read as its account's seat), for a live Contract-review-claim`, `GET /repos/${r}/issues/{n}/comments for each claude/ pull closing an in-flight card (${LEDGER_EXCLUSION} excluded)`, ]); } diff --git a/scripts/pm/seat-numbers.mjs b/scripts/pm/seat-numbers.mjs index 851e77b8d23..d68eca93d71 100644 --- a/scripts/pm/seat-numbers.mjs +++ b/scripts/pm/seat-numbers.mjs @@ -13,8 +13,9 @@ * the seat is at work, the stale-seat-post row (H38) goes quiet for the renamed post, and a dequeue the landing * seat asks for under its new name is refused while the pull's trailer still carries the number. * - * This table is what joins the two spellings. It is read through `seatMarkOf` in `check-half-states.mjs`, the one - * reader, and no tool reads it any other way. + * This table is what joins the two spellings. It has two readers, both in `check-half-states.mjs`: `seatMarkOf` + * (through `seatNumberAccount`), number to account, and `seatNumbersOf`, account to its numbers (`fleet-roster.mjs` + * reads a post's earlier ids through it). No tool reads it any other way. * * ## What a row says, and what it does not * @@ -35,6 +36,12 @@ * removed: old `#N` records stay readable for good, and they are attributed through this table. `lane` and * `account` are lower case, as every reader folds them. * + * Nothing checks a row against the seat post it speaks for: the self-test holds only its shape. The pull request + * that adds a row quotes the post (its URL, and the `LANE#N` title it is renamed from), and the reviewer reads the + * row against it. A row found wrong after it lands (a number, lane or account the post never carried) is the one + * change a row takes: a pull request corrects it in place, quoting the post and naming the `#N` records whose + * reading moves, because every record signed under that number by either account is re-attributed by the merge. + * * ⛔ No imports, no I/O: a leaf every reader can import. `check-half-states.mjs --self-test` holds every row to * the shape above. */ diff --git a/scripts/pm/topic-board.mjs b/scripts/pm/topic-board.mjs index 52049c07b75..9e80d06bf8d 100644 --- a/scripts/pm/topic-board.mjs +++ b/scripts/pm/topic-board.mjs @@ -155,9 +155,12 @@ import { blockerResolutionFromRow, blockerTargetsFor, claimSeatNumber, + comparedSeatId, directiveValues, latestClaimComment, markerMatches, + readSignatureLine, + withSeatNumbers, } from './check-half-states.mjs'; import { ghApi, readAllPages } from './gh-pages.mjs'; @@ -267,7 +270,9 @@ export function countedCards(issues, childOf) { /** * The seat holding a card: empty when it has no assignee; else the `Seat:` * value of the newest `Claim:` on its thread (the shared claim predicate and - * seat reader, ⛔ never re-spelled); else the assignee login(s). + * seat reader, ⛔ never re-spelled), printed as the seat id the readers compare + * (`comparedSeatId`, the claim's signer deciding a retired number), so one + * seat shows under one name across its rename; else the assignee login(s). */ export function seatOf(issue, threadRows) { const logins = (issue.assignees || []).map((a) => a?.login).filter(Boolean); @@ -279,7 +284,7 @@ export function seatOf(issue, threadRows) { const seat = claimSeatNumber(body) === null ? undefined : directiveValues(body, 'Seat')[0]; // The value's first token, with any code/bold decoration around it dropped (display only — the seat was read above). const shown = seat ? seat.split(/\s+/)[0].replace(/^[`*]+|[`*]+$/g, '') : ''; - if (shown) return shown; + if (shown) return comparedSeatId(shown, readSignatureLine(body)?.account ?? null); } return logins.join(', '); } @@ -625,7 +630,7 @@ const SELF_TEST_BATTERIES = Object.freeze({ 'Blocked-by: open and unreadable targets hold, closed issue and merged PR release, comments read for p1·p2 only': 7, 'p0 counts with p1': 2, 'legacy columns stay derivable from the cells': 2, - 'card list: p1·p2 only, ordered, seat and waits': 9, + 'card list: p1·p2 only, ordered, seat and waits': 10, 'read path: thread and target reads': 5, }); const SELF_TEST_BATTERY_FLOOR = 12; @@ -848,6 +853,8 @@ export function selfTest() { eq('seat: the NEWEST claim\'s Seat: line', cardOf(T, 704)?.seat, 'repo:objectstack#3'); eq('seat: a claim with no Seat: line falls back to the assignee login', cardOf(T, 705)?.seat, 'os-b'); eq('seat: an unassigned card is held by nobody', cardOf(T, 701)?.seat, ''); + const signed = (sig, account, seatLine) => ({ body: `${sig} · ${account} · session_0123456789\nClaim: round 1\n${seatLine}`, created_at: '2026-11-21T00:00:00Z' }); + eq('seat: printed as the id readers compare — a retired #N its own account signed prints as LANE@account, an earlier holder\'s stays #N, an account seat prints lower-cased', withSeatNumbers([{ lane: 'repo:objectstack', number: 7, account: 'os-r' }], () => [signed('repo:objectstack#7', 'os-r', 'Seat: `repo:objectstack#7`'), signed('repo:objectstack#7', 'os-q', 'Seat: repo:objectstack#7'), signed('repo:objectstack@os-r', 'os-r', 'Seat: repo:objectstack@OS-R')].map((row) => seatOf(card(1, 'x', [], who('os-r')), [row]))), ['repo:objectstack@os-r', 'repo:objectstack#7', 'repo:objectstack@os-r']); eq('seat: a Seat: line that names no seat falls back to the login', seatOf(card(1, 'x', [], who('os-z')), [claim('Seat: tbd', '2026-11-21T00:00:00Z')]), 'os-z'); eq('waits: 待你裁 for a card waiting on the maintainer, the open target for a blocked one', [cardOf(T, 708)?.waits, cardOf(T, 702)?.waits, cardOf(T, 701)?.waits], [[WAITS_ON_MAINTAINER], ['#790'], []]); eq('area list: the not-in-a-topic cards, p1 first, p3 left out', (B.cards ?? []).map((c) => c.number), [803, 801]); From a2812beaace0e2495669098eca6d53997e577322 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 5 Dec 2026 13:50:42 +0000 Subject: [PATCH 2/3] fleet(pm-dispatch): lane self-triage remedy, the unlock row, and a returned value for triage's review reply - card-pick.mjs and check-half-states.mjs H74: the no-audit remedy names lane self-triage case 3 first and the triage knock for cards it does not reach; each pin follows its sentence. Predicates untouched. - SKILL.md: the pm:blocked row points at state-machine.md for who unlocks. - triage-duties.md: a third review-reply value, `First-touch review: returned`, comment only, the claiming seat releasing; the review reply joins the claimed-card exceptions; the duplicate decision-card line is deleted (ruling record 7438557274, option A, measured +95 -103 = -8 bytes). - Ratchet rows lowered to the landed sizes; no raise. Claude-Session: https://claude.ai/code/session_016WV4cwiNRyb9B38wT2fjYj Co-authored-by: Claude --- .claude/skills/pm-dispatch/SKILL.md | 2 +- .../pm-dispatch/references/triage-duties.md | 5 ++--- scripts/pm/card-pick.mjs | 4 ++-- scripts/pm/check-half-states.mjs | 16 ++++++++++------ scripts/pm/check-skill-line-ratchet.mjs | 4 ++-- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.claude/skills/pm-dispatch/SKILL.md b/.claude/skills/pm-dispatch/SKILL.md index 007828c909b..5a6909c6dc2 100644 --- a/.claude/skills/pm-dispatch/SKILL.md +++ b/.claude/skills/pm-dispatch/SKILL.md @@ -116,7 +116,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → L1 审核 → | `pm:dispatched` | 已派发(派发评论记轮次),恒带 assignee;与摘 `pm:queue` 同一次标签写入成对落地 | | `needs-user-decision` | 决定待做:永不派发、永不代答;维护者的决策收件箱,只挂决策卡(issue)、⛔ 永不挂 PR,只由人工裁;等维护者产品选择的卡带选项与推荐入此态,⛔ 不停在 `pm:blocked`/`pm:awaiting-maintainer` | | `pm:on-hold` | 决定已做且答案是暂不做:不派发不催;仅当带机器可读 `Restart-when:` 行才合法;入态 ⛔ 不降级,级只反映严重度;等平台发布用本态;挡路卡与被挡卡 hold 须一致,默认被挡卡随挡路卡入 hold,维护者在卡上另说除外 | -| `pm:blocked` + 正文行 `Blocked-by: #N` | 等上游:行首 `Blocked-by:` 是唯一来源,点名 open 卡或未合并 PR;目标全关(PR 则合并)即由每日扫描放回 `pm:queue` 或改写到下一真阻塞;工已完而被门禁卡住的同用本态;指向无 `Ruled:` 的 open `needs-user-decision` 卡 ⇒ ⛔ 不派发 | +| `pm:blocked` + 正文行 `Blocked-by: #N` | 等上游:行首 `Blocked-by:` 是唯一来源,点名 open 卡或未合并 PR;目标全关即照 `state-machine.md` 放回 `pm:queue` 或改写到下一真阻塞;工已完而被门禁卡住的同用本态;指向无 `Ruled:` 的 open `needs-user-decision` 卡 ⇒ ⛔ 不派发 | | `pm:awaiting-maintainer` | 决定已做,只剩一次 GitHub 之外的人工动作:不派发不催;与其它 pm 状态标签互斥;入态恒带行首 `Maintainer-action:` 行(细则见 `references/state-machine.md`),无行即半态;等维护者亲手动作用本态 ⛔ 不用 `pm:blocked`;码已落只差该动作 ⇒ 另立维护者卡 | | `pm:retriage` | 向分诊提问(改判、改路由、拆卡、裁 dev 报告留下的分叉;既裁冲突砍项归执行席 ⛔ 不问),定车道与改路由限未派发卡,异议评论写明所求;与现行 `pm:*` 并存、⛔ 不摘原标;带本标签的 `pm:queue` 卡跳过派发 | | `finding` | 立卡三类内待首次定级,定级即离标;三类外关 not planned;不占队列不进收件箱 | diff --git a/.claude/skills/pm-dispatch/references/triage-duties.md b/.claude/skills/pm-dispatch/references/triage-duties.md index 8434b8a15bf..23cb12708f1 100644 --- a/.claude/skills/pm-dispatch/references/triage-duties.md +++ b/.claude/skills/pm-dispatch/references/triage-duties.md @@ -31,7 +31,7 @@ - 车道席自分诊三例,限本车道卡、认领前做:① 卡挡自有在飞(认领卡/PR/落地/拆分链)且证据清楚,可首触定 p1/p2,证据 = 卡上引具名失败 check/run、复现读数或 pin 测试;② 自立且留本车道卡,立卡同轮首触 area、type、级(`filing-gate.md`)、size 与审计;③ `card-pick.mjs` 报 `no triage audit` 而已带 area、type、级 ⇒ 只补审计,⛔ 不改级。 - 记录 = 车道签名下英文 `Triage:` 首行审计,行首 `Ruling-ref:` 引本例外裁决原话,末行 `Review: triage`。 - ⛔ 不改 `domain:*`、不定 p0(归 main-red)、不碰人工地板、cloud 卡与决策箱卡,不并卡、不关卡。 -- 分诊每轮复审上轮以来末行 `Review: triage` 的记录,回帖行首 `First-touch review: confirmed` 或`First-touch review: re-graded pN — 理由`,并做跨车道四查(路由、cloud、查重并卡、决策箱);复审前席位定级有效。 +- 分诊每轮复审上轮以来末行 `Review: triage` 的记录,回帖行首 `First-touch review: confirmed`、`First-touch review: re-graded pN — 理由`或`First-touch review: returned — 未过项`(⛔ 不写标签,认领席释放),并做跨车道四查(路由、cloud、查重并卡、决策箱);复审前席位定级有效。 - 分诊定级轮读车道 `Suggested-grade:` 行:是输入不是定级,确认或改判,不采纳给理由。 - 分类动作每张三选一,外加一修复通道;裁定写方向、给六态之一。 - 日对账 fire 读 `check-half-states` 阻塞与决策诸行,照 `state-machine.md` 处置;卡号进轮次记录。 @@ -45,7 +45,6 @@ - `needs-user-decision` = 设计卡、契约形状提案、需 appetite 的多周程序;只挂 issue。 - 先例已定新键/值/导出名非契约形状提案;分诊审计 ⛔ 不自加门,唯语义/形状真分歧呈人。 - 碰迁移形状或删已发布能力也进决策箱;说明书脱节不进:有裁定出处才是 (b),否则改文档。 -- 决策卡速读居四棱块之上、同题,至多四行业务话;写法见 `decision-analysis.md`。 - 首行写立卡门类别 ①–④;四类定义、⛔ 清单、四答、理由判据与配额见 `filing-gate.md`。 - `finding` = 三类内待定级:(a) 可复现缺陷(复现或失败探针);(b) 违背已声明契约(引契约文); - (c) AI 写元数据会被运行时拒收或静默丢弃的陷阱;其余进 PR `## Acceptance notes`,⛔ 不立卡。 @@ -90,7 +89,7 @@ - 三类外不可逆或有硬时限(发版即固化、只被消费的文件、过窗不可补)⇒ 不关,报维护者。 - 三类外首触关闭只清门前存量,关 not planned(不等批准可否决重开);三类内无证据拒收。 - 三类内再过时前提检查,三选一:晋级/关闭 not planned/hold;级立卡时已定,此轮复核。 -- ⛔ 带 `pm:dispatched`/assignee/open 或 merged PR 引用的卡不动;例外:关卡行、下两行、锚卡首触。 +- ⛔ 带 `pm:dispatched`/assignee/open 或 merged PR 引用的卡不动;例外:关卡行、下两行、锚卡首触、复审回帖。 - 分诊活性复查:认领逾一天无自有产出(commit/PR/评论)⇒ 敲一次,首行键 `Owned-24h re-check:`。 - 敲门后 `RECLAIM_AFTER_HOURS = 12` 小时无答复 ⇒ 兄弟席一笔中继释放;无则轮次记录交总监。 - 人工地板(恒呈维护者):非预授权的功能新增;ADR;协议/公开契约变化;破坏性或难回滚动作。 diff --git a/scripts/pm/card-pick.mjs b/scripts/pm/card-pick.mjs index 6841cf107aa..6a2b7e7b4aa 100644 --- a/scripts/pm/card-pick.mjs +++ b/scripts/pm/card-pick.mjs @@ -429,7 +429,7 @@ export async function pick({ repo, items, seat, limit = DEFAULT_LIMIT, why = fal parent = p.ok ? p.value : is404(p) ? null : H74_PARENT_UNREADABLE; } if (h74QueuedWithoutTriageAudit(issue, bodies, parent) !== null) { - row.reasons.push(parent === H74_PARENT_UNREADABLE ? 'no triage audit (parent unreadable — unjudged, held)' : 'no triage audit — knock triage'); + row.reasons.push(parent === H74_PARENT_UNREADABLE ? 'no triage audit (parent unreadable — unjudged, held)' : 'no triage audit — write it under lane self-triage ③ (own-lane graded card), else knock triage'); } if (parent === H74_PARENT_UNREADABLE) { row.gap = true; @@ -879,7 +879,7 @@ export async function selfTest() { t('⛔ …an EARLIER holder\'s `#5` claim is not the renamed account\'s, a vacant seat\'s `#1` claim is no account\'s, and with no row the old claim is the numbered seat\'s', [withSeatNumbers(T5, () => claimReason([claim('repo:objectstack#5 · os-old · session_01ABCDEFGH')], parseSeat('repo:objectstack@os-bill'))), withSeatNumbers(T5, () => claimReason([claim('repo:objectstack#1 · os-bill · session_01ABCDEFGH')], parseSeat('repo:objectstack@os-bill'))), withSeatNumbers([], () => claimReason([claim(OLD5)], parseSeat('repo:objectstack@os-bill')))], ['Claim: by repo:objectstack#5', 'Claim: by repo:objectstack#1', 'Claim: by repo:objectstack#5']); const fleetCard = card(['area:ux', 'priority:p2'], { user: APP }); const r = await run({ issues: [fleetCard], comments: { [fleetCard.number]: [{ body: 'just a note' }] } }); - t('⭐ a fleet card with no triage audit record is not a candidate', r.others[0]?.reasons, ['no triage audit — knock triage']); + t('⭐ a fleet card with no triage audit record is not a candidate', r.others[0]?.reasons, ['no triage audit — write it under lane self-triage ③ (own-lane graded card), else knock triage']); const r2 = await run({ issues: [{ ...fleetCard }], comments: { [fleetCard.number]: [{ body: AUDIT }] } }); t('…and its audit record makes it one', nums(r2.picks), [fleetCard.number]); } diff --git a/scripts/pm/check-half-states.mjs b/scripts/pm/check-half-states.mjs index e084f2f47d5..540186f0752 100644 --- a/scripts/pm/check-half-states.mjs +++ b/scripts/pm/check-half-states.mjs @@ -8863,10 +8863,11 @@ export function isTriageRulingComment(body) { // 不得认领」 and stops. Both sides wait for the other and nothing rings; the // seat that noticed reported it to the maintainer instead of the triage mailbox. // Measured the day the word was given: fifteen open queue cards in this shape, -// two of them p1. The protocol text now carries both halves — the lane rings -// `Request: triage · #n · first-touch audit` in the round it finds one, and the -// triage sweep derives the set — and this row IS the sweep's derivation, so the -// two channels converge on one set. +// two of them p1. The protocol text now carries both halves — the lane writes +// the audit itself under self-triage ③ (`triage-duties.md`) for its own graded +// card, and rings `Request: triage · #n · first-touch audit` in the round it +// finds one ③ does not reach; the triage sweep derives the set — and this row IS +// the sweep's derivation, so the two channels converge on one set. // // ⛔ Report-only (instrument-discipline: a report row carries no gate and no // label): it writes nothing and refuses nothing. Band `state`, H13's: a label @@ -9056,7 +9057,10 @@ export function h74QueuedWithoutTriageAudit(issue, commentBodies, parent) { 'disjunct keys on a MISSING label and this card has them all, while the lane side reads 「无分诊审计评论 ⛔ ' + '不得认领」 and stops — each waits for the other and nothing rings. Remedy, triage side: audit it in THIS ' + 'round exactly as an ungraded card (first touch: domain, area, type, grade), and count it in the round ' + - 'record. Lane side: a seat that would otherwise pull this card rings `Request: triage · #n · first-touch ' + + 'record. Lane side: a seat that would otherwise pull this card, when it is the seat\'s own lane\'s card, ' + + 'carries area, type and grade, and is no cloud or decision-box card, writes the audit itself under self-triage ③ ' + + '(`triage-duties.md`: a `Triage:` record under the lane signature, `Review: triage` its last line, before ' + + 'the claim, the grade untouched); for any card ③ does not reach it rings `Request: triage · #n · first-touch ' + 'audit` on the triage mailbox in the same round (`record-recognisers.mjs --mailbox-keys` prints the shape) ' + '— ⛔ never a silent wait, and never a report to the maintainer in the mailbox\'s place. Report-only: ⛔ ' + 'never a label, comment or body written from this script. Exempt by design: `tracking`, `pm:epic`, ' + @@ -30737,7 +30741,7 @@ async function selfTest() { b(BATTERY74, 'H74 exempt control: the same card WITHOUT the identity label is in the population — the title alone does not exempt it', typeof h74([], { ...WATCHDOG74, labels: [{ name: 'pm:queue' }, { name: 'tooling' }] }), 'string'); b(BATTERY74, 'H74 exempt control: …because its title does not open the main-red regex', H74_MAIN_RED_ANCHOR_TITLE.test(WATCHDOG74.title), false); b(BATTERY74, 'H74 text: no angle-bracket fragment and no tracker number — the row is written into a GitHub issue', /[<>]/.test(row74([])) || /#[0-9]/.test(row74([])) || /[<>]/.test(row74(null)) || /#[0-9]/.test(row74(null)), false); - b(BATTERY74, 'H74 text: names both remedies — the triage first touch and the lane\'s bell — and the report-only boundary', ['audit it in THIS round', '`Request: triage · #n · first-touch audit`', '--mailbox-keys', 'never a label, comment or body written'].every((x) => row74([]).includes(x)), true); + b(BATTERY74, 'H74 text: names every remedy — the triage first touch, the lane\'s own audit under self-triage ③, the lane\'s bell where ③ does not reach — and the report-only boundary', ['audit it in THIS round', 'writes the audit itself under self-triage ③', '`Review: triage` its last line', 'for any card ③ does not reach it rings `Request: triage · #n · first-touch audit`', '--mailbox-keys', 'never a label, comment or body written'].every((x) => row74([]).includes(x)), true); b(BATTERY74, 'H74 summary: the coverage pair is reported', saidBy('h74Audit', summaryLine({ triageAuditCandidates: 15, triageAuditProbed: 15 }, 0)).includes('comment threads read on 15 of 15 body-clean'), true); b(BATTERY74, 'H74 summary: …and a shortfall says each unread thread fires its own UNJUDGED row', saidBy('h74Audit', summaryLine({ triageAuditCandidates: 15, triageAuditProbed: 12 }, 0)).includes("fires its own card's UNJUDGED H74 row"), true); b(BATTERY74, 'H74 summary: both count keys ride the enumerated forwarding contract', ['triageAuditCandidates', 'triageAuditProbed'].every((k) => SWEEP_COUNT_KEYS.includes(k)), true); diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index 0e588b8ff58..c1665636a54 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -81,7 +81,7 @@ const REPO_ROOT = new URL('../../', import.meta.url); // moves a row later says why in its body; the row carries a one-line comment // only when a reader needs the ruling at the row. export const CEILINGS = new Map([ - ['.claude/skills/pm-dispatch/SKILL.md', 33327], // lowered 33919 → 33351 by the entry-file slimming PR: five recommendation-order lines moved to references/decision-analysis.md (the declared cross-file move below); before that: lowered 33934 → 33872 by the re-basing PR's own edit; raised 33872 → 33881 (+9) by ruling record 7076338827, the addendum to 7076315104 (the simple-question exception is said on each of the three lines of 升级与决策 it qualifies: 「不一定要写成文件吧?简单的问题是不是直接和我沟通就可以」); raised 33881 → 33919 (+38) by ruling record 7076338827 (the simple-question exception on the decision-thread line; that it names seats and triage only is the seat's reading, the ruling's words do not say who asks) + ['.claude/skills/pm-dispatch/SKILL.md', 33319], // lowered 33327 → 33319 by the seat-by-account nits PR (the `pm:blocked` row points at state-machine.md for who unlocks; the file's landed size, headroom 0); before that: lowered 33919 → 33351 by the entry-file slimming PR: five recommendation-order lines moved to references/decision-analysis.md (the declared cross-file move below); before that: lowered 33934 → 33872 by the re-basing PR's own edit; raised 33872 → 33881 (+9) by ruling record 7076338827, the addendum to 7076315104 (the simple-question exception is said on each of the three lines of 升级与决策 it qualifies: 「不一定要写成文件吧?简单的问题是不是直接和我沟通就可以」); raised 33881 → 33919 (+38) by ruling record 7076338827 (the simple-question exception on the decision-thread line; that it names seats and triage only is the seat's reading, the ruling's words do not say who asks) ['.claude/skills/pm-dispatch/references/dispatch-runbook.md', 20483], // 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; lowered 20354 → 20344 by the PR that moved the tier and effort values to the one home; raised 20344 → 20483 (+139) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」): the thread's first report carries the served tier and the seat writes it into the claim ['.claude/skills/pm-dispatch/references/state-machine.md', 4243], // raised 4189 → 4243 (+54, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file ['.claude/skills/pm-dispatch/references/contract-review.md', 6420], // raised 6419 → 6420 (+1) by ruling record 7249169754 (Q1 A: 「同意,立卡派发」): the hand-off line names its target seat `LANE@ACCOUNT`, the template `record-recognisers.mjs` holds verbatim @@ -112,7 +112,7 @@ export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/references/external-contributions.md', 2006], ['.claude/skills/pm-dispatch/references/reading-discipline.md', 3822], ['.claude/skills/pm-dispatch/references/cross-repo-coordination.md', 4922], // lowered 4936 → 4922 by the #38415 seat-rule text (-14 in this file; the landed size, headroom 0); before that: raised 4920 → 4936 (+16, the landed bytes) by the ruled text (a new repository's charter lives in that repository; objectstack keeps a pointer file under `lanes/`), the maintainer's ruling quoted in the body of card #35238, step 7 (「包括 hotcrm 每个仓库的规则都在自己仓库」, 2026-11-18) - ['.claude/skills/pm-dispatch/references/triage-duties.md', 14161], // raised 13692 → 14161 (+469, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: lowered 13709 → 13692 by the decision-analysis tier-line PR (its pointer to the deleted worked 速读 example dropped); before that: 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; lowered 13559 → 13544 by the PR that moved the tier and effort values to the one home; raised 13544 → 13709 (+165, the landed bytes) by ruling record 7135874506 (items B4, B7 and C1: 「照推荐:采纳 5 条」) + ['.claude/skills/pm-dispatch/references/triage-duties.md', 14153], // lowered 14161 → 14153 by the seat-by-account nits PR (ruling record 7438557274, option A: the third review-reply value and the 复审回帖 exception, paid by the duplicate 速读 line, measured +95 −103; the file's landed size, headroom 0); before that: raised 13692 → 14161 (+469, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: lowered 13709 → 13692 by the decision-analysis tier-line PR (its pointer to the deleted worked 速读 example dropped); before that: 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; lowered 13559 → 13544 by the PR that moved the tier and effort values to the one home; raised 13544 → 13709 (+165, the landed bytes) by ruling record 7135874506 (items B4, B7 and C1: 「照推荐:采纳 5 条」) ['.claude/skills/pm-dispatch/references/execution-duties.md', 23004], // lowered 23016 → 23004 to its landed size by the PR that adds the intake line for a `blocked` report naming a backup sha (paid by tightening the same file); before that: raised 22819 → 23016 (+197, the landed bytes) by ruling record 7363859210 (#39187 option A: 「这个是新技能要求,没问题本项目现在就可以执行」): seat, coordinator and zone sessions effort `medium`, L1 ACCEPT and the Tier H seat record at `high`, a new L1-thread row; before that: raised 22434 → 22819 (+385, the landed bytes) by ruling record 7302993286 (「同一个 PR,你批一次」, option A of decision analysis 7242989541): a required gate pinning a `docs/adr/**` text and code to one set both ways rides one card and one Tier H PR; before that: raised 22249 → 22434 (+185, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: 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; 20277 → 22158 (+1881) by ruling record 7076315104 (the one home for tier and effort, the 定档 section: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」); raised 22158 → 22316 (+158) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」) (the coordinator session, the area thread and the director's effort); lowered 22316 → 22307 by the PR that drops the triage suggestion line (item C1 of ruling record 7135874506); lowered 22307 → 22249 to its landed size by the #35237 slice-12 pointer PR ['.claude/skills/pm-dispatch/references/filing-gate.md', 9492], // raised 9188 → 9492 (+304, the landed bytes less the row's 4 bytes of headroom) by seat ruling record 7315869729 (Q1 → A, this row and area-lease.md only, each at its measured delta; the line's tie to 读数判据 kept) under ruling record 6184799323, letter B; the text's substance is ordered by maintainer ruling records 7309703845 (「我们是元数据运行引擎,客户不会调用我们的库吧?」「为什么不直接处理」) and 7310432861 (「38665 直接做成目标形态」) and the maintainer's direction quoted in the body of rule card #38910 (「是否应该修改 skills,确保以后不犯类似的错误」): a surface-unchanged acceptance line names its measured consumers; before that: raised 9124 → 9188 (+64, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: 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; lowered 9101 → 9089 by the PR that moved the tier and effort values to the one home; raised 9089 → 9124 (+35, the landed bytes) by ruling record 7135874506 (item A1: 「照推荐:采纳 5 条」) ['.claude/skills/pm-dispatch/references/project-forms.md', 4861], // lowered 4875 → 4861 by the seat-by-account nits PR (ruling record 7438543698, option A: the sentence that says which instruction is the forced takeover order, paid by restatement cuts; the file's landed size, headroom 0); before that: 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 From f72740f0e9b28bc363b7226a8bc1d2e683463a26 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 5 Dec 2026 14:26:15 +0000 Subject: [PATCH 3/3] fleet(pm-dispatch): takeover default set carries its time bound; seating example restored MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - seat-lifecycle.md: the default set is the one held at the time of the words (ruling record 7438543698). - project-forms.md: the equivalent long sentence shows the seating shape again, and the ledger line keeps 「四件」; paid inside the file, row at or under main. - seat-numbers.mjs: the never-changed sentence agrees with the correction route. - Ratchet rows re-measured to the landed sizes; no raise over main. Claude-Session: https://claude.ai/code/session_016WV4cwiNRyb9B38wT2fjYj Co-authored-by: Claude --- .../skills/pm-dispatch/references/project-forms.md | 12 ++++++------ .../skills/pm-dispatch/references/seat-lifecycle.md | 2 +- scripts/pm/check-skill-line-ratchet.mjs | 4 ++-- scripts/pm/seat-numbers.mjs | 12 ++++++------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.claude/skills/pm-dispatch/references/project-forms.md b/.claude/skills/pm-dispatch/references/project-forms.md index 6a059fdeeec..05e2112a070 100644 --- a/.claude/skills/pm-dispatch/references/project-forms.md +++ b/.claude/skills/pm-dispatch/references/project-forms.md @@ -4,7 +4,7 @@ - 车队项目 = 任一账号上、指令行指向 pm-dispatch 的 Claude Code 项目;⛔ 不分项目类型。 - 项目做什么只由它坐的席位决定;车道席、总监席、分诊席都是席位,由维护者召唤。 -- 规则与指派只写角色词(总监账户、车道账户);登录名只在裁决记录里作既往事件的证据。 +- 规则与指派只写角色词(总监账户、车道账户);登录名只在裁决记录里作既往事件证据。 ## 指令行即召唤 @@ -12,20 +12,20 @@ - 首词恒为技能目录名 `pm-dispatch`;⛔ 不用 `fleet`。 - 席位词 = 中文名或车道文件名:总监 = `director.md`,分诊 = `triage.md`,L2 或复核 = `l2-review.md`。 - 其余席位词同 `lanes/` 下文件名(去 `.md`),如 cloud;验证 = `qa`+`eval` 一席。 -- 一车道多席:协调者取本账号的那一席(`LANE@ACCOUNT`);无则问维护者一次,⛔ 不坐他账号的席。 -- 其余一切住本文:⛔ 不往项目里贴模板;⛔ 不在账号层复制技能。 +- 一车道多席:协调者取本账号那一席(`LANE@ACCOUNT`);无则问维护者一次,⛔ 不坐他账号的席。 +- 其余一切住本文:⛔ 不往项目贴模板;⛔ 不在账号层复制技能。 ## 席位是读出来的,不是配出来的 -- 项目的席位 = 🟢 行写本账号的座位贴;派发前先读座位贴。 +- 项目的席位 = 🟢 行写本账号座位贴;派发前先读座位贴。 - 指令行就是指派:维护者在项目里写下或改写这一行,是唯一的指派动作。 -- 项目聊天里的长句是等价写法。 +- 项目聊天里的长句(「本账户坐 X」)是等价写法。 - 坐席即把本账号写进 🟢 行、每席开一条席位线程;⛔ 无花名册文件。 ## 接管不等撞墙账号 - 席不过户;强制接管令 = 维护者点名被取卡账号的原话(项目聊天或其本号评论),指令行永不是;只取卡,逐卡照下行。 -- 台账 = 标签 + assignee + `Claim:` + `head:claude/` PR(形状见 `execution-duties.md` 认领节),按 `assignee:<旧登录名>` 读;⛔ 项目记忆与共享目录永不是台账,只是本账号的缓存。 +- 台账 = 标签 + assignee + `Claim:` + `head:claude/` PR(四件形状见 `execution-duties.md` 认领节),按 `assignee:<旧登录名>` 读;⛔ 项目记忆与共享目录永不是台账,只是本账号缓存。 - 项目记忆只存维护者原话(带时间)与技能指针,⛔ 不复述规则;与技能相左 ⇒ 照技能,删该行。 - 维护者裁决与技能相左 ⇒ 当日立技能卡,记忆行点名它,合并即删;技能 PR 合并 ⇒ 协调者照改动行查记忆。 diff --git a/.claude/skills/pm-dispatch/references/seat-lifecycle.md b/.claude/skills/pm-dispatch/references/seat-lifecycle.md index 77eab2dfb61..41c64328f55 100644 --- a/.claude/skills/pm-dispatch/references/seat-lifecycle.md +++ b/.claude/skills/pm-dispatch/references/seat-lifecycle.md @@ -23,7 +23,7 @@ - 项目席的贴是存根,只留他账号要读的;模板见 `seat-post-protocol.md`。 - 存根外的姿态、台账与轮报住项目;标题、assignee、坐席审计评论与收班简报照旧。 - 正文只由在任座位 PM 编辑且为权威;标题(仅慢状态)与 assignee 是派生视图,三者同笔更新。 -- 维护者强制接管令(`project-forms.md`)一次性取其所言,未言取队列、在飞卡、未起工卡与待落地 PR;⛔ 不等原认领者注记。 +- 维护者强制接管令(`project-forms.md`)一次性取其所言,未言取原话时其所持队列、在飞卡、未起工卡与待落地 PR;⛔ 不等原认领者注记。 - 子代理 dev 的返回消息、探活与续派只在派发会话;落地或 `Release:` 后归新席位。 - 贴内只放指向车道文件的指针,升级走技能 PR,⛔ 不手抄接力。 - 写侧刷新点 = 轮次边界;中途状态由卡上 claim 评论与指针行、PR 上 `## 席位核对` 承载。 diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index c1665636a54..7c6f8204bde 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -104,7 +104,7 @@ export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/references/seat-post-protocol.md', 7964], // lowered 7974 → 7964 by the seat-by-account nits PR (the seat name's director carve-out and the reclaim wording reconciled with a seat that never changes hands; the file's landed size, headroom 0); before that: raised 7716 → 7974 (+258) by ruling record 7249169754 (Q1 A, Q2 A, Q3 A: 「同意,立卡派发」) and the seat's answers inside it (seat check 7251742592, item 5): the seat is named `LANE@ACCOUNT` and does not change hands, old `#N` records stay readable, a rename waits for its row in `seat-numbers.mjs`; before that: lowered 7720 → 7716 by the #38415 seat-mark readers PR (the signature line names `LANE@ACCOUNT` as a reading, paid by the checklist heading's aside; the file's landed size, headroom 0) ['.claude/skills/pm-dispatch/references/true-green.md', 2068], ['.claude/skills/pm-dispatch/references/compile-surfaces.md', 2488], - ['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 8797], // lowered 8901 → 8797 by the seat-by-account nits PR (ruling record 7438543698: the takeover line points at project-forms.md and takes what the words name; the serial-queue line that restated seat-post-protocol.md dropped; the file's landed size, headroom 0); before that: raised 9070 → 9076 (+6) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): card-pick --why every patrol round; lowered 9076 → 9070 by the PR that moved the tier and effort values to the one home + ['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 8815], // lowered 8901 → 8815 by the seat-by-account nits PR (the fix round adds ruling 7438543698's time bound to the takeover line; ruling record 7438543698: the takeover line points at project-forms.md and takes what the words name; the serial-queue line that restated seat-post-protocol.md dropped; the file's landed size, headroom 0); before that: raised 9070 → 9076 (+6) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): card-pick --why every patrol round; lowered 9076 → 9070 by the PR that moved the tier and effort values to the one home ['.claude/skills/pm-dispatch/references/area-lease.md', 7484], // raised 7220 → 7484 (+264, the landed bytes) by seat ruling record 7315869729 (Q1 → A, this row and filing-gate.md only, each at its measured delta) under ruling record 6184799323, letter B; the text's substance is ordered by maintainer ruling records 7309703845 (「我们是元数据运行引擎,客户不会调用我们的库吧?」「为什么不直接处理」) and 7310432861 (「38665 直接做成目标形态」) and the maintainer's direction quoted in the body of rule card #38910 (「是否应该修改 skills,确保以后不犯类似的错误」): the split line targets the state-owning form, the move-only facade only on the maintainer's explicit order (the 重叠检查 exception narrowed to p1/p2 in the same PR, +12, paid by neighbour tightening); before that: raised 6957 → 7220 (+263, the landed bytes) by the ruled text (before a claim is amended wider the in-flight check is re-run on the new files; a part that meets another claim queues behind it or is split to its own card, never proceeds over it), the maintainer's ruling quoted in the body of the rule card and recorded by claim record 7240306887 (「立 B 并派发」); before that: lowered 6990 → 6986 by the decision-analysis tier-line PR (its pointer paid by two deletions in the same file); before that: 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; raised 6586 → 6990 (+404, the landed bytes) by the ruled text (a zone boundary change is the seat's routing call, and a card outside the lease goes to the seat, which picks one of three routes), the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7247665159 (「座位可以自己决定,立卡更新skills」) ['.claude/skills/pm-dispatch/references/coordinator.md', 4298], // lowered 4363 → 4298 by the seat-by-account nits PR (the forced takeover order's definition is pointed at; the redundant "照常开席" line dropped; the file's landed size, headroom 0); before that: 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; lowered 4265 → 4230 by the PR that moved the tier and effort values to the one home; raised 4230 → 4427 (+197) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」): the coordinator returns an underived ceiling order before a thread opens ['.claude/skills/pm-dispatch/references/untrusted-text.md', 3280], @@ -115,7 +115,7 @@ export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/references/triage-duties.md', 14153], // lowered 14161 → 14153 by the seat-by-account nits PR (ruling record 7438557274, option A: the third review-reply value and the 复审回帖 exception, paid by the duplicate 速读 line, measured +95 −103; the file's landed size, headroom 0); before that: raised 13692 → 14161 (+469, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: lowered 13709 → 13692 by the decision-analysis tier-line PR (its pointer to the deleted worked 速读 example dropped); before that: 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; lowered 13559 → 13544 by the PR that moved the tier and effort values to the one home; raised 13544 → 13709 (+165, the landed bytes) by ruling record 7135874506 (items B4, B7 and C1: 「照推荐:采纳 5 条」) ['.claude/skills/pm-dispatch/references/execution-duties.md', 23004], // lowered 23016 → 23004 to its landed size by the PR that adds the intake line for a `blocked` report naming a backup sha (paid by tightening the same file); before that: raised 22819 → 23016 (+197, the landed bytes) by ruling record 7363859210 (#39187 option A: 「这个是新技能要求,没问题本项目现在就可以执行」): seat, coordinator and zone sessions effort `medium`, L1 ACCEPT and the Tier H seat record at `high`, a new L1-thread row; before that: raised 22434 → 22819 (+385, the landed bytes) by ruling record 7302993286 (「同一个 PR,你批一次」, option A of decision analysis 7242989541): a required gate pinning a `docs/adr/**` text and code to one set both ways rides one card and one Tier H PR; before that: raised 22249 → 22434 (+185, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: 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; 20277 → 22158 (+1881) by ruling record 7076315104 (the one home for tier and effort, the 定档 section: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」); raised 22158 → 22316 (+158) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」) (the coordinator session, the area thread and the director's effort); lowered 22316 → 22307 by the PR that drops the triage suggestion line (item C1 of ruling record 7135874506); lowered 22307 → 22249 to its landed size by the #35237 slice-12 pointer PR ['.claude/skills/pm-dispatch/references/filing-gate.md', 9492], // raised 9188 → 9492 (+304, the landed bytes less the row's 4 bytes of headroom) by seat ruling record 7315869729 (Q1 → A, this row and area-lease.md only, each at its measured delta; the line's tie to 读数判据 kept) under ruling record 6184799323, letter B; the text's substance is ordered by maintainer ruling records 7309703845 (「我们是元数据运行引擎,客户不会调用我们的库吧?」「为什么不直接处理」) and 7310432861 (「38665 直接做成目标形态」) and the maintainer's direction quoted in the body of rule card #38910 (「是否应该修改 skills,确保以后不犯类似的错误」): a surface-unchanged acceptance line names its measured consumers; before that: raised 9124 → 9188 (+64, the landed bytes) by the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7254553088 (「立卡改技能,现在就派发」): lane seats unlock their own blocked cards every round and first-touch the cards they file; before that: 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; lowered 9101 → 9089 by the PR that moved the tier and effort values to the one home; raised 9089 → 9124 (+35, the landed bytes) by ruling record 7135874506 (item A1: 「照推荐:采纳 5 条」) - ['.claude/skills/pm-dispatch/references/project-forms.md', 4861], // lowered 4875 → 4861 by the seat-by-account nits PR (ruling record 7438543698, option A: the sentence that says which instruction is the forced takeover order, paid by restatement cuts; the file's landed size, headroom 0); before that: 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 + ['.claude/skills/pm-dispatch/references/project-forms.md', 4874], // lowered 4875 → 4874 by the seat-by-account nits PR (the fix round restores the seating example and 「四件」, paid by five dropped 「的」; ruling record 7438543698, option A: the sentence that says which instruction is the forced takeover order, paid by restatement cuts; the file's landed size, headroom 0); before that: 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 ['.claude/skills/pm-dispatch/references/app-platform-boundary.md', 3928], ['.claude/skills/pm-dispatch/references/dev-traps.md', 2627], // new row, landed size, headroom 0: three one-path blocks of .claude/agents/os-dev.md moved here verbatim by the entry-file slimming PR, which lowers that row by more ['.claude/skills/pm-dispatch/references/dev-ablation.md', 3555], // new row, landed size, headroom 0: the reverse-verification and ablation procedure of .claude/agents/os-dev.md moved here verbatim by the same PR diff --git a/scripts/pm/seat-numbers.mjs b/scripts/pm/seat-numbers.mjs index d68eca93d71..323ab303328 100644 --- a/scripts/pm/seat-numbers.mjs +++ b/scripts/pm/seat-numbers.mjs @@ -32,15 +32,15 @@ * ## Who writes it, and when * * The seat that renames its post adds its row here FIRST, by an ordinary pull request, and renames only once the - * row is on `main`: a rename the table does not carry is the defect above. Rows are added, never changed or - * removed: old `#N` records stay readable for good, and they are attributed through this table. `lane` and - * `account` are lower case, as every reader folds them. + * row is on `main`: a rename the table does not carry is the defect above. Rows are added and never removed, + * and a row changes only when it is found wrong (below): old `#N` records stay readable for good, and they are + * attributed through this table. `lane` and `account` are lower case, as every reader folds them. * * Nothing checks a row against the seat post it speaks for: the self-test holds only its shape. The pull request * that adds a row quotes the post (its URL, and the `LANE#N` title it is renamed from), and the reviewer reads the - * row against it. A row found wrong after it lands (a number, lane or account the post never carried) is the one - * change a row takes: a pull request corrects it in place, quoting the post and naming the `#N` records whose - * reading moves, because every record signed under that number by either account is re-attributed by the merge. + * row against it. A row found wrong after it lands (a number, lane or account the post never carried) is + * corrected in place by a pull request that quotes the post and names the `#N` records whose reading moves, + * because every record signed under that number by either account is re-attributed by the merge. * * ⛔ No imports, no I/O: a leaf every reader can import. `check-half-states.mjs --self-test` holds every row to * the shape above.