Skip to content

docs(pm-dispatch): steward pin-watch mechanical output + Guardrails「版本发布必须人工」(#6162, #6170) - #6164

Merged
hotlong merged 2 commits into
mainfrom
claude/rc4-release-tasks-analysis-2d8euw
Aug 7, 2026
Merged

docs(pm-dispatch): steward pin-watch mechanical output + Guardrails「版本发布必须人工」(#6162, #6170)#6164
hotlong merged 2 commits into
mainfrom
claude/rc4-release-tasks-analysis-2d8euw

Conversation

@hotlong

@hotlong hotlong commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #6162

Authorization

Maintainer-authorized .claude/ tooling PR (Guardrails exception, #5925-6; precedents #5597 / #5872). Two maintainer rulings from 2026-08-07, quoted verbatim:

Ruling 1 (pin-watch duty, option A of the anti-forgetting proposal):

A. 队列管家加一条例行职责(推荐,先做)。

Ruling 2 (after the rc.4 auto-publish incident #6169 / #6170):

刚才我也没提出要求,是哪个ai自己替我发了 rc.4,版本发布必须是人工的。这个要写入规范。

Per the same Guardrails clause this PR is not self-accepted: it stays draft until another seat or the maintainer walks it through.

What changed (one file: .claude/skills/pm-dispatch/SKILL.md, 2 commits, +33/−2)

Commit 1 — steward pin-chain watch gains a mechanical output (#6162):

  1. New paragraph in 「入队与落地 B」 — the duty itself:
  2. Steward duty-table row in the same section — appends the mechanical output to the pin-chain-watch entry.
  3. 「现役两例」 enumeration (座位 Routine 化 section) — kept in sync with the table so the two enumerations don't diverge.

Commit 2 — Guardrails: 「版本发布必须人工」 (#6170):

  1. All AI seats (PM / dev / Routine / queue steward) are forbidden every publish action: running changeset publish / pnpm run release, pushing version tags, dispatching Release-class workflows, merging Version Packages (chore: version packages) PRs. Release-adjacent work (release board, pin bumps, version reconciliation, post-publish verification) stays with the seats; the publish itself happens only by the maintainer's own hand. Unauthorized publish traces (tags / npm versions appearing without a human action) are incident-filed — never "repaired" by a counter-publish. Precedent recorded in the rule: the 2026-08-07 rc.4 auto-publish (release: 17.0.0-rc.4 published from a10cbc77 but the version commit never landed on main — 2026-08-03 shape repeated; merge it back before ANY further release action #6169 / release workflow: publish pushes tags + npm but its version commit never reaches main — twice now (rc.3 c6a52d3, rc.4 a10cbc77); landing the commit must be part of the publish lane #6170) — the existence of a mechanical lane does not constitute authorization; a seat that finds such a lane reports it as a defect, not uses it as a tool.

Why

Activation note

The live steward Routine's prompt instructs it to read SKILL 「入队与落地」 A/B on every fire, so the pin-watch duty activates on merge. The pasted prompt block on anchor #5810 (clause 6, currently hint-comment only) is deliberately not body-patched from this session — full-body PATCH on a co-edited anchor is the #5885 corruption class; the revised clause is posted as a comment on #5810 for the maintainer's next UI re-copy (flagged as follow-through in #6162).

🤖 Generated with Claude Code

https://claude.ai/code/session_01BickTBKm2JYSNnrtPT8ysa

…tput (#6162)

维护者 2026-08-07 拍板 A 案:required 新鲜度门只防丢不防迟,#6159 实测靠人在聊天里
问了一句才立单。两个触发(objectui 窗口收口 → objectstack console bump 单;新 tag 族
发布 → cloud pin 单),单张封顶,rule 3 仍是第一产者,管家授权面不变(只立单,不执行
bump)。同步更新分工表行与「现役两例」枚举。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BickTBKm2JYSNnrtPT8ysa
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectstack Ignored Ignored Aug 7, 2026 6:18am

Request Review

rc.4 由 release.yml 的 on-push 自动通道在无人指令下发出(#6169/#6170 实锤:
changesets action 换版后工作树停在 rc.4,recover-publish 读到「repo 有、npm 无」
即代发)。裁决:发布动作(publish / 版本 tag / 触发发布 workflow / 合并 Version
Packages PR)只归维护者本人;AI 座位发现未经人工的发布痕迹按事故立案,不代跑。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BickTBKm2JYSNnrtPT8ysa
@github-actions github-actions Bot added the size/s label Aug 7, 2026
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 7, 2026
@hotlong hotlong changed the title docs(pm-dispatch): steward pin-chain watch gains a mechanical output — file the bump chore when a window settles (#6162) docs(pm-dispatch): steward pin-watch mechanical output + Guardrails「版本发布必须人工」(#6162, #6170) Aug 7, 2026
@hotlong
hotlong marked this pull request as ready for review August 7, 2026 06:52
@hotlong
hotlong added this pull request to the merge queue Aug 7, 2026
Merged via the queue into main with commit 9810d67 Aug 7, 2026
20 checks passed
@hotlong
hotlong deleted the claude/rc4-release-tasks-analysis-2d8euw branch August 7, 2026 07:02
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 31155540281 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

失败的 job(日志抽取,best effort):

  • Test Core (1/3) — 失败步骤: Run this shard's tests

    �[41m�[1m FAIL �[22m�[49m scripts/build-schemas-check-mode.test.ts�[2m > �[22mbuild-schemas.ts — --update-base moves the anchor forward or not at all (#5370)�[2m > �[22mrefuses while a merge is uncomm
    �[41m�[1m FAIL �[22m�[49m scripts/build-schemas-check-mode.test.ts�[2m > �[22mbuild-schemas.ts — --update-base moves the anchor forward or not at all (#5370)�[2m > �[22mrefuses while a merge is uncomm
    �[41m�[1m FAIL �[22m�[49m scripts/build-schemas-check-mode.test.ts�[2m > �[22mbuild-schemas.ts — --update-base moves the anchor forward or not at all (#5370)�[2m > �[22mrefuses a re-anchor whose new r
    �[41m�[1m FAIL �[22m�[49m scripts/build-schemas-check-mode.test.ts�[2m > �[22mbuild-schemas.ts — --update-base moves the anchor forward or not at all (#5370)�[2m > �[22mrefuses rather than guesses whe
    �[41m�[1m FAIL �[22m�[49m scripts/build-schemas-check-mode.test.ts�[2m > �[22mbuild-schemas.ts — --update-base moves the anchor forward or not at all (#5370)�[2m > �[22man origin/main rewound BEHIND t
    

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 78 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 在其他 PR 的同类评论里搜同名测试;出现过 ⇒ flaky 实锤,开 issue 修/隔离那条测试。修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

queue steward: give the cross-repo pin watch a mechanical output — file-or-refresh the bump chore when a window settles (release-lane pin watch)

2 participants