Skip to content

Commit ef35ea3

Browse files
committed
fix(pm): the release-blocker patrol metric names the two release boards, and --health reads them
seat-lifecycle.md counted release blockers over three repos and three boards while seat-post-protocol.md defines the release list as two producers and two boards (the main repo and cloud). The metric line now names those two, and fleet-roster --health sums open priority:p0 over that set whatever --repos holds: a board in --repos comes off its walk, a board outside it by its platform count alone, and a board that does not answer is a named gap. The repo-count unread leg is gone; the window leg stays. Rider: seat-post-protocol.md gains one line defining the seat post's intake line. Its bytes are paid by compression in the same file; both ceiling rows are lowered to the landed sizes. Claude-Session: https://claude.ai/code/session_01L6bhgX4FrRa8yaWd6hv35v Claude-Session: https://claude.ai/code/session_01L6bhgUU7y15SHQsH8q8y74 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7de1bad commit ef35ea3

4 files changed

Lines changed: 85 additions & 49 deletions

File tree

‎.claude/skills/pm-dispatch/references/seat-lifecycle.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
- M = open `pm:awaiting-merge` PR,两数 ⛔ 不合计;决策卡点名有开放下游者(`Blocked-by:` 反查现算)。
7777
- finding 数与中位年龄:裸标签数即未定级数,hold 已换标不在内;五项现读`fleet-roster.mjs --health`
7878
- 裸卡数与中位年龄:sweep 析取①,未定级数另计析取④;老化 = 首触欠账。
79-
- 发版阻塞 = 窗内三仓 open `priority:p0` 之和,归零 = 三张板都空;总 open 数刻意不在指标内。
79+
- 发版阻塞 = 窗内主仓、cloud open `priority:p0` 之和,归零 = 两张板都空;总 open 数刻意不计。
8080
- Version Packages PR 默认永不催,挂着的发布 PR 是常态,⛔ 不进维护者摘要。
8181
- 唯一例外 = 重要修复已合 main 在等发布;提醒必须点名该修复与不发版的用户可见后果。
8282
- 波次收工点(执行席):① 收工点 = 会话内在飞归零,⛔ 不在 L1/L2 审核中途压缩;云卡不挡。

‎.claude/skills/pm-dispatch/references/seat-post-protocol.md‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,36 @@
22

33
## 贴的四段与派生视图
44

5-
- 四段的现值由在任座位在写侧刷新时收缩;⛔ 岗位说明 PR 不代改贴正文。
5+
- 四段现值由在任座位在写侧刷新时收缩;⛔ 岗位说明 PR 不代改贴正文。
66
- 标题即状态板,固定格式 `[PM seat] <座位名> — <状态>`;`label:pm:seat` 列表页即舰队状态板。
77
- 多席车道每席一贴,座位名带席号后缀 `domain:X · seat N`;席 1 省略后缀,沿用现贴。
88
- 状态词表:`🟢 <github-login>` 在任、`🟢 Routine`、`⏳ vacant`、`⏸️ paused`。
9-
- assignee = 在任 PM 的 GitHub 账号,退场或回收时摘除;无 assignee = 空缺,与标题互为校验。
10-
- 例外:Routine 座位的 bot 身份通常不可被 assign,以标题为准。
9+
- assignee = 在任 PM 的 GitHub 账号,退场或回收时摘除;无 assignee = 空缺,与标题互校。
10+
- 例外:Routine 座位的 bot 通常不可 assign,以标题为准。
1111
- 直连多场总监席:`🟢` 后写召唤账号,逐场一行;项目席 🟢 即指派,接管见 `project-forms.md`。
1212
- 当前 PM 段登记三元:GitHub 账号(`get_me` 自查)、会话 ID 或 Routine ID、上任时刻。
1313
- 审计与认领评论的作者字段是平台盖章的硬读数,接管仲裁与活性判定优先用它对账正文。
1414
- 信箱敲门同按作者字段:只认 `objectstack-fleet[bot]` 与 `GOVERNED_APPROVERS`(`readMailboxComment`)。
15-
- 班次叙事 ⛔ 不进贴正文:逐卡状态在卡与 PR 上必填,轮次合计走轮次报告。
15+
- 班次叙事 ⛔ 不进贴正文:逐卡状态在卡与 PR 上必填,合计走轮次报告。
1616
- 存根四项:在座账号与项目 · 上任时刻 · 热文件串行队 · 指针行「姿态台账住项目」。
1717
- 加 `Patrol:` `Mailbox:`,可选撞墙注记(HH:MM 恢复);坐席、串行队/cron 改、撞墙、移交才刷存根。
18-
- 接管压缩:接任 PM 按四段模板重述新正文;旧账留上一版 body revision,审计评论带版本指针。
19-
- 热文件串行队收重叠检查(`area-lease.md`)排后的卡与车道章程点名的串行链,跨轮跨班次常设:
20-
文件或链 → 有序卡片清单 → 每张卡认领的区域。
21-
- 新增座位贴(拆域或加席)先查 `pm:seat` 索引再立贴,席号取本车道现有最大席号加一。
18+
- 说明段接卡行点名本席接的 `area:*`;接卡面变即重写,重述、接管、移席照抄。
19+
- 接管压缩:接任 PM 按四段模板重述新正文;旧账留上版 body revision,审计评论带版本指针。
20+
- 热文件串行队收重叠检查(`area-lease.md`)排后的卡与车道章程点名的串行链,跨轮跨班次常设:文件或链 → 有序卡片清单 → 每张卡认领的区域。
21+
- 新增座位贴(拆域或加席)先查 `pm:seat` 索引再立贴,席号取本车道最大席号加一。
2222

2323
## 活性、写侧刷新与收班
2424

2525
- 活性惰性半边在接管冲突时评估一次:Routine 座位查调度器 `last_fired` 与 `next_run`。
26-
- 会话座位查最近一条产出评论的时间戳;回收 = 改正文 + 审计评论。
27-
- 可跑读法:本车道 `pm:dispatched` 卡按 `updated_at` 降序一搜,或读最近一条认领评论。
28-
- 写侧刷新三时刻:派发、收班、暂停或交接前;时间戳恒取自 `scripts/pm/post-stamped.mjs`。
26+
- 会话座位查最新产出评论的时间戳;回收 = 改正文 + 审计评论。
27+
- 可跑读法:本车道 `pm:dispatched` 卡按 `updated_at` 降序一搜,或读最新认领评论。
28+
- 写侧刷新三时刻:派发、收班、暂停或交接前;时间戳恒取自 `post-stamped.mjs`。
2929
- 帖与卡正文首行恒为署名 `LANE#N · ACCOUNT · SESSION`;缺即写工具拒发(`post-stamped.mjs` 头注)。
3030
- PR 正文末非空行署 `<!-- signed: LANE#N · ACCOUNT · SESSION -->`,整篇经 `dispatch.mjs` 的 `issue_patch`。
3131
- 刷新前回执敲门;`--body` 拦截:评论晚于末次戳 ⇒ `--ack-through=ID`;空座欠账无卡号 ⇒ 拒写。
3232
- 耐久状态只住正文或以 App 写入;正文守中继上限 60,000 字节,超大贴由半状态巡查浮出。
33-
- 协议升级迁移状态、或巡检发现正文不符时,当场改正文 + 审计评论。
34-
- Routine 座位的收尾简报也落自己的座位贴,它是下一轮自退守卫的读数。
33+
- 协议升级迁移状态或巡检发现正文不符时,当场改正文 + 审计评论。
34+
- Routine 座位的收尾简报也落本席座位贴,即下轮自退守卫的读数。
3535
- 留守写面 = 简报点名的 PR,残余定时器同界;留不了才热移交:收单注记 + 点名看护者。
3636
- 收单注记写评审判据、落地步骤与当前状态;看护只守落地,⛔ 评审判断不可外包。
3737
- 看护者默认下任座位;在跑云会话经 poke 触发器投递,⛔ 非 `SendMessage` 直投。
@@ -47,33 +47,33 @@
4747

4848
1. 立即停止新派发。
4949
2. 认领卡落地,或同笔 `Release:`+`Resume-from:`+清 assignee 交回 `pm:queue`;`needs_decision` 进决策箱。
50-
3. 全量枚举本车道队列、决策箱与 findings,形成接任台账;等裁决的卡只挂 `needs-user-decision`。
50+
3. 全量枚举本车道队列、决策箱与 findings,成接任台账;等裁决的卡只挂 `needs-user-decision`。
5151
4. 台账义务逐条带卡号(条件型开 `pm:blocked`+`Blocked-by:`,定时型 `Restart-when:`),正文只放指针。
5252
5. 第 2、3 步由 `node scripts/pm/check-handover.mjs --session=ID --account=LOGIN` 核,退出 0 才写空座正文。
5353
6. 贴正文改 `⏳ vacant` + 台账:前任会话 ID、注销时间、队列快照、串行队、跨车道备忘。
5454
7. 收班简报与审计评论存档;接任指引 = `/pm-dispatch 接手` + 先读座位贴。
55-
8. 在飞卡与留跑会话贴里点名(卡号+派发会话 ID);派出的会话离任 PM 自己 `archive_session`。
55+
8. 在飞卡与留跑会话贴里点名(卡号+派发会话 ID);派出的会话离任 PM 自 `archive_session`。
5656
9. 关本席信箱(`mailbox-open.mjs --close N`),接任者坐席时按席重开;向维护者交最终报告。
5757

5858
## 座位 Routine 创建
5959

60-
- Routine 席由维护者在 claude.ai 的 Routines UI 创建,凭据随所挂 repo sources 走;项目席自建自绑。
60+
- Routine 席由维护者在 claude.ai Routines UI 创建,凭据随所挂 repo sources 走;项目席自建自绑。
6161
- `create_trigger` 开新会话的 Routine 拿不到 GitHub 工具、零产出;⛔ 不把它当座位 Routine 在跑。
62-
- 创建后先手动 fire 一轮烟测,判据取 GitHub 上的产出:标签写入、审计评论、座位贴编辑。
62+
- 创建后先手动 fire 一轮烟测,判据取 GitHub 产出:标签写入、审计评论、座位贴编辑。
6363
- 回滚 = `delete_trigger` + 清空座位登记 + 失败注记。
64-
- 档位按职责挑,⛔ 不按重要性挑;Routine 席的档位与 cron 是维护者在 UI 上的可调项。
64+
- 档位按职责挑,⛔ 不按重要性挑;Routine 席的档位与 cron 由维护者在 UI 调。
6565
- 项目席巡查照收集节②(总监席无);存根记 `Patrol: TRIGGER_ID · CRON`、`Mailbox: PR #n`,放宽注由。
6666

6767
## Epic 收尾与集中例外
6868

6969
- 收尾:子卡全关且表完成 ⇒ 父单总结评论 → 关父单;例外领地段注收官。
7070
- 迁移:有在线专题席的旧式专题跑完当前里程碑,下个里程碑或离席时迁;孤儿专题即迁。
7171
- 例外由维护者开,走 `/pm-dispatch epic:#<n>`:父单打 `pm:epic`,只点名的链挂;epic PM 不兼域座位。
72-
- 父单正文写会话 ID、例外理由与文件领地;领地越窄越诚实,越宽越要写明为什么。
72+
- 父单正文写会话 ID、例外理由与文件领地;领地越窄越诚实,越宽越要写明理由。
7373
- 被保留卡 ⛔ 不 `pm:queue`,单卡离开子树同笔摘 `pm:epic` 加 `pm:queue`;域座位读索引避开领地。
7474
- 离席必移交:点名接班席与续点,或同笔未起工子卡摘 `pm:epic` 转 `pm:queue`,留 `Blocked-by:`。
7575
- 僵尸:保留卡 ~48h 无认领/分支/PR 且未移交 ⇒ 分诊在父单问,静默一窗后代做默认移交。
76-
- 领地防撞是声明式的,不是机械保证;撞上由合并队列兜底。
76+
- 领地防撞是声明式、非机械保证;撞上由合并队列兜底。
7777

7878
## 发版板运维(`priority:p0`)
7979

‎scripts/pm/check-skill-line-ratchet.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ export const CEILINGS = new Map([
101101
['.claude/skills/pm-dispatch/references/review-checklist.md', 79],
102102
['.claude/skills/pm-dispatch/references/landing-operations.md', 10717],
103103
['.claude/skills/pm-dispatch/references/release-aftercare.md', 3526],
104-
['.claude/skills/pm-dispatch/references/seat-post-protocol.md', 7722],
104+
['.claude/skills/pm-dispatch/references/seat-post-protocol.md', 7720],
105105
['.claude/skills/pm-dispatch/references/true-green.md', 2068],
106106
['.claude/skills/pm-dispatch/references/compile-surfaces.md', 2488],
107-
['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 9071],
107+
['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 9070],
108108
['.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
109109
['.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
110110
['.claude/skills/pm-dispatch/references/untrusted-text.md', 3280],

0 commit comments

Comments
 (0)