Uh oh!
There was an error while loading. Please reload this page.
chore(pm): compress the un-ratcheted instruction surface and extend the line ratchet over it - #8712
Conversation
…he line ratchet over it (#8700) One-time compression pass over the five pm-dispatch references files and .claude/agents/os-dev.md: verbatim maintainer quotes keep, measured-story narratives compress to one line, every normative bullet and stop-mark survives (removals are pure duplicates whose statement lives in SKILL.md, itemized in the PR body). check:pm-skill-ratchet extends from the single SKILL.md ceiling to per-file ceilings over the whole surface, set at the post-compression counts; its self-test grows to cover the per-file map, and the dispatch-gates watch-hint pins are re-pointed at the new shape. Adds the authoring style rule to the runbook: provenance is one line, stories live on cards, not in operational text. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WuTtyckQa1VcXwgd52JpN
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
hotlong
commented
Aug 14, 2026
Review: ACCEPT — PM seat, session Independently verified at the head (scratch worktree @ |
Uh oh!
There was an error while loading. Please reload this page.
Fixes#8700
ADR-class merge path per the card: draft PR, human merge, auto-merge never armed.
Deliverable 1 — one-time compression pass
Uniform rule applied: verbatim maintainer quotes keep (one line where the quote allows); measured-story narratives compress to ONE line; every normative bullet and stop-mark survives — removals below are pure duplicates whose statement survives in the named home file, under the existing cross-pointer convention (SKILL.md keeps the principle statement, references keep only the delta: quotes, parameters, full clause texts, execution steps).
References five-file total: 729 → 602. The two sections freshly compressed by the preceding PR (结论当轮执行, 座位贴活性巡查) are kept as-is per the card.
Stop-mark accounting. Every removed stop-mark is a pure duplicate; the statement survives verbatim-equivalent at the named home:
dispatch-runbook.md (10 removed):
review-checklist.md (1 removed): the gerund-parser fact (closing/fixing are not keywords) — statement home is platform-readings 闭合关键词解析, which the checklist bullet now points to.
seat-post-protocol.md (1 removed): 永不散文 (three-type shift report) — SKILL.md 全体座位的不变量 carries 「⛔ 不是散文」.
Honest miss on the numeric target: the card aimed the runbook at ~170 (prompt: 170–190); it landed at 216. The compression exhausted what the no-semantic-change rule allows: what remains is norms, verbatim ruling quotes, one-line whys, the full clause texts SKILL.md points to, and the two kept-as-is sections. Pushing to 190 would have meant deleting norms rather than prose. Ceilings are set at the achieved counts; a further thinning can lower them any time.
Deliverable 2 — ratchet extension
scripts/pm/check-skill-line-ratchet.mjs goes from the single SKILL.md ceiling to a per-file CEILINGS map covering all seven files above, ceilings = the exact post-compression counts (headroom 0 everywhere, SKILL.md stays 686). Output style and the funded-growth rule (raising requires a maintainer ruling quoted in the raising PR) are kept; the red message now also names the authoring rule. Self-test extended (7 → 11 cases: per-file map coverage, message names file/remedy/authoring-rule). The watch-hint pins in scripts/pm/dispatch-gates.mjs are re-pointed: the ratchet now claims each covered file by full-path literal (positive pin added) and still does not claim all of references/.
Deliverable 3 — authoring style rule
One line added to the runbook's 落卡与裁决记录细则: 出处一行(日期 + 原话);实测叙事至多压成一行 —— 故事住在卡上,不进操作文本。 (counted inside the runbook budget above).
Verification
Union run AFTER the final commit at HEAD
c0ecfc6ab2, all green:Gate families re-derived post-change with node scripts/pm/dispatch-gates.mjs over the 8 changed paths; the derivation now shows each references file matching check:pm-skill-ratchet via its own full-path literal — the extension is visible to the derivation itself.
skip-changeset: docs + pm tooling only, nothing releases (per precedent).
Generated by Claude Code
Generated by Claude Code