Repository navigation
skills(pm-dispatch): a describing text that disagrees with an unruled implementation is a docs fix in the queue, never a decision card - #17083
Conversation
… implementation is a docs fix in the queue, never a decision card Seven in-place line rewrites, zero net lines, every file at its ceiling (SKILL.md 812, core-rules.md 151, director.md 72). Triage reads the `pm:queue` / `needs-user-decision` criteria lines; the dispatching seat reads the named non-escalation class; the director seat reads the decision-box entry clause, which applies the class-1 self-ruling gate. The provenance boundary decides which side moves: a sentence with a ruled provenance is finding class (b) and the implementation moves; a sentence without one is a documentation defect and the text moves. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HxLw5aKDPR5RJgyUR7Exkd
…c-vs-impl-cards-fix-docs
维护者速读 — PR #17083(#17031,skills 席终稿,2026-09-09T07:03Z)改了什么 — 把你 2026-09-09 对 objectui#8318 的裁定写进技能:「所有这种文档错的都应该改文档,没有什么好决裁的」。三处读者各一句,全部原地改写、零增行:① 分诊判据(SKILL.md :342/:344):说明书类文本(JSDoc 为什么改 — 决策箱里这类卡在消耗你的裁决;规则不写下来,下一个席位又会立一张。真正的设计分叉(两种读法都合理、或改哪边都动公开契约)照旧进决策箱,那条出口没动。 风险与代价(含回滚) — 纯指令文本;回滚 = revert 本 PR。付账:director.md 删掉一句在三处都有的复述(不达档 ⇒ 通道跳过);core-rules 一句四棱块要求在 :146 原文仍在;:344 为凑 120 字节把「存量数据迁移形状」缩成「迁移形状」。 席位意见 — 接受(契约复审档席内复核)。三文件棘轮 812/151/72 未动;id-lint、frame-sync 绿;控制字节 0; 你要做的 — 合并;或由 os-zhuang / hotlong 批准,本席随即入队。看一处即可::344 那条边界(「有裁定出处才是契约违背,否则改文档」)是不是你的本意——它是总监席对你裁定的读法,不是你的原话;不要就删那半句。 Generated by Claude Code |
Fixes #17031
What changed
One rule — a describing text that disagrees with an implementation which has not itself been ruled wrong is a documentation defect: the text moves, in
pm:queue, and the card never enters the decision box — landed as seven in-place line rewrites across the three files where its readers sit. Zero net lines; every file stays exactly at its ratchet ceiling (no raise, no re-wrap funding); every rewritten line is at or under 120 bytes; no issue ids, dates or quotations in operational text (provenance is below, in this body, where it belongs).The boundary that decides which side moves is provenance. A sentence with a ruled provenance (an ADR, the spec, a maintainer ruling) that the implementation departs from is finding class (b) — a contract violation — and the implementation moves; SKILL.md:729 「协议为基准:spec 与代码不一致默认改代码对齐」 already says so and is untouched. A sentence with no such provenance — a JSDoc
@default, a README line, a reference page, a docblock, a default copied from somewhere else — is a description, and the description moves. Neither side needs a decision card.What still goes to the box is unchanged: a genuine design fork (SKILL.md:712 「选项在产品语义或公开契约形状上真实分歧且既有规范定不了」 and SKILL.md:645 「真正设计分叉照旧进决策箱」, both untouched). The new lines are guarded twice against being read as 「碰到就自裁」: the routing line carries 实现未被裁错 (an implementation someone has ruled wrong is the other branch), and the director's return runs through the existing class-1 self-ruling gate (SKILL.md:403–410), whose criterion ① 「既有裁定/在案类规则/成文纪律机械决定方向」 fails exactly when two readings are both reasonable — that card stays in the box and is presented.
Every rewritten line, its bytes, and who reads it
SKILL.md:342(66 B)- \pm:queue` 也收恢复不变量的 finding 与 test-only pin。`- \pm:queue` 也收恢复不变量的 finding、test-only pin,与实现未被裁错的说明书脱节(修文档)。` (115 B)pm:queue= … criteria block it reads before choosing one of the three labelsSKILL.md:344(77 B)- 碰存量数据迁移形状或删除已发布能力的卡也进决策箱。- 碰迁移形状或删已发布能力也进决策箱;说明书脱节不进:有裁定出处才是 (b),否则改文档。(120 B)needs-user-decision= … exclusion, and the finding-class (b) boundary the card asked for (说明书脱节 ≠ (b) unless the sentence has a ruled provenance)SKILL.md:714(109 B)- 具名不升级类(立即行动):恢复不变量的修复;技术任务间的顺序与依赖;验证策略。- 具名不升级类(立即行动):恢复不变量;技术任务间顺序与依赖;验证策略;说明书脱节。(113 B)needs_decisionreport is reviewed against the named non-escalation classes (SKILL.md:715, the very next line: 「dev 的 needs_decision 经 PM 复核落进不升级类的,PM 直接答复不上传」)core-rules.md:86(85 B)- 有落点或可复现的具体缺陷与范围明确的工具修复进 \pm:queue`。`- 有落点或可复现的缺陷、范围明确的工具修复与实现未被裁错的说明书脱节进 \pm:queue`。` (118 B)core-rules.md:87(111 B)- 设计卡、契约形状提案、碰迁移形状或删已发布能力的进决策箱,落卡即带四棱块。- 设计卡、契约形状提案、碰迁移形状或删已发布能力的进决策箱;无出处说明书脱节不进。(120 B)core-rules.md:137(102 B)- 具名不升级类:恢复不变量的修复、技术任务之间的顺序与依赖、验证策略。- 具名不升级类:恢复不变量的修复、技术任务之间的顺序与依赖、验证策略、说明书脱节。(120 B)lanes/director.md:48(69 B)- 不达档 ⇒ 通道整体跳过,卡走维护者路径,恒安全。(deleted)- 入箱先退回:实现未被裁错的说明书脱节卡按一类自裁录裁转 \pm:queue` 修文档,⛔ 不呈批。` (119 B)Consistency across the two homes, from the tree:
git grep -n 说明书脱节 -- .claude/skills/pm-dispatch/answers exactly the seven lines above (SKILL.md 342/344/714, core-rules.md 86/87/137, director.md 48) and nothing else — same term, same guard (实现未被裁错 / 无出处), same routing (pm:queue, 修文档, 不进决策箱) in both files.What was deleted or trimmed to pay for it (headroom was 0 on all three files)
references/lanes/triage.md(7/7) is a pointer charter to SKILL.md 分诊座位职责;references/decision-analysis.md(50/50) governs how an analysis is written, not whether a card gets one.SKILL.md:347(the (b) definition) and:349(the (a) boundary) are untouched, so the dev-side twin.claude/agents/os-dev.md:42stays consistent.Line budget
.claude/skills/pm-dispatch/SKILL.md.claude/skills/pm-dispatch/references/core-rules.md.claude/skills/pm-dispatch/references/lanes/director.mdRewritten-line widths: 115 / 120 / 113 / 118 / 120 / 120 / 119 bytes (cap 120).
check:pm-skill-ratcheton the final head: 「SKILL.md is 812 lines (ceiling 812; headroom 0)」, 「core-rules.md is 151 lines (ceiling 151; headroom 0)」, 「director.md is 72 lines (ceiling 72; headroom 0)」.Four-axis check on the wording
@default trueJSDoc tags copied from an older zod default, actual defaultfalse) had been escalated to the maintainer; each such card costs one presentation slot and a maintainer read. The rule removes that class from the box at triage, at the dispatching seat'sneeds_decisionreview, and at the director's entry.Gates
Derived by
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackfrom the merge-base changeset (16 families); every exit code captured before any pipe.pnpm check:pm-skill-ratchetpnpm check:pm-skill-id-lintpnpm check:skill-frame-syncpnpm check:pm-governed-mergespnpm check:pm-governed-prosepnpm check:nul-bytespnpm check:doc-authoringpnpm check:agent-test-spellingpnpm check:watch-hint-literalpnpm check:refd-timer-probenode scripts/check-closing-keyword-parity.mjs(+--self-test)node scripts/check-comment-mask-corpus.mjsnode scripts/pm/check-governed-queue-guard.mjs --self-testpnpm check:driver-memory-censuspnpm --filter @objectstack/lint run check:doc-formula-expressionsos-verify-lock: VERDICT command-exit 0 · held the lock 188s · waited 81s); rerun 0--ranreconciliation: 「16 derived famil(ies) accounted for — 16 run, 0 NOT-MEASURED」. Re-run on the final head7d030b7c2after mergingorigin/main: ratchet 0, id-lint 0, frame-sync 0, governed-prose 0, nul-bytes 0. Control-byte self-scan on the three files (grep -naPover the control range): no hits. No test or build closure: the diff touches no package.Ablation / reverse verification: not applicable — a prose rule on a governed instruction surface; no test asserts it. The mechanical checks that do read these lines (ratchet at headroom 0, id-lint, the 120-byte cap, frame-sync) were run on the final head.
Governed surface
node scripts/pm/check-governed-merges.mjs --test .claude/skills/pm-dispatch/SKILL.md .claude/skills/pm-dispatch/references/core-rules.md .claude/skills/pm-dispatch/references/lanes/director.md→ exit 3:Draft, human merge only.
skip-changeset: nothing under any package'sfiles[]moves —.claude/**is not published.Merge state
Branched from
edf59e359;origin/mainmoved to854639b31(one engine commit, nothing under.claude/) before the PR opened.git merge-tree --write-tree origin/main HEADwas clean;git merge origin/mainlanded as7d030b7c2;wc -lon the merged tree is 812 / 151 / 72.Provenance
Maintainer, live conversation with the director seat, 2026-09-09, on objectui#8318 (「结构性(说明书与实现脱节)」), verbatim and untranslated:
The boundary's two precedents, as the card gave them: objectui#8318 —
@defaulttags copied from an older default, seven tags nobody renders; the ruling changed the tags, not the components. objectstack#16549 — Setup-page copy promising 「connect as yourself」 against an engine doing an intersection; the maintainer changed the engine, because that sentence was the ruled intent (ADR-0090 D10). The first has no provenance behind the sentence; the second does. That difference is the rule's boundary.Acceptance notes
skills/objectstack-pm-dispatch/SKILL.md(lines 204–207) carries a deliberately generalized Auto-queue / Maintainer-confirm criteria pair without this rule; that copy is generalized by design (route B in the frame-sync gate's header) and outside this card's file surface. 承接者:无 — the skills lane would own it only if the maintainer wants the rule shipped to third-party projects..claude/agents/os-dev.md:42states class (b) as 「违背已声明契约(引契约原文)」; unchanged and consistent, because SKILL.md:347 was not touched and the provenance boundary lives on SKILL.md:344. 承接者:无.维护者速读(草稿)
改了什么:把您 9 月 9 日对 objectui#8318 的裁定写进 PM 技能:说明书类文本(JSDoc
@default、README、参考文档、docblock)与实现不一致、而实现本身没有被裁为错的卡,一律当文档缺陷进队列修文档,不再进决策箱。三个席位各在自己读的位置看到同一条规则:分诊席在定级判据行(pm:queue= … /needs-user-decision= …),派发席在「具名不升级类」,总监席在决策箱入口的退回条款。分界写成「有裁定出处才是契约违背」:句子背后有 ADR、spec 或您的裁决 ⇒ 实现错,修实现;没有、只是描述(含抄来的默认值)⇒ 文档错,修文档;两边都不需要决策卡。为什么改:您的原话:「所有这种文档错的都应该改文档,没有什么好决裁的,这个应该写入技能。」在此之前这类卡会被立成决策卡等您拍板,每张占您一次呈报和一次阅读;objectui#8318 就是这样到您面前的。
风险与代价(含回滚):三个文件都顶在行数上限,所以全部原地改写、零新增行。为此付了三笔:删了 director.md 里一句在三处重复的「不达档就整体跳过」(另两处原样保留);把「落卡即带四棱块」从核心条款第 87 行去掉(第 146 行原样保留同一句);把几处措辞压短(「碰存量数据迁移形状或删除已发布能力的卡」→「碰迁移形状或删已发布能力」,与核心条款同拼写)。误判风险在反方向:真正的设计分叉(两种读法都说得通、或改哪边都动公开契约)不在此规则内 —— 升级门槛与「真正设计分叉照旧进决策箱」两行未动,总监席的退回走既有的一类自裁门,机械定不了方向的卡照旧呈报。回滚 = revert 本 PR 的一个 commit,不碰任何代码或数据。
席位意见:
你要做的:受管面,人工合并。请看一眼措辞是否与您本意一致,尤其是「有裁定出处才是 (b)」这条分界,以及「说明书脱节」进「具名不升级类」是否合您意。
Generated by Claude Code