diff --git a/.claude/skills/pm-dispatch/references/dispatch-runbook.md b/.claude/skills/pm-dispatch/references/dispatch-runbook.md index dda1518b404..ce869ec439c 100644 --- a/.claude/skills/pm-dispatch/references/dispatch-runbook.md +++ b/.claude/skills/pm-dispatch/references/dispatch-runbook.md @@ -134,6 +134,8 @@ - 席位写 assignee+`pm:dispatched`+带该 `Branch:` 的认领。 - worktree 照建;线程读 `os-dev.md`、派发令、卡与全部评论,⛔ 不读 `SKILL.md`;references 按需读。 - 交回:PR 与报告落地后给席位线程发一条消息(PR、head、报告要点);L1/L2 期线程不关,接 FAIL。 +- 线程每推后 10 分钟核 Actions 已起、非 `dirty`(冲突 PR 不起 CI),否则合 main 重推;等 CI 必留 `send_later` ≤30分钟兜底。 +- 席每轮读在飞卡 PR `pr-state.mjs`:推后 30 分钟零 Actions、`dirty`、2h 无推无报 ⇒ 当轮叫醒线程,⛔ 互等。 - PR 正文由线程自改(中继 `issue_patch`)再报要点,⛔ 不请席或区代发;线程已关才代改。 ## 派发前置:前提核实,再把本地检出钉到 main diff --git a/.claude/skills/pm-dispatch/references/execution-duties.md b/.claude/skills/pm-dispatch/references/execution-duties.md index 4996f40a8af..9ef06377aa2 100644 --- a/.claude/skills/pm-dispatch/references/execution-duties.md +++ b/.claude/skills/pm-dispatch/references/execution-duties.md @@ -46,6 +46,7 @@ - 分诊预见的后续工作是一张卡,触发条件落地时立卡;⛔ 分诊一句话永不授权无卡编辑。 - 阻塞项无主 ⇒ 被挡席认领做掉,不限大小;在该卡走完整认领、尊重其热文件串行队。 - 阻塞项在飞 ⇒ 等;卡 PR 叠未合 PR 或 `Blocked-by:` 未合的,合前 ⛔ 不开线程(维护者令除外)。 +- 定「等 #N」即同笔写卡 `Blocked-by: #N`+`pm:blocked`;⛔ 只记记忆或评论,无读者即漏派。 - 标签序 = NORTH-STAR「Priority」第 3 条(无级殿后),本车道开放卡现读 `card-pick.mjs --order <序>`。 - 开放 = 未派发(无 `pm:dispatched`、无 assignee);在飞的 P0/P1 不挡任何候选,只余取卡全序。 - 取卡全序:维护者直派插队卡(出处三件)> 契约面卡(判据见 `references/lanes/spec.md`)> 标签序。 @@ -173,7 +174,7 @@ - ① Routine 席巡检首动作 `list_triggers` 确认 Routine 启用;项目席由事件与巡查 routine 唤醒。 - ② 在飞期巡检 ≤45 分钟;待命期靠信箱与 PR 事件唤醒,兜底巡查每 4–6 小时跑待命五项。 - 待命 = 无在飞卡/PR、未读信、候选;事件唤醒空手即收工,有活即复原;⛔ 不取 60–70 分钟。 -- ③ 已派发未回报的 dev 逐个发状态询问;派发后 ~45 分钟无远程产出即到门槛。 +- ③ 已派发未回报的 dev 与卡线程逐个发状态询问;派发后 ~45 分钟无远程产出即到门槛。 - 已有远程分支/PR 不豁免探针。 - ④ 活着 ⇒ 进度与阻塞点;回 no active task; resumed from transcript ⇒ 生前已死,询问即复活。 - ⑤ 判据永远取正向证据:分支、PR、报告、探活回包。 diff --git a/.claude/skills/pm-dispatch/references/filing-gate.md b/.claude/skills/pm-dispatch/references/filing-gate.md index 8d236276603..023d35e18cd 100644 --- a/.claude/skills/pm-dispatch/references/filing-gate.md +++ b/.claude/skills/pm-dispatch/references/filing-gate.md @@ -17,7 +17,7 @@ - 增改 pm 规则的卡只在维护者点名时立(归 ③,正文引点名原话);⛔ 席位自提不立。 - 新接口/协议键/元数据类型/审计种类/新能力另立 `Feature` 卡,⛔ 不作 `Bug` 选项,分诊拆。 - ⛔ 不是卡:在建功能(码未合并)的问题,在该功能的卡与 PR 里修;合并后发现的才立 `Bug`。 -- 车队立的同专题卡只在改同一文件时互挡(判据同区租约重叠检查);次序偏好列在专题卡。 +- 车队立的同专题卡只在改同一文件时互挡(判据同区租约重叠检查);先后只写后卡 `Blocked-by:`。 - 挡路卡只挡本卡一部分 ⇒ 把要等的部分拆成单卡挂 `Blocked-by:`,其余照常排队。 - ⛔ 当前值(冻结、暂停、重点、只做 p1、并发)不进技能,只住座位贴与项目记忆; 单卡裁决只住该卡;唯常设规则进技能,须维护者明言长期有效或由他合并该规则 PR。 diff --git a/.claude/skills/pm-dispatch/references/seat-lifecycle.md b/.claude/skills/pm-dispatch/references/seat-lifecycle.md index b02f73d9c22..c2dab5c1402 100644 --- a/.claude/skills/pm-dispatch/references/seat-lifecycle.md +++ b/.claude/skills/pm-dispatch/references/seat-lifecycle.md @@ -87,7 +87,7 @@ - 停:队列空或 `rounds` 用尽(仅一次性调用适用);一轮 ≥ 半数派发失败或升级;维护者打断。 - 队列空是待命非退场(按需席除外):巡查跑到收班,只维护者令停;⛔ 不按 N 次无变化即停。 -- 队列空是逐卡表:报无卡可派即贴 `card-pick.mjs --order <序> --why`;无卡点即候选,⛔ 不得报空。 +- 每轮对所接车道与专题跑 `card-pick.mjs --order <序> --why`,报空即贴;无卡点即当轮派,⛔ 不得报空。 - 卡点一份词表:候选定义反面,open `Blocked-by:`、`outside --order`、无分诊审计、他席 `Claim:`。 - 单车道仓 `repo:*` 席:每轮首触 sweep 清空再认领,先于待命五项;cloud 细则见 `lanes/cloud.md`。 - 巡查每轮探针后读信箱、认领满 `batch`,跑待命五项;间隔按 `execution-duties.md` 收集节②。 diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index 43cfe329f81..cf31c24ce50 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -82,7 +82,7 @@ const REPO_ROOT = new URL('../../', import.meta.url); // only when a reader needs the ruling at the row. export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/SKILL.md', 33872], // lowered 33934 → 33872 by the re-basing PR's own edit - ['.claude/skills/pm-dispatch/references/dispatch-runbook.md', 20070], + ['.claude/skills/pm-dispatch/references/dispatch-runbook.md', 20354], // 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 ['.claude/skills/pm-dispatch/references/state-machine.md', 4189], ['.claude/skills/pm-dispatch/references/contract-review.md', 6419], ['.claude/skills/pm-dispatch/references/decision-analysis.md', 4892], @@ -104,7 +104,7 @@ export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/references/seat-post-protocol.md', 7720], ['.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', 9070], + ['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 9076], // raised 9070 → 9076 (+6) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): card-pick --why every patrol round ['.claude/skills/pm-dispatch/references/area-lease.md', 6586], // 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 ['.claude/skills/pm-dispatch/references/coordinator.md', 4265], // 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 ['.claude/skills/pm-dispatch/references/untrusted-text.md', 3280], @@ -113,8 +113,8 @@ export const CEILINGS = new Map([ ['.claude/skills/pm-dispatch/references/reading-discipline.md', 3822], ['.claude/skills/pm-dispatch/references/cross-repo-coordination.md', 4959], ['.claude/skills/pm-dispatch/references/triage-duties.md', 13559], // 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 - ['.claude/skills/pm-dispatch/references/execution-duties.md', 20154], // 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) - ['.claude/skills/pm-dispatch/references/filing-gate.md', 9096], // 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 + ['.claude/skills/pm-dispatch/references/execution-duties.md', 20277], // 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 + ['.claude/skills/pm-dispatch/references/filing-gate.md', 9101], // 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 ['.claude/skills/pm-dispatch/references/project-forms.md', 4889], // 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/lanes/server.md', 4832],