Skip to content

Commit 633f9b7

Browse files
committed
chore(pm): stop teaching target: as the release-blocker mark in three 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>
1 parent 27c2f1e commit 633f9b7

3 files changed

Lines changed: 36 additions & 42 deletions

File tree

‎scripts/pm/check-half-states.mjs‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17684,9 +17684,13 @@ export function h66ReleasedNonDispatchableRemainder(issue, commentRows) {
1768417684
// and the cap eats the tail a seat reaches LAST.
1768517685
//
1768617686
// ⛔ It models the full 取卡全序 only in part, and says so rather than implying
17687-
// otherwise: `target:` board membership is a board read this file does not
17688-
// make, and the same-priority 「先 `Bug`」 tiebreak is not taken. The author leg
17689-
// IS taken: within one rank a non-fleet card sorts before a fleet card, and ⛔
17687+
// otherwise: the 功能点位次 leg (a parent card's place on the North Star's
17688+
// 「Features on the road」) and the two legs above the label order (a
17689+
// maintainer's direct dispatch, a contract-surface card) are reads this file
17690+
// does not make, and the same-priority 「先 `Bug`」 tiebreak is not taken. A
17691+
// release blocker needs no leg of its own: it is `priority:p0` inside the
17692+
// release window and nothing else, which the first rank already reads.
17693+
// The author leg IS taken: within one rank a non-fleet card sorts before a fleet card, and ⛔
1769017694
// it never lifts a card out of its rank. A card is the fleet's when an App
1769117695
// opened it (`user.type` `Bot`, every `[bot]` login) OR its body opens with a
1769217696
// seat signature (`readSignatureLine`), since seat-operated human accounts file
@@ -17725,9 +17729,10 @@ export const H67_QUOTE_LIMIT = 220;
1772517729

1772617730
/**
1772717731
* The selection-order legs this row can read for free off the label page, in
17728-
* rank order. ⛔ NOT the whole 取卡全序: `target:` board membership needs a board
17729-
* read this file does not make, and the same-priority 「先 `Bug`」 tiebreak is
17730-
* not taken. Everything not listed shares the last rank and is then ordered by
17732+
* rank order. ⛔ NOT the whole 取卡全序: the 功能点位次 leg and the two legs above
17733+
* the label order need reads this file does not make, and the same-priority
17734+
* 「先 `Bug`」 tiebreak is not taken. A release blocker rides `priority:p0`
17735+
* inside the release window, so the first rank below already carries it. Everything not listed shares the last rank and is then ordered by
1773117736
* age, which is the order in force 「清不空的那一刻起」.
1773217737
*/
1773317738
export const H67_SELECTION_ORDER_LABELS = Object.freeze([
@@ -19216,7 +19221,8 @@ export function summaryLine(counts, findingCount) {
1921619221
'file caches a timeline. Candidates are ordered OLDEST-FIRST — the OPPOSITE of H66\'s — ' +
1921719222
'because the order in force is 「清不空的那一刻起改最老优先」 and the cards a seat reaches ' +
1921819223
'NEXT are the ones that must have been read; the plan models the priority and age legs of ' +
19219-
'取卡全序 only, ⛔ not `target:` board membership and ⛔ not the 「先 `Bug`」 tiebreak. ' +
19224+
'取卡全序 only — a release blocker is `priority:p0` inside the release window, so the ' +
19225+
'priority leg carries it — ⛔ not the 功能点位次 leg and ⛔ not the 「先 `Bug`」 tiebreak. ' +
1922019226
'⚠️ Rows are a LOWER BOUND: a delivery that left NO cross-reference is invisible to this ' +
1922119227
'instrument (the filer\'s own declared blind spot). A DECORATED `**Release:**` line WAS a ' +
1922219228
'second way and is no longer — the ownership marker this row shares with H2/H47/H66 reads it ' +
@@ -36518,7 +36524,7 @@ Doubles as the fire's **write self-check** (step 0). \`201\` is not the reading.
3651836524
b(BATTERY67, 'H67 quadruple: …and the cap still renders from the constant on a zero run', q67({}).includes(`cap ${H67_TIMELINE_READ_CAP} page(s)`), true);
3651936525
b(BATTERY67, 'H67 quadruple: the clause declares there is NO free half', FULL67.includes('this row has no free half at all'), true);
3652036526
b(BATTERY67, 'H67 quadruple: …and the OLDEST-FIRST order with its reason', FULL67.includes('清不空的那一刻起改最老优先'), true);
36521-
b(BATTERY67, 'H67 quadruple: ⛔ …and what the order does NOT model', FULL67.includes('⛔ not `target:` board membership'), true);
36527+
b(BATTERY67, 'H67 quadruple: ⛔ …and what the order does NOT model', FULL67.includes('⛔ not the 功能点位次 leg'), true);
3652236528
b(BATTERY67, 'H67 quadruple: the anchor is UNIQUE in the rendered line', (summaryLine({}, 0).match(/Queued cards with a merged delivery \(H67\): /g) ?? []).length, 1);
3652336529
b(BATTERY67, 'H67 quadruple: every count key rides the enumerated forwarding contract', ['queueDeliveryCandidates', 'queueDeliveryRead', 'queueDeliveryCap', 'queueDeliveryDeferred', 'queueDeliveryUnjudged', 'queueDeliveryRows'].every((k) => SWEEP_COUNT_KEYS.includes(k)), true);
3652436530

‎scripts/pm/ensure-pm-labels.sh‎

Lines changed: 21 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,8 @@ gh() {
168168
# objectos joined the triage sweep under Option B (maintainer ruling 2026-08-18,
169169
# 「就按 B,带你补的两条,落地吧」): it gets the full pm state-machine vocabulary
170170
# below, but stays OUT of the domain-lane loop (lanes are main-repo-only — its
171-
# execution folds into domain:devx) and OUT of the target:<major> loop (docs/site
172-
# repo, no changeset/release flow, no release board). Those absences are
173-
# deliberate, not oversights. Actually RUNNING this against objectos is a PM
171+
# execution folds into domain:devx). That absence is deliberate, not an
172+
# oversight. Actually RUNNING this against objectos is a PM
174173
# landing step (needs label-write credentials on that repo).
175174
#
176175
# hotcrm enrolled on the SAME Option B terms when its execution seat was opened
@@ -179,16 +178,15 @@ gh() {
179178
# 使用元数据开发crm应用…」). It is the EXEMPLAR APP repo, so like objectos it sits
180179
# outside the spec dependency chain: it gets the full pm state-machine vocabulary
181180
# below, and stays OUT of the domain-lane loop (lanes are main-repo-only — hotcrm
182-
# is a REPO lane, seated through the repo:hotcrm seam label further down) and OUT
183-
# of the target:<major> loop (no changeset/release flow of its own, so no release
184-
# board unless one is later ruled). Those absences are deliberate, not oversights.
181+
# is a REPO lane, seated through the repo:hotcrm seam label further down). That
182+
# absence is deliberate, not an oversight.
185183
# Actually RUNNING this against hotcrm is a PM landing step, same as objectos
186184
# (needs label-write credentials on that repo).
187185
#
188186
# mobile enrolled on the same terms when its on-demand repo lane was registered
189187
# (maintainer choice 2026-11-02, verbatim: "Register, seat on demand
190188
# (Recommended)"): the native shell that hosts the Console. Full pm vocabulary,
191-
# OUT of the domain-lane loop and OUT of the target:<major> loop, and no
189+
# OUT of the domain-lane loop, and no
192190
# repo:mobile seam row until a seam card gives one a reader. Running this
193191
# against mobile is a PM landing step, same as hotcrm.
194192
for R in objectstack-ai/objectstack objectstack-ai/objectui objectstack-ai/cloud objectstack-ai/objectos objectstack-ai/hotcrm objectstack-ai/mobile; do
@@ -247,9 +245,11 @@ for R in objectstack-ai/objectstack objectstack-ai/objectui objectstack-ai/cloud
247245
# only: a p0 card still obeys the same-file serial queue and the claim
248246
# protocol (SKILL.md state model, 「优先是排序,不是豁免」). Set by the triage
249247
# seat when it grades a card; removed by triage when the grade changes. Named
250-
# consumers: the lane pull order below (p0 > pm:blocking > target board > Bug
251-
# > the rest) and the half-state sweep's H10 (stale unclaimed p0) and H11
252-
# (important card parked) in scripts/pm/check-half-states.mjs. It is in this
248+
# consumers: the lane pull order (p0 > pm:blocking > 功能点位次 > p1 > p2 > p3;
249+
# references/execution-duties.md 取卡全序) — which is also where a release
250+
# blocker sits, as p0 inside the release window — and the half-state sweep's
251+
# H10 (stale unclaimed p0) and H11 (important card parked) in
252+
# scripts/pm/check-half-states.mjs. It is in this
253253
# per-repo loop because that sweep is repo-parameterized (PM_SWEEP_REPO) and
254254
# grading is a per-repo triage duty — the same reasoning as pm:retriage
255255
# below. Measured 2026-08-20: objectui carries a live priority:p0 card whose
@@ -285,7 +285,7 @@ for R in objectstack-ai/objectstack objectstack-ai/objectui objectstack-ai/cloud
285285
# 2026-08-13, superseding the earlier derived-only-no-stored-label ruling):
286286
# the triage sweep writes/removes it from the Blocked-by: reverse index, and
287287
# it comes off when every dependent closes. Named consumers: the lane queue
288-
# pull order (p0 > blocking > target board > Bug > age; SKILL.md 选择优先级)
288+
# pull order (p0 > blocking > 功能点位次 > p1 > p2 > p3; execution-duties.md 取卡全序)
289289
# and list-page scans. A hand-set instance is mislabeling — the sweep
290290
# corrects it against the index.
291291
gh label create pm:blocking -R "$R" -c 8250df -d "Derived cache from the Blocked-by reverse index: open card with open dependents — never hand-set" 2>/dev/null || true
@@ -683,28 +683,16 @@ for R in objectstack-ai/objectstack objectstack-ai/objectui; do
683683
gh label create area:devpath -R "$R" -c d2dae2 -d "The road — create, dev, verify, publish/install, connect an agent, iterate" 2>/dev/null || true
684684
done
685685

686-
# Release board — `target:<major>` marks a release BLOCKER for that major
687-
# (SKILL.md "发版板"). Its consumer is a named query, one per backlog:
688-
# `label:target:<major> is:open`, and all three boards reading empty IS the
689-
# release condition — so the family belongs in all three repos, not just the
690-
# main one.
691-
#
692-
# Seed the CURRENT release window only. A major seeded ahead of its window puts
693-
# an empty board into every autocomplete with no producer behind it — the same
694-
# harm as recreating a retired lane above. At the start of a new window MOVE the
695-
# value here rather than accumulating them; a closed window's label object stays
696-
# in the repos as history and needs no entry.
697-
#
698-
# Creation is create-if-missing, so where these already exist this is a no-op
699-
# and their current colour and description are left exactly as they are;
700-
# `--reconcile` aligns them. Note the window is part of the description, so a
701-
# stale object describes the WRONG major: measured 2026-08-20, objectui's
702-
# target:v17 still carried a 2026-08-04 hand-written description.
703-
for V in v17; do
704-
for R in objectstack-ai/objectstack objectstack-ai/objectui objectstack-ai/cloud; do
705-
gh label create "target:$V" -R "$R" -c ededed -d "Release blocker for $V — on the board until fixed, dropped as no longer valid, or accepted for GA" 2>/dev/null || true
706-
done
707-
done
686+
# No `target:<major>` family. A release blocker is `priority:p0` inside the
687+
# release window and nothing else (pm-dispatch references/filing-gate.md
688+
# 定级判据, 「⛔ 不打 `target:`」), and the maintainer's release list reads
689+
# `label:priority:p0 is:open` in each repo (references/seat-post-protocol.md
690+
# 〈发版板运维〉), so no reference reads a `target:` label as a blocker. This file
691+
# therefore seeds none — and `--reconcile` no longer rewrites an existing
692+
# object's description to call it a release blocker. The `target:*` objects
693+
# already in the repos are left exactly as they are, like a retired lane's (see
694+
# the header); deleting them is the maintainer's call, never a side effect of
695+
# this file.
708696

709697
if [ "$RECONCILE" = 1 ]; then
710698
if [ "$RECONCILE_FAILURES" -gt 0 ]; then

‎scripts/pm/record-recognisers.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ export const MAILBOX_KEYS = Object.freeze([
13301330
{ id: 'notify:main-red', kind: 'Notify', key: 'main-red', from: 'the seat that files the main-red anchor card', to: 'the seat that landed the breaking PR, and the anchor card\'s lane', when: 'the anchor card is filed', template: 'Notify: main-red · anchor #n · breaking PR #m or none' },
13311331
{ id: 'notify:main-green', kind: 'Notify', key: 'main-green', from: 'triage, or the director when triage is absent', to: 'the seat of each open PR whose body carries a line-leading `Waits-on: main-red #n` naming the closed anchor', when: 'the main-red anchor card closes: one knock per held PR, all in the same round, the count in the round record; the seat merges `origin/main`, drops the line and resumes its landing', template: 'Notify: main-green · anchor #n · PR #m' },
13321332
{ id: 'notify:contract-review', kind: 'Notify', key: 'contract-review', from: 'the review seat or sibling lane seat that rendered the record', to: 'lane', when: 'with the record, only when the lane is not subscribed to the PR', template: 'Notify: contract-review PASS or FAIL · PR #n · record ID' },
1333-
{ id: 'notify:release-blocker', kind: 'Notify', key: 'release-blocker', from: 'triage', to: 'the lane it is graded into', when: 'a p0/p1 release blocker is graded into a lane', template: 'Notify: release-blocker · #n' },
1333+
{ id: 'notify:release-blocker', kind: 'Notify', key: 'release-blocker', 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 (the only release-blocker mark; ⛔ never a `target:` label)', template: 'Notify: release-blocker · #n' },
13341334
{ id: 'notify:unblocked', kind: 'Notify', key: 'unblocked', from: 'the seat that moved the card to `pm:queue` (triage or an epic seat)', to: 'the card\'s lane seats', when: 'a p0/p1 card\'s `Blocked-by` target closed', template: 'Notify: unblocked · #n · p0 or p1' },
13351335
{ id: 'notify:ruling', kind: 'Notify', key: 'ruling', from: 'the seat that recorded a maintainer ruling', to: 'the seat whose card or draft it changes', when: 'the ruling is recorded', template: 'Notify: ruling · #n · LETTER · record ID' },
13361336
{ id: 'notify:serial', kind: 'Notify', key: 'serial', from: 'a seat', to: 'a sibling seat or another lane', when: 'claimed file surfaces overlap, or one card must land first', template: 'Notify: serial · #a behind #b' },

0 commit comments

Comments
 (0)