Repository navigation
chore(pm): stop teaching target: as the release-blocker mark in three PM tools - #34113
Conversation
… PM tools A release blocker is priority:p0 inside the release window and nothing else. ensure-pm-labels.sh no longer seeds target:MAJOR (no reader is left, and --reconcile would rewrite an existing object's description to call it a blocker); its pull-order comments name the current label order. The notify:release-blocker roster row names the release-board producer as sender and p0 as the only mark. The H67 comments and summary clause in check-half-states.mjs name the legs the plan really does not model; no verdict changes. Claude-Session: https://claude.ai/code/session_01ADHkmNsgz1yr8QLLGrbGJ7 Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19 Contract reviewServed-tier: Read: card #32956 (body, unblock note 6842370472, claim 6899739857, os-dev-report 6900076633), the PR body and file list, and the net diff against Check-runs on this head: no failure. Completed green include Check Changeset, PR-body guards, Governed Surface Queue Guard, Check PR Size, Type Check · workspace, Type Check · debt ledger, Dogfood Regression Gate, Test UI. STILL RUNNING at the read (11): Lint · PM dispatch-gates, Lint · scoped · tooling self-tests, Lint · scoped · slot lookup & corpus, Lint · repo & tooling gates, Lint · docs & code guards, Lint · ESLint, Lint · CI, release & engine gates, Type Check · source gates, Type Check · consumer gates, Plan Test Core shards, Weekly governed-merges audit. The self-tests of the three touched tools ride the running Lint jobs, so their CI result is NOT yet read; the only evidence for them is the dev's own local run. This verdict is on the contract, not on those jobs. ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Counts: must-fix 0 · should-fix 2 (both on a follow-up carrier, none on this PR) · nit 3 · escalated 1 open question to the maintainer. Implemented-by: VERDICT: PASS |
|
domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19 席位核对 · ACCEPT · head
|
Requested by Steve · project thread
Fixes #32956
Clause-②: no
Metadata-protocol: none
维护者速读
ensure-pm-labels.sh、record-recognisers.mjs、check-half-states.mjs)不再把target:标签说成发版阻塞标记;ensure-pm-labels.sh停止创建target:v17。priority:p0,其余一概不算;工具还在教旧的target:板,信工具的席位会打一个发版清单不再读的标签,阻塞卡就看不见了。scripts/pm/内部工具的注释、说明文字和一条信箱表行,不改任何判定、不发布任何包;已存在的target:*标签对象原样保留。回滚即还原本 PR 的提交。scripts/pm/ensure-pm-labels.sh末尾原target:循环处(删循环、换成说明);record-recognisers.mjs的notify:release-blocker行;check-half-states.mjsH67 摘要句与其自测断言。node scripts/pm/check-half-states.mjs --self-test && node scripts/pm/record-recognisers.mjs --self-test && node scripts/pm/check-label-desc-cap.mjs,预期三条全过、无target:字样被当作阻塞标记。target:*标签对象删不删由你定,本 PR 不删。)What changes
scripts/pm/ensure-pm-labels.shtarget:MAJORloop is removed: the file no longer seedstarget:v17in objectstack, objectui and cloud. In its place, a comment says why there is notarget:family: a release blocker ispriority:p0inside the release window and nothing else (references/filing-gate.md定级判据, which says 「⛔ 不打target:」), and the maintainer's release list islabel:priority:p0 is:openper repo (references/seat-post-protocol.md〈发版板运维〉).--reconcilewould actively rewrite an existingtarget:v17object's description to "Release blocker for v17". Existingtarget:*objects are left exactly as they are, the same way the header already treats a retired lane's objects.priority:p0andpm:blockingcomments named the old pull order (p0 > pm:blocking > target board > Bug > …, citing aSKILL.md 选择优先级section that no longer exists). They now name the current label order (p0 > pm:blocking > 功能点位次 > p1 > p2 > p3,references/execution-duties.md取卡全序), and the p0 comment says a release blocker sits there as p0 inside the window.scripts/pm/record-recognisers.mjs: thenotify:release-blockerroster row now readsfrom:the release-board producer (the director seat in this repository; the whole-repository seat in cloud),to:the lane the card sits in,when:a card is raised topriority:p0as a release blocker inside the release window. This matchesproject-forms.md(「发版板生产者→车道Notify: release-blocker」) andseat-post-protocol.md〈发版板运维〉. The key, template and field reader are unchanged, so every knock that read before still reads.scripts/pm/check-half-states.mjs(H67 area, report-only, no verdict change): the block comment and theH67_SELECTION_ORDER_LABELSdocblock said the plan skips "target:board membership". They now name the legs it really skips (功能点位次, and the two legs above the label order) and say a release blocker needs no leg of its own because it ispriority:p0, which the first rank already reads. The H67 coverage clause in the summary line says the same in one sentence.⛔ not \target:` board membership; it now asserts⛔ not the 功能点位次 leg`. Battery count unchanged (158/158).Why
The p0-only ruling (card #32906, landed by PR #32918) made
priority:p0inside the release window the only release-blocker mark. These three tools still taught the oldtarget:board in their help, label descriptions and findings, so a seat that trusted the tool over the reference would write a label the maintainer's release query no longer reads, and the blocker would be invisible.Tests
node scripts/pm/check-half-states.mjs --self-test→ exit 0,5278 cases pass(H67 battery 158/158).node scripts/pm/record-recognisers.mjs --self-test→ exit 0,399 cases pass.node scripts/pm/check-label-desc-cap.mjs→ exit 0,46 label descriptions … all ≤100 characters;--self-test→ exit 0.bash -n scripts/pm/ensure-pm-labels.sh→ exit 0.node scripts/pm/check-skill-line-ratchet.mjs --self-test→ exit 0,164 cases pass(it pins the mailbox roster againstproject-forms.md).pnpm check:pm-skill-id-lint→ exit 0.No ablation: the diff changes comments, descriptions and one roster row's prose, not a tested behaviour.
Acceptance notes
target:searched at base 27c2f1e (git grepfortarget:v1N,label:target,target:*and quotedtarget:across the repo): no script, workflow or reference reads atarget:label as a release blocker. Two human-facing mentions remain outside this card's surface:ROADMAP.mdpoints readers at "milestones and thetarget:*labels" for release targets (a planning use, not a blocker), andreferences/lanes/hotcrm.mdsays hotcrm has notarget:*labels (still true). Neither is changed here.scripts/pm/check-label-desc-cap.mjskeeps"Release blocker for $V …"/for V in v17in its header as the example of shell-variable expansion, and its self-test uses the same literal. The example no longer exists in the file it reads; it is a stale example, not a rule, and it is outside this card's file surface. carrier: none.target:*label objects are deleted is the maintainer's call; this PR deletes nothing.Verification
Local gate round on head
633f9b78(after the last commit):node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 49 commands from the threescripts/pm/paths; all 49 ran, all exit 0. Eleven of them first stopped atPREREQUISITE NOT MET(exit 3, nonode_modules); they were re-run afterpnpm install --frozen-lockfileand the codes below are from that run.--ranreconciliation:49 derived famil(ies) accounted for — 49 run, 0 NOT-MEASURED.check:pm-dispatch-gatesfast tier:2205 cases pass; 9 slow section(s) deferred. Every family CI runs is read from this PR's check-runs, not re-run here.The 49 commands and their exit codes (head 633f9b7)
Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses. (CI)main, one pull request.scripts/pm/**only:skip-changeset)packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code