Repository navigation
docs(pm-dispatch): a two-way pin between an ADR text and its gate rides one card and one PR - #38865
Conversation
…es one card and one PR The dispatch split rule keeps docs/adr/** off an implementation card. When a required gate pins a docs/adr text and code to one set in both directions and each half alone is measured red by that gate, the split yields two PRs neither of which can pass the gate. The rule now names that exit beside the enumeration-row exception: one card, one Tier H PR carrying the gate change and the full ADR description, one contract-tier L2; either half measured green alone keeps the split and the dev reports the fork. The execution-duties.md ceiling rises 22434 -> 22819 (+385, the landed bytes) under ruling record 7302993286. Claude-Session: https://claude.ai/code/session_01WGufzfWWgrLkABDvbRjhAk Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk Final green head: |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract-review-claim: session_01WGufzhGA3zoCFquQgku4pm · head f5a14b2 · 2026-12-01T07:45Z osa-L1-a takes the L1 and the contract review at CONTRACT_REVIEW_TIER on this head, announced in 7304428112. |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract reviewServed-tier: PR #38865 for card #38367, net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Against the lines around it: the new line is headed 「双向钉例外」 and sits right after 「例外仅新增:枚举行…」. That earlier line limits the enumeration-row exception to additions; it does not say it is the only exception, so the two read as sibling exceptions to the split line and do not contradict each other. Terms: 契约审核档 is defined in 〈定档〉 with its constant; L2 and Tier H are defined in Tried to break it: a seat does not build, so it cannot itself measure the two refusals before dispatch. The file already covers this (席位读不定 ⇒ dev 实测定案),
Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review + L2 adoption · PR #38865 (#38367) · head f5a14b2 · 2026-12-01T07:51ZL1: ACCEPT. L2 (contract-review tier, record 7304559311): PASS. No must-fix and no should-fix; N1 to N3 are nits that mirror the ruled wording, accepted as is. I adopt the record. Tier: H. Ruling record 7302993286 says "The rule-text PR is Tier H", claim 7303079873 says Tier H, and the 速读 asks the maintainer to approve, in line with the tapped option 「同一个 PR,你批一次」. The What I checked:
L2 brief (as given to the isolated reviewer)Contract review brief — PR #38865 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 席位核对ACCEPT — PR #38865 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 落地Correction to ACCEPT 7304616758: its landing line said Tier H, but
State change, made by the owning seat: ready for review and auto-merge. On merge it closes #38367. |
Requested by Yibo Wang · project thread
Fixes #38367
Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 「同一个 PR,你批一次」 (consequence line 「规则写明:双向锁定的文字和检查走一张卡一个 PR。改规则是一个小 PR,检查保持严格。」), the maintainer's tap on a decision card, 2026-12-01T06:29Z, recorded as ruling record 7302993286 on this card: option A of decision analysis 7242989541, as its section "What A rules, in one stroke" states it.
维护者速读
What changes
.claude/skills/pm-dispatch/references/execution-duties.md, section 派发, two lines right after the enumeration-row exception (the lines that keepdocs/adr/**off an implementation card and admit only enumeration rows):How each point of the ruled section lands, quoted verbatim from analysis 7242989541:
docs/adr/**(强制条款① and the ADR 修订 effort line), as the point itself says.scripts/pm/check-skill-line-ratchet.mjs: theexecution-duties.mdceiling row only, raised 22434 → 22819 (+385 bytes, the landed size,wc -c) under ruling record 7302993286, its comment quoting the maintainer's words verbatim, in the shape of the earlier rows. The file had 0 bytes of headroom; no other row moved.domains/skills.md(5 bytes headroom) is not edited: its enumeration-row exception is aboutskills/**, and the split rule and its exceptions live inexecution-duties.md, so the new line reads correctly without a pointer there.Tests
No code behaviour changes; this is rules text plus one ceiling number. Evidence is the gate set derived for the diff.
Derived gate set (41 commands) and its reconciliation
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackon commit 8fde2b6: 41 commands. Each was run with its exit code captured before any pipe.pnpm check:pm-skill-ratchet(execution-duties.md is 22819 bytes (ceiling 22819; headroom 0)),pnpm check:pm-skill-id-lint(134 file(s) clean),pnpm check:nul-bytes,pnpm check:skill-frame-sync,pnpm check:pm-governed-merges,pnpm check:doc-authoring,node scripts/check-comment-mask-corpus.mjs.node_modulesin the new worktree, then@objectstack/formulaand@objectstack/lintnot built). Afterpnpm installand building those two packages, all eight were re-run and exit 0.pnpm check:pm-dispatch-gates. Its first run took 643 s: 2901 of 2904 cases green. The 3 red cases each said "exit 3: install the workspace first", because that run started beforepnpm install. The re-run after install hit the 585 s foreground cap and was killed. CI owns the verdict.node scripts/pm/dispatch-gates.mjs --ran ran.list:41 derived famil(ies) accounted for — 40 run, 1 NOT-MEASURED.After merging
origin/main(3 commits, none touching these two files), the ratchet family was re-run on head f5a14b2:check:pm-skill-ratchet,check:pm-skill-id-lint,check:nul-bytes,check:skill-frame-sync,check:pm-governed-merges,check:ratchet-remedy-authority,check:pm-prior-rulings. All exit 0. Narrowing declared: the rest of the 41 were measured on 8fde2b6, the pre-merge commit with the same two-file delta.Acceptance notes
check-governed-merges --teston the two paths answers GOVERNED,.claude/**, landing tier H. Without a PR reading it marks the.claude/**declaration split as NOT MEASURED. The ruling record and the claim both say this PR is Tier H.Rule-change: ruledwith aRuling-ref:line is the line.claude/**reads for its Tier S split, so the seat confirms the tier with--pr. This PR does not decide it.CEILINGSsays "Three rows were later raised by an ordinary ruled raise". Many rows now carry ruled raises, so that count is stale. This is a volatile count, outside this card's file surface. Noted only, not filed.Read first
.claude/skills/pm-dispatch/references/execution-duties.md, the two added lines in 派发 (risk: the trigger wording, which decides when a card is not split).scripts/pm/check-skill-line-ratchet.mjs, theexecution-duties.mdrow (risk: the delta must equal the landed bytes).Verification (two minutes)
node scripts/pm/check-skill-line-ratchet.mjsprintsexecution-duties.md is 22819 bytes (ceiling 22819; headroom 0)and exits 0.Generated by Claude Code