From 5943a9b4629fb8f68d3f5b6bbdd79127e66a524c Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 08:49:20 +0000 Subject: [PATCH 1/3] docs(pm-dispatch): write the maintainer's p3 first-touch standard into triage grading Six lines in triage-duties.md: scope (graded p3 only, never the shipped surfaces), the close list, the keep list with keep as default, and which neighbour rules it outranks. Two lines with a second home pay for two; the ceiling rises 104 -> 108 by the measured growth, on the maintainer's ruled raise. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3 --- .../skills/pm-dispatch/references/triage-duties.md | 8 ++++++-- scripts/pm/check-skill-line-ratchet.mjs | 11 ++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.claude/skills/pm-dispatch/references/triage-duties.md b/.claude/skills/pm-dispatch/references/triage-duties.md index 57aad9458fc..66ee68b189c 100644 --- a/.claude/skills/pm-dispatch/references/triage-duties.md +++ b/.claude/skills/pm-dispatch/references/triage-duties.md @@ -7,7 +7,6 @@ - 查重缓存住席内:新会话全量拉,其后 `since` 增量;⛔ 不建分支、不共享、不依赖备份。 - 每日一 fire 跑两仓全量对账(`objectstack-ai/objectstack`、`objectstack-ai/cloud`)并归集日频职责; - 选层按 fire 时刻 ⛔ 不用计数器,简报写明层;cloud 卡首触归 `repo:cloud` 席自巡,见多仓协调。 -- 两仓对账兜底:cloud 卡无状态逾 4 h ⇒ 写信 `repo:cloud` 各席,⛔ 不代打标签(`lanes/cloud.md`)。 - 每日看板的车道一节展示 devx 六项度量;清单住 `lanes/devx.md` 范围节度量行,⛔ 不另抄。 - 每条枚举比对返回数与 `totalCount`,不等 ⇒ 报 `sweep INCOMPLETE` 点名缺口,⛔ 永不报干净。 - 轮次记录按车道计欠 L2 逾一轮的 head 数并点名车道(`check-owed-reviews.mjs`),只报 ⛔ 不接审。 @@ -54,9 +53,14 @@ - (c) AI 写元数据会被运行时拒收或静默丢弃的陷阱;其余进 PR `## Acceptance notes`,⛔ 不立卡。 - (a) 的分界是不完整 vs 错误,不是文档 vs 代码:示例照抄即失败是 (a),漏列成员不是。 - 门禁头注、self-test 文案与 `check-*` 处方句 ⛔ 非已声明契约;(b) 须用户或已发布包读得到。 -- (c) 元数据 = 由写它的人以外的人存储并再作者化的键:React prop 不是,存储的视图配置是。 - 三类同欠 `reach:`,分诊只把关不测;观察、休眠、零拉动 ⛔ 不立卡、不进收口卡、无配额。 - 缺 `reach:` 且非例外 ⇒ 定 `priority:p3`,并入收口卡或清扫卡,⛔ 不单独派发、不因此关卡。 +- p3 首触标准:仅对已定 p3,⛔ 不及〈读数判据〉半径外,`filing-gate.md` 定级第 2、3 条胜之。 + 任一关条中 ⇒ 关 not_planned、逐张写理由:无客户/用户影响(仅 pin、ADR/jsdoc 措辞、 + 内部重构、测试标题改写);读数过时、已被取代或已交付;按 `reach:` 两形无一可测的边角 + (如双持有者边缘、路径段内换行)。留条中或两不中 ⇒ 留(默认):用户可见缺陷、已发布 + 文档/技能文本、安全项、维护者直派、open PR 承载或席位已接。本条对无用户影响的 p3 + 胜上行「不因此关卡」、下文三类外首触关闭与立卡门「退回不关」「四类皆非才关」。 - 先修复:正文被 sanitizer 截断的卡不可派发,评论修复指令后跳过。 - 停摆指令判据必须比其它分类更硬(双读取),事后证伪同处公开作废。 - `type`(Bug/Feature/Task)立单者可预填、分诊校正;新卡即时打,存量卡 ⛔ 不回填、下次碰到补。 diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index 5135954f974..e4eb55c8da1 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -1531,7 +1531,16 @@ export const CEILINGS = new Map([ // review), which no rule text carried. The per-PR carve-out of the // ADR/skills-text line changed in place. Measured delta +1; landed count, // headroom 0. - ['.claude/skills/pm-dispatch/references/triage-duties.md', 104], + // Raised 104 → 108 by the p3 first-touch standard (an ORDINARY ruled raise; + // ruling of record: comment 6943048358 on card #34153, the maintainer's + // choice 「四张全部 A」 on decision card cmsg_01FdL1XeUyvVNxLreh3F4Qi9WwExMWYmK6rBq81gx1Ameh, + // 2026-11-17: 「p3 标准写进规则并放宽 4 行」, ceiling at most 108 by the measured + // growth). Six lines: scope and precedence, the close list, the keep list + // (default keep) and the clause naming which neighbour rule it outranks. Two + // lines paid with a second home (the cloud fallback, lanes/cloud.md; the (c) + // metadata definition, .claude/agents/os-dev.md). Measured delta +4; landed + // count, headroom 0. + ['.claude/skills/pm-dispatch/references/triage-duties.md', 108], // execution-duties.md, raised 183 → 185 by the split-off-card ruling — an // ORDINARY raise, ⛔ not a cross-file move (card #23579). The text is two rule // lines beside the derived-sub-issue rules in 〈候选与批次〉: a queued card found From 7c452b95b8bb3c7b8a03d032eaf7fb67046ba3fb Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 09:35:31 +0000 Subject: [PATCH 2/3] docs(pm-dispatch): p3 standard in five lines, keep wins, precedence over every not-closed rule The standard's close rule now reads: a close item hit and no keep item hit closes the card, outranking every not-closed rule in triage-duties.md and the filing gate; anything else stays. The (c) metadata definition is restored. The cloud fallback line is folded into the cloud line as a pointer to lanes/cloud.md, which states it for triage. Still 108 lines. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3 --- .../skills/pm-dispatch/references/triage-duties.md | 12 ++++++------ scripts/pm/check-skill-line-ratchet.mjs | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.claude/skills/pm-dispatch/references/triage-duties.md b/.claude/skills/pm-dispatch/references/triage-duties.md index 66ee68b189c..29e5e6750e6 100644 --- a/.claude/skills/pm-dispatch/references/triage-duties.md +++ b/.claude/skills/pm-dispatch/references/triage-duties.md @@ -6,7 +6,7 @@ - 两级盘点:小时轮以 `since` 窗口读增量,锚 = 座位贴上一份收班简报的时间戳。 - 查重缓存住席内:新会话全量拉,其后 `since` 增量;⛔ 不建分支、不共享、不依赖备份。 - 每日一 fire 跑两仓全量对账(`objectstack-ai/objectstack`、`objectstack-ai/cloud`)并归集日频职责; -- 选层按 fire 时刻 ⛔ 不用计数器,简报写明层;cloud 卡首触归 `repo:cloud` 席自巡,见多仓协调。 +- 选层按 fire 时刻 ⛔ 不用计数器,简报写明层;cloud 卡首触与逾 4 h 兜底照 `lanes/cloud.md`。 - 每日看板的车道一节展示 devx 六项度量;清单住 `lanes/devx.md` 范围节度量行,⛔ 不另抄。 - 每条枚举比对返回数与 `totalCount`,不等 ⇒ 报 `sweep INCOMPLETE` 点名缺口,⛔ 永不报干净。 - 轮次记录按车道计欠 L2 逾一轮的 head 数并点名车道(`check-owed-reviews.mjs`),只报 ⛔ 不接审。 @@ -53,14 +53,14 @@ - (c) AI 写元数据会被运行时拒收或静默丢弃的陷阱;其余进 PR `## Acceptance notes`,⛔ 不立卡。 - (a) 的分界是不完整 vs 错误,不是文档 vs 代码:示例照抄即失败是 (a),漏列成员不是。 - 门禁头注、self-test 文案与 `check-*` 处方句 ⛔ 非已声明契约;(b) 须用户或已发布包读得到。 +- (c) 元数据 = 由写它的人以外的人存储并再作者化的键:React prop 不是,存储的视图配置是。 - 三类同欠 `reach:`,分诊只把关不测;观察、休眠、零拉动 ⛔ 不立卡、不进收口卡、无配额。 - 缺 `reach:` 且非例外 ⇒ 定 `priority:p3`,并入收口卡或清扫卡,⛔ 不单独派发、不因此关卡。 - p3 首触标准:仅对已定 p3,⛔ 不及〈读数判据〉半径外,`filing-gate.md` 定级第 2、3 条胜之。 - 任一关条中 ⇒ 关 not_planned、逐张写理由:无客户/用户影响(仅 pin、ADR/jsdoc 措辞、 - 内部重构、测试标题改写);读数过时、已被取代或已交付;按 `reach:` 两形无一可测的边角 - (如双持有者边缘、路径段内换行)。留条中或两不中 ⇒ 留(默认):用户可见缺陷、已发布 - 文档/技能文本、安全项、维护者直派、open PR 承载或席位已接。本条对无用户影响的 p3 - 胜上行「不因此关卡」、下文三类外首触关闭与立卡门「退回不关」「四类皆非才关」。 + 关条中且留条不中 ⇒ 关 not_planned、逐张写理由,胜本文与立卡门诸不关条;余皆留(默认)。 + 关条:无客户/用户影响(仅 pin、ADR/jsdoc 措辞、内部重构、测试标题改写);读数过时、 + 已被取代或已交付;按 `reach:` 两形无一可测的边角(如双持有者边缘、路径段内换行)。 + 留条:用户可见缺陷、已发布文档/技能、安全项、维护者直派、open PR 承载或席位已接。 - 先修复:正文被 sanitizer 截断的卡不可派发,评论修复指令后跳过。 - 停摆指令判据必须比其它分类更硬(双读取),事后证伪同处公开作废。 - `type`(Bug/Feature/Task)立单者可预填、分诊校正;新卡即时打,存量卡 ⛔ 不回填、下次碰到补。 diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index e4eb55c8da1..d47558b83c6 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -1535,11 +1535,11 @@ export const CEILINGS = new Map([ // ruling of record: comment 6943048358 on card #34153, the maintainer's // choice 「四张全部 A」 on decision card cmsg_01FdL1XeUyvVNxLreh3F4Qi9WwExMWYmK6rBq81gx1Ameh, // 2026-11-17: 「p3 标准写进规则并放宽 4 行」, ceiling at most 108 by the measured - // growth). Six lines: scope and precedence, the close list, the keep list - // (default keep) and the clause naming which neighbour rule it outranks. Two - // lines paid with a second home (the cloud fallback, lanes/cloud.md; the (c) - // metadata definition, .claude/agents/os-dev.md). Measured delta +4; landed - // count, headroom 0. + // growth). Five lines: scope and precedence, the close rule (close item hit + // and no keep item hit ⇒ close; it outranks every not-closed rule here and in + // the filing gate; anything else stays), the close list and the keep list. + // One line paid: the cloud fallback now lives only in lanes/cloud.md, which the + // cloud line above points to. Measured delta +4; landed count, headroom 0. ['.claude/skills/pm-dispatch/references/triage-duties.md', 108], // execution-duties.md, raised 183 → 185 by the split-off-card ruling — an // ORDINARY raise, ⛔ not a cross-file move (card #23579). The text is two rule From 9c61792e70bdb576a1b132748ff82d89a8e5da61 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 10:06:58 +0000 Subject: [PATCH 3/3] docs(pm-dispatch): the p3 standard keeps irreversible and hard-deadline cards Round 3: the keep list gains irreversible or hard-deadline cards, so the close rule no longer outranks the report-to-maintainer line for them; the precedence names filing-gate.md instead of a section nickname. Still 108. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3 --- .claude/skills/pm-dispatch/references/triage-duties.md | 10 +++++----- scripts/pm/check-skill-line-ratchet.mjs | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.claude/skills/pm-dispatch/references/triage-duties.md b/.claude/skills/pm-dispatch/references/triage-duties.md index 29e5e6750e6..163ca441903 100644 --- a/.claude/skills/pm-dispatch/references/triage-duties.md +++ b/.claude/skills/pm-dispatch/references/triage-duties.md @@ -56,11 +56,11 @@ - (c) 元数据 = 由写它的人以外的人存储并再作者化的键:React prop 不是,存储的视图配置是。 - 三类同欠 `reach:`,分诊只把关不测;观察、休眠、零拉动 ⛔ 不立卡、不进收口卡、无配额。 - 缺 `reach:` 且非例外 ⇒ 定 `priority:p3`,并入收口卡或清扫卡,⛔ 不单独派发、不因此关卡。 -- p3 首触标准:仅对已定 p3,⛔ 不及〈读数判据〉半径外,`filing-gate.md` 定级第 2、3 条胜之。 - 关条中且留条不中 ⇒ 关 not_planned、逐张写理由,胜本文与立卡门诸不关条;余皆留(默认)。 - 关条:无客户/用户影响(仅 pin、ADR/jsdoc 措辞、内部重构、测试标题改写);读数过时、 - 已被取代或已交付;按 `reach:` 两形无一可测的边角(如双持有者边缘、路径段内换行)。 - 留条:用户可见缺陷、已发布文档/技能、安全项、维护者直派、open PR 承载或席位已接。 +- p3 首触标准:仅对已定 p3;`filing-gate.md` 定级第 2、3 条胜之,⛔ 不及其〈读数判据〉半径外。 + 关条中且留条不中 ⇒ 关 not_planned、写理由,胜本文与该文诸不关条;余皆留。关条:无客户/ + 用户影响(仅 pin、ADR/jsdoc 措辞、内部重构、测试标题改写);读数过时、已取代或已交付; + 按 `reach:` 两形无一可测的边角(如双持有者边缘、路径段内换行)。留条:用户可见缺陷、 + 已发布文档/技能、安全项、维护者直派、open PR 承载或席位已接、不可逆或有硬时限。 - 先修复:正文被 sanitizer 截断的卡不可派发,评论修复指令后跳过。 - 停摆指令判据必须比其它分类更硬(双读取),事后证伪同处公开作废。 - `type`(Bug/Feature/Task)立单者可预填、分诊校正;新卡即时打,存量卡 ⛔ 不回填、下次碰到补。 diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index d47558b83c6..f3f7e5a18d2 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -1538,8 +1538,8 @@ export const CEILINGS = new Map([ // growth). Five lines: scope and precedence, the close rule (close item hit // and no keep item hit ⇒ close; it outranks every not-closed rule here and in // the filing gate; anything else stays), the close list and the keep list. - // One line paid: the cloud fallback now lives only in lanes/cloud.md, which the - // cloud line above points to. Measured delta +4; landed count, headroom 0. + // One line paid: the cloud fallback now lives only in lanes/cloud.md, which + // triage-duties.md's cloud line points to. Measured delta +4; landed count, headroom 0. ['.claude/skills/pm-dispatch/references/triage-duties.md', 108], // execution-duties.md, raised 183 → 185 by the split-off-card ruling — an // ORDINARY raise, ⛔ not a cross-file move (card #23579). The text is two rule