Skip to content

Commit ecea811

Browse files
committed
docs(pm-dispatch): a PR that spends a shared budget merges main first 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>
1 parent 4bd3f24 commit ecea811

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# 入队与落地细则
22

3-
执行席在落地窗口(ACCEPT 之后至 MERGED)读本文;入队与落地条款与 A–D 操作细则都在此。
4-
53
## 入队与落地
64

75
- 条款②入队闸门:翻 ready / 入队前先取 PR 实际 diff;diff 是事实,卡片语义是预测。
@@ -42,7 +40,9 @@
4240
- PR 侧红(非队列)同在本窗口处置:义务与三步只住 `platform-readings.md`「红检查先读日志」。
4341
- 挂 auto-merge/入队前读 K = `git rev-list --count --first-parent PRBASE..origin/main`。
4442
- PRBASE = 末次绿 PR 跑 Test Core 所印 `Affected-set diff base`,⛔ 不取该跑起始时刻。
45-
- K ≥ 15,或标签 PR 的 PRBASE 后 main 落新语种包(任何 K)⇒ 先 merge main 等重跑绿,`behind` 例外。
43+
- K ≥ 15 ⇒ 先 merge main 等重跑绿,`behind` 例外;任何 K 同:标签 PR 的 PRBASE 后 main 落新语种包;
44+
- 或共享预算 PR 遇 `git diff --name-only PRBASE..origin/main` 碰同本输入或账本;封闭两本,输入:账本:
45+
- `skills/**`:`scripts/check-skills-token-ratchet.mjs`;`ui/**/locales/en.ts`:`ui/scripts/check-eager-closure-budget.mjs`
4646
- 标签即 `check-generated-translation-bundles`、`check-no-new-untranslated-declared-labels` 所计显示标签。
4747

4848
## A. 碰生成物的 PR:入队前先同步 + 整体重生成

0 commit comments

Comments
 (0)