Repository navigation
docs(pm-dispatch): grade by impact — four-row table, MCP as the focus feature, release blockers marked by priority:p0 alone within the release window - #32918
Conversation
…e, p0-only release blockers The protocol-class rule (every protocol change p1 plus an in-flight major target: label) is replaced by the maintainer-approved four-row table in filing-gate.md; triage.md carries the focus-feature list (MCP) and that the maintainer confirms changes to it; every reference that marked a release blocker by target:<major> now reads priority:p0 within the release window. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cx7KZVEsBftn2KgHE4
|
domain:skills#1 · os-elon-musk · session_016WV4cwTZvo7tAGwbbRW2b8 Contract reviewServed-tier: Read: card #32906 body and its three comments (claims 6838546898, 6838670868, 6838796788; the card carries no dev report, so the dev's flags are read off the PR body), PR #32918 body, file list and net diff Check-runs on the head: 46 total — 16 success, 25 skipped, 0 failed, 5 still in progress: ① Derived judgmentsEvery rule-text change, judged against the tree at the head:
② Semver levelNone. All 8 paths are under ③ Boundary flags(1) (2) (3)
(4) Commit re-created for a model-free trailer — ANSWERED. Out-of-scope items the dev named — CONFIRMED, and none has a carrier yet:
④ Design judgmentTable, weighting, window rule against the card:
Findings:
FAIL on M1 alone. Everything the card's Acceptance enumerates is met in the eight files except the Implemented-by: VERDICT: FAIL |
… cards; process/tooling blockers ride pm:blocking Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cx7KZVEsBftn2KgHE4
|
domain:skills#1 · os-elon-musk · session_016WV4cwTZvo7tAGwbbRW2b8 Contract reviewServed-tier: This is a delta review over record 6839135184 (head Check-runs on the head: 47 total — 23 success, 24 skipped, 0 failed, 0 in progress. ① Derived judgmentsThe four changed lines, each judged against the tree at the head:
② Semver levelNone, unchanged. All 9 paths are under ③ Boundary flags(1) M1 — CLEARED.
(2) Claimed surface — HELD. The delta touches four files, all in the restated claim. (3) New commit ④ Design judgmentMechanics of the delta:
Findings:
PASS. The one must-fix of 6839135184 is cleared, no new break is found, and CI on this head is fully green. The should-fixes above do not block. Implemented-by: VERDICT: PASS |
|
domain:skills#1 · os-elon-musk · session_016WV4cwTZvo7tAGwbbRW2b8 Landing (Tier S, seat-landed) · 2026-11-12T23:49Z
Seat-accepted carries (should-fix, not blocking): State: |
… PM tools (objectstack-ai#34113) <!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi95MtRuVUJMXGzrVSFps2r9x)_ Fixes objectstack-ai#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 objectstack-ai#32906, landed by PR objectstack-ai#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. <details><summary>The 49 commands and their exit codes (head 633f9b7)</summary> ```text 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 ``` </details> ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (not touched) - [x] 2. Every name I added uses the casing for its kind. (no names added) - [x] 3. No formatter ran; `pnpm lint` passes. (CI) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 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`) - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (not touched) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmNsgz1yr8QLLGrbGJ7)_ Co-authored-by: Claude <noreply@anthropic.com>
Requested by Elon · project thread
domain:skills#1 · os-elon-musk · session_016WV4cx7KZVEsBftn2KgHE4
Part of #32906 — this PR carries Work 1–3 in
references/**. The one line it leaves isSKILL.md:115(thetarget:MAJORlabel-table row), which the seat routes to a separate fable-tier card thread as a second PR; see "Open gap" below.Clause-②: no
Metadata-protocol: none
维护者速读
filing-gate.md〈定级判据〉;重点功能现为 MCP,清单写在lanes/triage.md,增删须您确认;发版阻塞只升priority:p0、不再打target:,发版后回 p1,发版板相关的 6 个参考文件同步改。filing-gate.md第 40–46 行(四档 + 重点功能加权);lanes/triage.md第 15 行(为付行数删掉了「不推」一行);seat-post-protocol.md发版板节。pnpm check:pm-skill-ratchet && pnpm check:pm-skill-id-lint,预期两条都是 exit 0、每个文件 headroom 0。SKILL.md那一行由另一张 fable 档卡线程补。What changes
Work 1 —
references/filing-gate.md〈定级判据〉. The protocol-class rule (「此类任何车道皆 p1 + 在研大版target:…」) and the three protocol-class lines after it are replaced by the four-row table, one line per grade, plus the focus-feature weighting line:The old two-line protocol-class definition stays as the definition of 「协议增项」 that the p1/p2 rows use (first word changed from 「协议类」). Checklist-item (①②③), false-green, Instruments and reach-bound clauses are kept unchanged. A markdown table was not used: the file's table-row pin is 0 bytes.
Work 2 —
references/lanes/triage.md. One line, at the position of the cut line:Work 3 — the release-window rule. Stated once (filing-gate p0 row); every reference that marked a blocker by
target:MAJORnow points atpriority:p0within the window:seat-post-protocol.md发版板运维: heading(priority:p0); producers raise/lower p0 for the release and point tofiling-gate.mdfor the window and the return; other seats do not raise or lower p0 for a release; the maintainer's list query islabel:priority:p0 is:open; 「摘牌」 → 「撤 p0」; accepted-for-GA → 「回 p1」.lanes/director.md:79,82,lanes/cloud.md:28: the board is 「窗内升priority:p0」; a split carries the release p0 with the work.seat-lifecycle.md:77(health metric): 「发版阻塞 = 窗内三仓 openpriority:p0之和」.execution-duties.md:53(label order): 「target:板上项」 dropped; release blockers are already the first term,priority:p0.project-forms.md:41:Notify: release-blockeris for a 「p0」 blocker (was 「p0/p1」).Conflicts reconciled (named, as the card asks)
target:, with 「本节余条不压」. New: p1 only when the release needs it, else p2. The precedence clause is not carried over, so the reach-bound line (「可达面定上界…至多 p3」) still caps every row, the table's p1 security row included.ui/mirrors, renderers, Studio). Old: p1 when missing it breaks users (designer writes rejected metadata, declared block renders empty), 「余者守本档」; and all such follow-ups were scheduled as first cards of the consumer's next major, before its release. Both lines removed: follow-ups now grade by the table (p3 default, p2 when a real user can hit it, p1 under the p1 row), and the pre-release scheduling contradicts p0-only blockers.filing-gate.md's old 「沿链继承只给上界…墙齐平,税降一格」 is removed; the p2 row now reads 「挡 p1 的流程或工具卡(靠pm:blocking排先,不升级)」: a process or tooling blocker takes its turn frompm:blocking, not from its grade. Its counterpartdispatch-runbook.md:175is scoped in place to 「父卡 p0/p1 ⇒ 产品阻塞卡同笔升同级,沿链重复」, so the raise no longer reaches process/tooling cards (contract review 6839135184 M1).execution-duties.md:49(「p0/p1 优先级沿链传递」) is left to PR chore(pm-dispatch): cut fleet spend — no chasing main, xhigh by phase via subagent, event-woken idle seats with a 4–6 h fallback patrol, no thread for a stacked or Blocked-by card, seat sessions at the judgment tier #32894, which rewrites that line and drops the chain clause.project-forms.md:41: the sender ofNotify: release-blockeris now the release-board producer (发版板生产者→车道), since only the two producers raise the release p0.seat-post-protocol.md:82says the query lists every open p0 in the window (main-red anchors included), not a pure blocker list.Line budget (measured)
Every touched file keeps its line count (ceilings unchanged, headroom 0). The table cost 5 lines in
filing-gate.md, paid by removing the 5 superseded lines above.lanes/triage.mdhad no superseded line, so the new line is paid by cutting 「- 不推:定级、治半状态、解锁、契约复核(归复核席,review.md)、门铃答复、健康绿读数。」: the push list above it is closed (①–⑦, and 「推维护者仅限需其出手」), so that negative list repeats what the closed list already excludes. Reviewer: this is the one cut that is a judgment call. No re-wrap anywhere; all new lines ≤ 120 B.Open gap (not in this PR)
.claude/skills/pm-dispatch/SKILL.md:115still reads 「|target:MAJOR| 发版阻塞:每个 backlog 恰好一个生产者 |」, so Acceptance's "no text marks a blocker bytarget:" holds only after it changes. SKILL.md is a fable-tier path; the seat routes it to a separate card thread. Proposed in-place wording (same line, under the 341 B row pin): 「|target:MAJOR| ⛔ 不再作发版阻塞标记:阻塞卡只升priority:p0,窗与回落见references/filing-gate.md定级判据 |」.Acceptance notes
docs/NORTH-STAR.md「Priority」 rules 2 and 3 still grade by the road/checklist (P0/P1) and pass priority along the chain; the card's scope is the references, so they are not edited here.filing-gate.md〈定级判据〉 is titled as their execution note. Carrier: the maintainer (North Star is maintainer text).scripts/pm/ensure-pm-labels.shstill createstarget:MAJORlabels described as "Release blocker for …", andlanes/hotcrm.md:41still says 「无发版板:标签清单无target:*」 (true, and not a blocker mark). Carrier: none; noted.scripts/pm/record-recognisers.mjsdescribesNotify: release-blockeras "a p0/p1 release blocker"; text only, no behaviour reads the grade. Carrier: none; noted.Verification
Gates at head
778a8c54(after one merge oforigin/main):Local gates: 18 derived families + 2 extra, all exit 0; dispatch-gates --ran: 18 derived, 18 run, 0 NOT-MEASURED, 0 UNRUN
The tree at head
778a8c54is byte-identical to the tree the gates ran on (the branch commit was re-created only to make its co-author trailer model-free; same tree, same merge oforigin/mainbfbcd81f). Landing tier:check-governed-merges --teston the 8 paths reads Tier S. Noskills/**change, so no published-skill line or token counts are owed.skip-changeset:.claude/**only, nothing published.Generated by Claude Code