Repository navigation
docs(pm-dispatch): a PR that spends a shared budget merges main first at any K - #34301
Conversation
… at any K The landing K rule had one any-K clause (a label PR whose base predates a new locale pack). Widen it, folded rather than duplicated, to a PR that spends a shared budget when main has moved the same budget since PRBASE. The budgets are a closed list of two: skills/** against the published skills token ratchet, and the ui i18n-locale-en eager chunk (locales/en.ts) against PER_CHUNK_GZIP_CEILINGS. The cheap reading is git diff --name-only PRBASE..origin/main touching the budget's input or its ledger file. Paid by the intro line that restated the SKILL.md stage-file index row. Claude-Session: https://claude.ai/code/session_01ADHkmTBNiHCD16YicTGrkw Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract-review-handoff: review#2 — CONTRACT_REVIEW_TIER unavailable (maintainer quota limit on the review tier, 2026-11-16T04:50Z) · head ecea811 Owed: the at-tier contract review of card #34203 (claim 6907290611, triage first touch 6907132138). Card delta: The seat's L1 read, for the reviewer to confirm or overturn:
|
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head ecea811 · 2026-11-16T04:52Z |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-16T05:00Z. First review of this head; claim: comment 6907664060; hand-off 6907648807 and lane request 6907654348 on mailbox #33873 (the lane's at-tier reviewer was unavailable). Independence: implemented in an os-steve project thread, dispatched by domain:skills#2 (os-steve); reviewed by os-tesla, who neither dispatched nor implemented it. ① Derived judgmentsThe diff is one file, +3/−3, merge base
② Semver levelNone. An internal CI at this head: 46 check-runs, 14 success, 25 skipped, 7 in progress, none red. Still running: Lint · PM dispatch-gates, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · repo & tooling gates, Type Check · workspace, Type Check · consumer gates, Type Check · debt ledger. ⛔ This PASS is on the text; the seat waits for those seven to finish green before it lands, and a red one reopens the round. ③ Boundary flags
④ Design judgmentThe rule holds against the code it cites and against the scenario it was accepted on (row 10: K 11, no new locale pack, No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv 维护者速读
席位核对Verdict: ACCEPT · head
|
Requested by Steve · project thread
Fixes #34203
Clause-②: no
Metadata-protocol: none
维护者速读
.claude/skills/pm-dispatch/references/landing-operations.md的 K 块(第 43–46 行)与删去的第 3 行。pnpm check:pm-skill-ratchet && pnpm check:pm-skill-id-lint,预期两条都绿,文件仍 112/112 行。What changes
landing-operations.md, the K block only (lines 43–46 after the edit), plus one payer.Before (one any-K clause):
After (folded; the label-definition line is kept verbatim below it):
behindexception are unchanged.git diff --name-only PRBASE..origin/mainlists the budget's input glob or its ledger file. Inputs measured on main31eb2aed:skills/**(the gate walks the published skill directories underskills/), ledgerscripts/check-skills-token-ratchet.mjs.PER_CHUNK_GZIP_CEILINGS: its only locale or strings key isi18n-locale-en.ui/apps/console/vite.config.tsroutes exactly one module into that chunk (/packages/i18n/src/locales/en.ts$/), anden.tshas no imports.git ls-files 'ui/**/locales/en.ts'matches exactlyui/packages/i18n/src/locales/en.ts. The ledger isui/scripts/check-eager-closure-budget.mjs, which holds the constant.Line budget (headroom 0, paid in-file)
landing-operations.mdis 112 → 112 lines. The ceiling is not moved. Every line is ≤ 120 bytes (LC_ALL=C awk 'length($0)>120'prints nothing). The K block went from 2 to 4 lines (+2), because the content floor is about 400 bytes: two label-gate names, two input globs, two ledger paths and thegit diffreading. Two lines pay for it, and the seat ruled both:.claude/skills/pm-dispatch/SKILL.md:95, the stage-file index row`references/landing-operations.md` | 执行席落地窗口(ACCEPT 之后至 MERGED) | 入队与落地 · A–D 操作细则. Same reader (the execution seat), same window, same contents, same direction.Candidates I looked at and rejected (left untouched):
SKILL.md:191-192, butexecution-duties.md:76names 「条款②入队闸门」, so deleting it would orphan that name.SKILL.md:34covers them only in part: it has no 标准认领行 and no 分诊不成车道.triage-duties.md:28, but that line has a different reader (the triage seat).lanes/queue.mddoes not restate the K rule.execution-duties.md:37only points at 「落地 K」. No second file changed.Tests
Text-only change to a
.claude/**reference. No code and no tests. Ablation does not apply (os-dev.md: docs are not ablated).Acceptance notes
Proof: replay of #31518 re-reading rows 10, 11 and 60 (comment 6904236520)
How I measured: local git on a checkout deepened to
--shallow-since=2026-11-05, with every PRBASE on main. I fetched each merge-group commit by sha (git fetch origin SHA). Each one has a single parent, the queue base. The PR's own spend isgit diff --name-only PARENT ENTRY. "Main moved" isgit diff --name-only PRBASE..M, where M is the main commit at the re-reading's enqueue K (first-parent count from PRBASE). The rows' PRBASE values come from the re-reading table. The script is at the end of this section.0f7389ccui/packages/i18n/src/locales/en.ts(+10 other locale files)en.tsviacc8c4b0f4(#32129, 10:40Z, K 4) andd8d07910b(#32028, 11:13Z); at K 11 (8523ef9ac) the diff already listsen.ts--diff-filter=Aonlocales/= 0)0f7389ccdee2e92082838e83skills/objectstack-automation/SKILL.mdskills/**paths, first3968a57d5(#33427, 11-14 21:26Z), then #33555, #33726 and othersNet: the new clause catches all three. Only row 10 is a catch that K ≥ 15 alone missed. Row 11 follows from row 10. Row 60 was already inside K ≥ 15, and neither rule binds a hand enqueue. No row is NOT MEASURED.
Replay script and raw output
7b675fd9parentc4383e86(queued fix(lint)!: security-role-word judges what an objectExtensions entry writes onto an object, at the CLI and the object_extension publish door #32034 on top of feat(plugin-chatbot): the chat draws a confirm card for a package removal #32028's queue twin). PR spend 11 locale paths. At K 11 (8523ef9ac), main moved 11 locale paths incl.en.ts. Added locale files 0.25652525parentdee2e920. First-parent K from PRBASE is 15. main moved: the same 11 paths.222ad788parent346d56d4. First-parent K is 227. PR spend 1 path. main moved 23skills/**paths across 8+ landings.Out of scope
None filed. Not changed by this PR: the gates, the ceilings and the merge-queue settings.
Verification
Gates at head
ecea8116c:node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 18. All 18 ran with exit 0.--ranreconciled: 18 derived, 18 run, 0 NOT-MEASURED (a DERIVED zero), 0 UNRUN.Commands and exit codes
check:doc-formula-expressionsran afterturbo run build --filter=@objectstack/formula --filter=@objectstack/lintunderos-verify-lock.sh(VERDICT command-exit 0, 2m16s).check:pm-skill-id-lint: 118 files clean.check:pm-skill-ratchet: exit 0, withlanding-operations.mdat 112 against ceiling 112.Governed surface:
.claude/**only, Tier S. The PR stays DRAFT. The contract review goes to review#2 through the seat, and the seat lands it after PASS.Generated by Claude Code