Skip to content

chore(pm): stop teaching target: as the release-blocker mark in three PM tools - #34113

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-k2l59t
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-k2l59t

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #32956

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:三个 PM 工具(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.mjs H67 摘要句与其自测断言。
  • 两分钟验证: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.sh
    • The target:MAJOR loop is removed: the file no longer seeds target:v17 in objectstack, objectui and cloud. In its place, a comment says why there is no target: family: a release blocker is priority:p0 inside the release window and nothing else (references/filing-gate.md 定级判据, which says 「⛔ 不打 target:」), and the maintainer's release list is label:priority:p0 is:open per repo (references/seat-post-protocol.md 〈发版板运维〉).
    • Seeding was stopped rather than reworded because nothing reads the label as the script described it (see Acceptance notes for the search), and --reconcile would actively rewrite an existing target:v17 object's description to "Release blocker for v17". Existing target:* objects are left exactly as they are, the same way the header already treats a retired lane's objects.
    • The objectos, hotcrm and mobile enrolment comments drop the clause "OUT of the target:MAJOR loop", since that loop no longer exists.
    • The priority:p0 and pm:blocking comments named the old pull order (p0 > pm:blocking > target board > Bug > …, citing a SKILL.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: the notify:release-blocker roster row now reads from: 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 to priority:p0 as a release blocker inside the release window. This matches project-forms.md (「发版板生产者→车道 Notify: release-blocker」) and seat-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 the H67_SELECTION_ORDER_LABELS docblock 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 is priority:p0, which the first rank already reads. The H67 coverage clause in the summary line says the same in one sentence.
    • Forced test edit: the H67 battery case "what the order does NOT model" asserted the old phrase ⛔ 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:p0 inside the release window the only release-blocker mark. These three tools still taught the old target: 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 against project-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

  • Readers of target: searched at base 27c2f1e (git grep for target:v1N, label:target, target:* and quoted target: across the repo): no script, workflow or reference reads a target: label as a release blocker. Two human-facing mentions remain outside this card's surface: ROADMAP.md points readers at "milestones and the target:* labels" for release targets (a planning use, not a blocker), and references/lanes/hotcrm.md says hotcrm has no target:* labels (still true). Neither is changed here.
  • scripts/pm/check-label-desc-cap.mjs keeps "Release blocker for $V …" / for V in v17 in 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.
  • Whether the existing 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/objectstack derived 49 commands from the three scripts/pm/ paths; all 49 ran, all exit 0. Eleven of them first stopped at PREREQUISITE NOT MET (exit 3, no node_modules); they were re-run after pnpm install --frozen-lockfile and the codes below are from that run. --ran reconciliation: 49 derived famil(ies) accounted for — 49 run, 0 NOT-MEASURED. check:pm-dispatch-gates fast 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)
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-declaration-mirrors.mjs :: exit 0
node scripts/check-declaration-mirrors.mjs --self-test :: exit 0
node scripts/check-issue-citations.mjs :: exit 0
node scripts/check-platform-checklist-watchdog.mjs :: exit 0
node scripts/check-platform-checklist-watchdog.mjs --self-test :: exit 0
node scripts/check-release-section-coverage.mjs :: exit 0
node scripts/check-release-section-coverage.mjs --strict :: exit 0
node scripts/check-self-test-wired.mjs :: exit 0
node scripts/check-self-test-wired.mjs --self-test :: exit 0
node scripts/check-self-test-workflow-commands.mjs :: exit 0
node scripts/check-self-test-workflow-commands.mjs --self-test :: exit 0
node scripts/check-whole-set-label-write.mjs :: exit 0
node scripts/check-whole-set-label-write.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
node scripts/ci/scheduled-full-run.mjs --self-test :: exit 0
node scripts/pm/bare-root-worklist.mjs --self-test :: exit 0
node scripts/pm/board-snapshot.mjs --self-test :: exit 0
node scripts/pm/sweep-closed-cards.mjs --self-test :: exit 0
node scripts/render-release-coverage-anchor.mjs --self-test :: exit 0
pnpm check:agent-test-spelling :: exit 0
pnpm check:bash32-floor :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:cli-command-ids :: exit 0
pnpm check:closing-target-claim :: exit 0
pnpm check:commit-card-trailers :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:entry-guard :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:issue-citations :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:parse-guard :: exit 0
pnpm check:partof-closing-keyword :: exit 0
pnpm check:platform-checklist :: exit 0
pnpm check:pm-half-states :: exit 0
pnpm check:pm-label-desc-cap :: exit 0
pnpm check:pm-post-stamped :: exit 0
pnpm check:pm-record-recognisers :: exit 0
pnpm check:pnpm-filter-targets :: exit 0
pnpm check:pnpm-flag-spellings :: exit 0
pnpm check:ratchet-remedy-authority :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:scripts-symbol-anchors :: exit 0
pnpm check:single-claim-paths :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm check:pm-dispatch-gates :: exit 0

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind. (no names added)
  • 3. No formatter ran; pnpm lint passes. (CI)
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (scripts/pm/** only: skip-changeset)
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

Generated by Claude Code

… 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>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 15, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 633f9b7890ab4b98d76c906d04cc89be76b4c7af
Local-runs: none
Scope: scripts/pm/ensure-pm-labels.sh, scripts/pm/record-recognisers.mjs, scripts/pm/check-half-states.mjs + none

Read: card #32956 (body, unblock note 6842370472, claim 6899739857, os-dev-report 6900076633), the PR body and file list, and the net diff against main (merge base 27c2f1ea, one commit, 3 files, +36/-42). main has moved to f81e4b6c and has not touched any of the three files or the two cited references since the base. Nothing was built, run or re-run.

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

  1. "Nothing reads target: as blocking" — holds for scripts and workflows, with one rules-text exception outside the diff. Searched the whole tree at the head (.github/**, scripts/**, .claude/**, skills/**, AGENTS.md, docs/**, ROADMAP.md, CONTRIBUTING.md) for target:vN, label:target, target:*, target:MAJOR, a quoted or backticked target: and "Release blocker for". No script and no workflow reads a target: label (every .github hit is pull_request_target:; every scripts/pm hit is a target: object property). Rules text: SKILL.md:116 and filing-gate.md:43 both retire it. Two human-facing mentions remain, as the dev says: ROADMAP.md:58 and references/lanes/hotcrm.md:41. The dev's reading of the second ("still true") is too kind, see S2.
  2. --reconcile would have rewritten target:v17 — true. The shim (ensure-pm-labels.sh gh wrapper, around :136-:163) re-sends the colour and description of every gh label create line through gh label edit. The removed line carried "Release blocker for $V …", so a reconcile run on the base would have set exactly that on the live objects in three repos. Stopping the seed, rather than rewording it, is the right choice of the two the card offered.
  3. Existing target:* objects are left alone, and nothing is broken by the removal. The file has no delete path (header :30-:34, shim ":154 never label delete"), and reconcile touches only labels the file names, so a label the file no longer names is untouched. No remaining text in the file refers to the removed loop (the three enrolment comments were trimmed to match). Nothing else in the tree creates or expects target:v17. check-label-desc-cap.mjs reads this file; its loop parser still has live for loops and one live interpolated description (lease:$A, :449-:450), so the expansion path keeps a real subject. Its floor is a lower bound, not a count pin.
  4. p0 and pm:blocking comments against execution-duties.md — correct, with a nit. The reference reads (:52-:53) 取卡全序 = maintainer direct dispatch, then contract-surface card, then 标签序; 标签序 = priority:p0, pm:blocking, 功能点位次, p1, p2, p3, 无级. Both comments now give that label order in that sequence. The dead citation (SKILL.md 选择优先级) is gone. Nit N1 below.
  5. notify:release-blocker row — matches the references. project-forms.md:41 names the sender as 发版板生产者 and the receiver as 车道; seat-post-protocol.md 〈发版板运维〉 names the producers (director seat here, whole-repository seat in cloud) and p0 only. The row's id, kind, key, template and its MAILBOX_FIELD_READERS entry are byte-identical, so readMailboxLine accepts and refuses exactly what it did. from/to/when have one consumer, mailboxKeyLines (the --mailbox-keys print, :1712); the roster self-test (:3173) only requires the three to be non-empty strings. No fixture, doc or consumer anywhere in the tree still states "triage", "the lane it is graded into" or "a p0/p1 release blocker is graded into a lane" for this key.
  6. H67 — comment and summary only, verdict unchanged. The diff in check-half-states.mjs is two comment blocks, one clause of the summaryLine string, and one battery assertion. H67_SELECTION_ORDER_LABELS and every judging function are untouched. The new prose is accurate against the reference: the unmodelled legs are 功能点位次 and the two legs above the label order; the 「先 Bug」 tiebreak is still not taken.
  7. The forced test edit is truly forced, and it is named. The battery case "what the order does NOT model" asserted the substring ⛔ not \target:` board membershipof the rendered summary line; the card requires that phrase to go, so the assertion cannot survive. It is replaced one for one (count unchanged), and named in both the PR body and the report'sdeviations`. No other assertion or fixture carried the old phrase (zero hits for "board membership" at the head).

② Semver level

  • skip-changeset is correct: all three paths are scripts/pm/**, no published package is touched; the label is on the PR and Check Changeset is green.
  • Clause-②: no is correct. The clause asks whether a published package's accept set or public surface widens or narrows. MAILBOX_KEYS is an internal recogniser table, and the part of it that is a recognised shape (key, template, field reader) did not change. The three changed fields are descriptive prose printed by --mailbox-keys. Not a shape change; no arm owed.
  • Metadata-protocol: none is correct.

③ Boundary flags

  • Deviation: forced test edit. Accepted, see ① 7.
  • Deviation: edits made in the shared card-thread checkout, no separate worktree. Accepted; no effect on the diff (one commit, three claimed files, the claimed branch). Nit N3: the claim records Worktree: objectstack-issue-32956, which the report contradicts.
  • Open question: delete the existing target:* label objects? — ESCALATE to the maintainer; not answered here. The card reserves it ("a maintainer call; ask on this card, do not delete"), so neither the dev nor this review may rule. It does not block this PR: keeping the objects is the state the PR leaves, and deletion is reversible only by hand. For the question as asked, note that the dev's reason for A is weaker than stated: ROADMAP.md:58 tells readers that release targets live on "milestones and the target:* labels", but after this PR no tool seeds a target: label for a new major, and filing-gate.md tells seats not to write one, so that pointer has no producer from the next window on. Put to the maintainer as: A keep the objects and decide what ROADMAP.md should say about them; B delete them and drop the ROADMAP pointer. Carrier: a needs-user-decision question on card scripts/pm: three tools still describe target: labels as the release-blocker board after the p0-only ruling #32956, asked by the lane seat before the card closes. The live label objects were not read for this review (the card says four; the PR names three repos).
  • Out-of-scope note: check-label-desc-cap.mjs header — ESCALATE, "carrier: none" is not accepted (S1).
  • Out-of-scope note: ROADMAP.md — rides the open question above.
  • SQL push-down: not applicable, no data access in the diff.
  • Serial note from the claim: PR fix(pm): a mailbox knock's signature must be a session the named seat lists #34071 and PR fix(pm): the contract-review record reader closes the four review nits of PR #33736 #34054 touch other regions of two of these files in the merge queue. The base is clean today; the seat re-reads the merge at landing.

④ Design judgment

  • must-fix: none.
  • S1 (should-fix, follow-up carrier). scripts/pm/check-label-desc-cap.mjs:45-:48 describes, in the present tense, a description "Release blocker for $V" expanded "per iteration of for V in v17" in the file it reads. This PR is what makes that sentence false, and the path is under scripts/pm/**, the area the card's acceptance covers. It does not name target: and teaches no label, so it is not a breach of the acceptance line, and the claimed file surface justifies leaving it. Suggested carrier: one p3 domain:skills follow-up card that swaps the header example for the live one (lease:$A, for A in A1 …); the synthetic self-test literals at :398-:413 and :457 can stay.
  • S2 (should-fix, same follow-up carrier). .claude/skills/pm-dispatch/references/lanes/hotcrm.md:41 reads 「无发版板:标签清单无 target:*」. That derives "no release board" from the absence of target:* labels, which is the old reading: the board is now priority:p0, and this script seeds priority:p0 in hotcrm. It is the one rules-text line left that treats target: as the board's mark. Outside this card's surface and on a governed skill path, so it needs its own card, not this PR.
  • N1 (nit). Both rewritten comments cite the label order as 「取卡全序」; the reference calls that list 标签序 (取卡全序 has two legs above it), and both drop the 无级 tail.
  • N2 (nit). Two rewritten comment lines in check-half-states.mjs run well past the surrounding wrap ("The author leg IS taken …" and "inside the release window, so the first rank below … ordered by").
  • N3 (nit). Claim and report disagree on the worktree, see ③.

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: claude/project-thread-k2l59t
Reviewed-by: session_01ADHkmPd7uRqHauEehGPr19

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

席位核对 · ACCEPT · head 633f9b7890ab4b98d76c906d04cc89be76b4c7af · 2026-11-15T20:03Z

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 15, 2026 20:04
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 499266d Nov 15, 2026
56 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-k2l59t branch November 15, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

scripts/pm: three tools still describe target: labels as the release-blocker board after the p0-only ruling

2 participants