Skip to content

Commit 71216fc

Browse files
committed
fix(pm): restore the ALL quantifier and re-key the self-test success line
Rework of the two one-line defects the at-tier contract review returned FAIL on. Both are text; no behaviour, constant, register row, tier function or self-test expected value moves. - .claude/skills/pm-dispatch/references/landing-operations.md:27 named the SURFACE ("Tier S(.claude/** 全树)者") and dropped the PR-level ALL quantifier that its own predecessor ("受管路径全在 … 者"), this repair's prescribed wording and the sibling contract-review.md:46 all carry. As written, :27 and :28 partitioned governed SURFACES rather than pull requests, so a mixed diff (.claude/** plus AGENTS.md, Tier H by the register's ALL-not-ANY rule) matched both lines with no tiebreak on the page. Restored to "受管路径全在 `.claude/**` 者 Tier S:…" — 93 B → 105 B against the 120 B cap, line count 69/69 unchanged. - scripts/pm/check-governed-queue-guard.mjs:4442-4443, the --self-test SUCCESS line printed on every run, still stated the superseded #18020 references-tier population ("a governed diff whose governed paths all lie under the one ruled prefix") while the battery at :3949-3950 asserts the-old-references-boundary-is-GONE. Landed 2026-09-13 in #18036 and untouched since, so the file's docblock repair left the one instance seats actually read. The population is re-keyed to Tier S — the register's .claude/** row, asked through governedTierFor — with the #18020 naming kept as history, matching the docblock's own form. 296 cases unchanged. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent fa628d0 commit 71216fc

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.claude/skills/pm-dispatch/references/landing-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
- 契约复核 PASS 落地的 PR 到窗口时已 ready 且 auto-merge 在挂,见 `contract-review.md`
2525
- 窗口自身权责不变:跟到 MERGED、踢出处置、落地后对账。
2626
- 转 ready/入队前跑 `check-governed-merges.mjs --pr N`:受管面照两层;>5000 行(含生成物)照规则层。
27-
- Tier S(`.claude/**` 全树)者:席内达档复核过落地前检三条即转正式入队。
27+
- 受管路径全在 `.claude/**` 者 Tier S:席内达档复核过落地前检三条即转正式入队。
2828
- Tier H(其余受管面)者:四件套留 draft 等人批,⛔ 不翻正式不入队;获授权批准后认领席落地。
2929
- ⛔ 两层不由席位批准;清标即落地同受此闸,漏判会被队列守卫在 merge group 里拒收。
3030
- 再读 `mergeable_state`:`dirty` ⇒ 先 merge `origin/main` 再挂;生成物在面上按 A 的固定序。

scripts/pm/check-governed-queue-guard.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4439,8 +4439,9 @@ export async function selfTest() {
44394439
'fail-closed on an unreadable label set and on a group naming no pull request, enumerated per commit so a ' +
44404440
'bare PR cannot carry a gated sibling through, silent and read-free on the pull_request leg, and replayed ' +
44414441
'against the eleven measured enqueues of 2026-09-09 — five refused, six passed, that second number being ' +
4442-
'the boundary a label reader cannot cross — and the #18020 references TIER: a governed diff whose governed ' +
4443-
'paths all lie under the one ruled prefix lands on the skills seat\'s review of record instead of an ' +
4442+
'the boundary a label reader cannot cross — and the #18020 references TIER, re-keyed to Tier S by #19133: a ' +
4443+
'governed diff whose governed paths are ALL Tier S — the register\'s `.claude/**` row, asked through ' +
4444+
'`governedTierFor`, never a prefix repeated here — lands on the skills seat\'s review of record instead of an ' +
44444445
'authorized approval, with the record recognisers IMPORTED through a lazy load whose precondition (no ' +
44454446
'top-level await in this file\'s dispatch) is pinned against this file\'s own source, refused on an older ' +
44464447
'head, on a missing or below-tier or partially-stamped `Served-tier:`, on an unsigned record, on no record ' +

0 commit comments

Comments
 (0)