Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .claude/skills/pm-dispatch/references/dispatch-runbook.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -65,6 +65,27 @@ Routine 每 fire 附带一次:
- 惰性判定(接管冲突时)照旧,本巡查是其常设出口,把「标题挂 🟢 而人已下班」的窗
口压到一个班次以内(三元同笔与回收细则见 `seat-post-protocol.md`)。

## 分诊席读数成本三则(维护者 2026-08-20)

出处:三方讨论后维护者「立卡」;实测:座位贴数百条评论时尾页互斥读数每轮被迫读
整篇数千 token 收班简报,长线程全文重读中状态提取占大头。耐久修法另有两层,只交
叉引用不在此扩展 —— 巡逻量具读评论级边(已落地,冻结)+ 席位恢复「读正文一次拿
到现行状态」(被 sanitizer 转义陷阱挡住,另线);本三则是席内读数对价。

- **收班简报索引化**:模板固定四段 —— 首行机器判据(「分诊轮收尾」起始标记,
**逐字不动**,互斥守卫靠 grep 它)+ 索引表(卡号 | 一行判决)+ 健康指标 + 接
力清单(后两段沿用主文件轮次报告节的定义,含点名带开放下游依赖的决策卡)。
**细节禁止复述**:逐卡处置理由已作为审计评论落卡,简报只指向不拷贝。硬预算:
正文 ≤3000 字符,收班时**自报字符数**;连续两轮超限即巡检可见的漂移。没有读
数的「写短点」约定会涨回去,自报读数是防复利的关键。
- **互斥最小尾页读法**(两读数定义在主文件开轮互斥读法):互斥读数只需两个时间
戳(最近收班简报、最新开轮标记)。先 `issue_read get` 拿评论总数,按小
`perPage`(~15)算末页页码只读尾页;尾页不含两个读数再回翻一页,⛔ 不读整线程。
- **长线程状态读外包**:线程 > ~15 条的**状态提取**(找最新转换评论、抽
`Restart-when:` 行、确认 claim/report 在不在)一律派低档只读子代理(sonnet 即
可)返回结构化摘录,尾部优先。**裁决级阅读(契约复审、放行判定、代裁)不可外
包** —— 省这部分是拿放行质量换 token,禁止。

## 落卡与裁决记录细则(维护者 2026-08-13)

出处(逐字,未译):「还有很多我发现分诊或者决裁后没有改状态,这个也是问题」…「这
Expand Down
5 changes: 4 additions & 1 deletion scripts/pm/check-skill-line-ratchet.mjs
Original file line numberDiff line numberDiff line change
Expand Up@@ -84,7 +84,10 @@ const REPO_ROOT = new URL('../../', import.meta.url);
// quoted in the raising PR (see header).
export const CEILINGS = new Map([
['.claude/skills/pm-dispatch/SKILL.md', 682],
['.claude/skills/pm-dispatch/references/dispatch-runbook.md', 223],
// Raised 223 → 244 by the triage reading-cost card (maintainer ruling
// 2026-08-20, quoted in the raising PR): three mandated conventions land in
// the runbook's triage sections. Landed count, headroom 0, same convention.
['.claude/skills/pm-dispatch/references/dispatch-runbook.md', 244],
['.claude/skills/pm-dispatch/references/platform-readings.md', 134],
['.claude/skills/pm-dispatch/references/review-checklist.md', 82],
['.claude/skills/pm-dispatch/references/landing-operations.md', 82],
Expand Down
Loading