Uh oh!
There was an error while loading. Please reload this page.
docs(pm-dispatch): hang the keys beside the contract-review gate (discoverability only) - #11342
Merged
Merged
Conversation
…nstant points at its rulebook, operative clauses grep-able by the constant, rate-limit situation index Discoverability text only; the review-chain mechanism, the subagent fuse, and CONTRACT_REVIEW_TIER's value and semantics are untouched. - dispatch-gates.mjs: one JSDoc line beside CONTRACT_REVIEW_TIER pointing at the SKILL.md review-chain clauses (the seat greps the constant; the constant now says where its rulebook lives). - SKILL.md, the seat-session-only fuse passage: the subagent-cannot-self-verify clause now names the constant, so a grep for CONTRACT_REVIEW_TIER lands on the operative sentence; same passage gains a one-sentence loud anti-pattern ban (dispatching a higher-tier subagent to PERFORM the contract review is unmeasurable by construction) — both in-sentence, line-neutral. - SKILL.md 平台读数纪律: one situation-index line — rate-limited ⇒ read GET /rate_limit (zero quota) for the exact reset, never blind-wait; degraded WebFetch read and details stay in platform-readings. - Ratchet payment: the guardrail clause restating worktree-first for dev agents is deleted — it self-declared its redundancy (hook-enforced; restated in the os-dev definition; carried by the in-file mechanical-guard index row). 682/682 held; date + bracketed-quote inventories byte-identical before/after. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMTpSRF5CjMmQBFfPtPCwJ
hotlong
marked this pull request as ready for review
August 23, 2026 13:32
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes#11335
What this is
Discoverability text only — hanging the keys beside the
needs:contract-reviewgate. The card's operative scope is the grading comment: the review-chain mechanism, the seat-session fuse, the value and semantics ofCONTRACT_REVIEW_TIER, and who may clear the label are all explicitly untouched (the mechanism was confirmed correct by the card's own four independent reproductions).The four edits
scripts/pm/dispatch-gates.mjs— one JSDoc line besideCONTRACT_REVIEW_TIERpointing at the SKILL.md rulebook (the 「入队与落地」 clause-② gate + theneeds:contract-reviewreview-chain bullets). The seat greps the constant; the constant now says where its rulebook lives. No behavior change; the script's self-test stays green (✓ dispatch-gates self-test: 557 cases pass.).SKILL.md, the 「保险丝只对座位自会话有效」 passage — the subagent clause now reads 「subagent 的实际服役档位现无法对CONTRACT_REVIEW_TIER自证」, so a grep for the constant lands on the operative sentence. In-sentence, line-neutral.SKILL.md「平台读数纪律」 — one situation-index line: 「GitHub 限流 ⇒ 先GET /rate_limit(零配额)取精确 reset 与余量,⛔ 不盲等;公开仓降级 WebFetch 读法与限流细则见 platform-readings。」 Detail stays in references; both remedies verified present inreferences/platform-readings.md.Ratchet payment (SKILL.md at 682/682, headroom 0)
Ratchet verdict quoted from the mechanical-guard index: 「本文件行数只降不升(
pnpm check:pm-skill-ratchet);抬上限需维护者裁决引用在 PR 正文;⛔ re-wrap(折行合并)不得用作筹行 —— 棘轮治理的是内容体量,行数只是机读代理,新增以删减付账;密度优化仅随净减内容的 PR 顺带(维护者 2026-08-17 授权席裁)」.guard-main-checkouthooks), restated in the os-dev agent definition, and still carried inside this file by the mechanical-guard index row (guard-main-checkout/guard-shared-stashhooks | worktree-first 与 stash 禁令的机械面). The line saving is realized at the deletion point, not by re-wrapping untouched text; the bullet's remaining content (batch cap, file-face disjointness, seat rules) is unchanged.grep -oof20xx-xx-xx, uniq-counted) and bracketed-quote inventory (grep -o '「[^」]*」', sorted) taken before and after — both byte-identical (19 distinct dates; 63 quotes). No dated ruling or verbatim quote deleted; the new lines add no dates and no bracketed quotes.✓ check-skill-line-ratchet: .claude/skills/pm-dispatch/SKILL.md is 682 lines (ceiling 682; headroom 0).Verification (union re-run at final commit
00f5c09b)All gates named by
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack(no paths — change set derived by the script from merge-base) ran green at00f5c09b, exit codes captured directly (no pipe between command and$?):check:pm-dispatch-gates·check:pm-governed-prose·check:pm-skill-id-lint·check:pm-skill-ratchet·check:skill-frame-sync·check:pm-governed-merges·check:doc-authoring·check:entry-guard·check:parse-guard·check:cross-package-test-inputs·check:pnpm-filter-targets·check-ci-filter-parity·check-cross-package-test-inputs(ci.yml) ·@objectstack/lint check:doc-formula-expressions— all EXIT=0. Pluscheck:nul-bytes(any-edit rule):check-nul-bytes: OK. Key verdict lines:✓ check-skill-id-lint: 19 file(s) clean (pattern /#[0-9]{3,}/g).(no issue numbers in operative text)binding sentence present in all 4; 4 count mention(s) agree; 42 markdown files scanned for undeclared copies.(frame copies did not move)✓ dispatch-gates self-test: 557 cases pass.Governed surface
This is a mixed governed diff (
.claude/skills/pm-dispatch/SKILL.md): this PR opens draft and stays draft — human (maintainer) merge only; no auto-merge, no queue entry.skip-changesetapplies (no published package is touched); label applied via the additive endpoint and read back.Generated by Claude Code
Generated by Claude Code