diff --git a/scripts/pm/check-half-states.mjs b/scripts/pm/check-half-states.mjs index ae1393b31c6..0c87aaad033 100644 --- a/scripts/pm/check-half-states.mjs +++ b/scripts/pm/check-half-states.mjs @@ -17684,9 +17684,13 @@ export function h66ReleasedNonDispatchableRemainder(issue, commentRows) { // and the cap eats the tail a seat reaches LAST. // // ⛔ It models the full 取卡全序 only in part, and says so rather than implying -// otherwise: `target:` board membership is a board read this file does not -// make, and the same-priority 「先 `Bug`」 tiebreak is not taken. The author leg -// IS taken: within one rank a non-fleet card sorts before a fleet card, and ⛔ +// otherwise: the 功能点位次 leg (a parent card's place on the North Star's +// 「Features on the road」) and the two legs above the label order (a +// maintainer's direct dispatch, a contract-surface card) are reads this file +// does not make, and the same-priority 「先 `Bug`」 tiebreak is not taken. A +// release blocker needs no leg of its own: it is `priority:p0` inside the +// release window and nothing else, which the first rank already reads. +// The author leg IS taken: within one rank a non-fleet card sorts before a fleet card, and ⛔ // it never lifts a card out of its rank. A card is the fleet's when an App // opened it (`user.type` `Bot`, every `[bot]` login) OR its body opens with a // seat signature (`readSignatureLine`), since seat-operated human accounts file @@ -17725,9 +17729,10 @@ export const H67_QUOTE_LIMIT = 220; /** * The selection-order legs this row can read for free off the label page, in - * rank order. ⛔ NOT the whole 取卡全序: `target:` board membership needs a board - * read this file does not make, and the same-priority 「先 `Bug`」 tiebreak is - * not taken. Everything not listed shares the last rank and is then ordered by + * rank order. ⛔ NOT the whole 取卡全序: the 功能点位次 leg and the two legs above + * the label order need reads this file does not make, and the same-priority + * 「先 `Bug`」 tiebreak is not taken. A release blocker rides `priority:p0` + * inside the release window, so the first rank below already carries it. Everything not listed shares the last rank and is then ordered by * age, which is the order in force 「清不空的那一刻起」. */ export const H67_SELECTION_ORDER_LABELS = Object.freeze([ @@ -19216,7 +19221,8 @@ export function summaryLine(counts, findingCount) { 'file caches a timeline. Candidates are ordered OLDEST-FIRST — the OPPOSITE of H66\'s — ' + 'because the order in force is 「清不空的那一刻起改最老优先」 and the cards a seat reaches ' + 'NEXT are the ones that must have been read; the plan models the priority and age legs of ' + - '取卡全序 only, ⛔ not `target:` board membership and ⛔ not the 「先 `Bug`」 tiebreak. ' + + '取卡全序 only — a release blocker is `priority:p0` inside the release window, so the ' + + 'priority leg carries it — ⛔ not the 功能点位次 leg and ⛔ not the 「先 `Bug`」 tiebreak. ' + '⚠️ Rows are a LOWER BOUND: a delivery that left NO cross-reference is invisible to this ' + 'instrument (the filer\'s own declared blind spot). A DECORATED `**Release:**` line WAS a ' + '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. 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); b(BATTERY67, 'H67 quadruple: the clause declares there is NO free half', FULL67.includes('this row has no free half at all'), true); b(BATTERY67, 'H67 quadruple: …and the OLDEST-FIRST order with its reason', FULL67.includes('清不空的那一刻起改最老优先'), true); - b(BATTERY67, 'H67 quadruple: ⛔ …and what the order does NOT model', FULL67.includes('⛔ not `target:` board membership'), true); + b(BATTERY67, 'H67 quadruple: ⛔ …and what the order does NOT model', FULL67.includes('⛔ not the 功能点位次 leg'), true); 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); 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); diff --git a/scripts/pm/ensure-pm-labels.sh b/scripts/pm/ensure-pm-labels.sh index 961f1fdacbc..3426f904391 100644 --- a/scripts/pm/ensure-pm-labels.sh +++ b/scripts/pm/ensure-pm-labels.sh @@ -168,9 +168,8 @@ gh() { # objectos joined the triage sweep under Option B (maintainer ruling 2026-08-18, # 「就按 B,带你补的两条,落地吧」): it gets the full pm state-machine vocabulary # below, but stays OUT of the domain-lane loop (lanes are main-repo-only — its -# execution folds into domain:devx) and OUT of the target: loop (docs/site -# repo, no changeset/release flow, no release board). Those absences are -# deliberate, not oversights. Actually RUNNING this against objectos is a PM +# execution folds into domain:devx). That absence is deliberate, not an +# oversight. Actually RUNNING this against objectos is a PM # landing step (needs label-write credentials on that repo). # # hotcrm enrolled on the SAME Option B terms when its execution seat was opened @@ -179,16 +178,15 @@ gh() { # 使用元数据开发crm应用…」). It is the EXEMPLAR APP repo, so like objectos it sits # outside the spec dependency chain: it gets the full pm state-machine vocabulary # below, and stays OUT of the domain-lane loop (lanes are main-repo-only — hotcrm -# is a REPO lane, seated through the repo:hotcrm seam label further down) and OUT -# of the target: loop (no changeset/release flow of its own, so no release -# board unless one is later ruled). Those absences are deliberate, not oversights. +# is a REPO lane, seated through the repo:hotcrm seam label further down). That +# absence is deliberate, not an oversight. # Actually RUNNING this against hotcrm is a PM landing step, same as objectos # (needs label-write credentials on that repo). # # mobile enrolled on the same terms when its on-demand repo lane was registered # (maintainer choice 2026-11-02, verbatim: "Register, seat on demand # (Recommended)"): the native shell that hosts the Console. Full pm vocabulary, -# OUT of the domain-lane loop and OUT of the target: loop, and no +# OUT of the domain-lane loop, and no # repo:mobile seam row until a seam card gives one a reader. Running this # against mobile is a PM landing step, same as hotcrm. 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 # only: a p0 card still obeys the same-file serial queue and the claim # protocol (SKILL.md state model, 「优先是排序,不是豁免」). Set by the triage # seat when it grades a card; removed by triage when the grade changes. Named - # consumers: the lane pull order below (p0 > pm:blocking > target board > Bug - # > the rest) and the half-state sweep's H10 (stale unclaimed p0) and H11 - # (important card parked) in scripts/pm/check-half-states.mjs. It is in this + # consumers: the lane pull order (p0 > pm:blocking > 功能点位次 > p1 > p2 > p3; + # references/execution-duties.md 取卡全序) — which is also where a release + # blocker sits, as p0 inside the release window — and the half-state sweep's + # H10 (stale unclaimed p0) and H11 (important card parked) in + # scripts/pm/check-half-states.mjs. It is in this # per-repo loop because that sweep is repo-parameterized (PM_SWEEP_REPO) and # grading is a per-repo triage duty — the same reasoning as pm:retriage # 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 # 2026-08-13, superseding the earlier derived-only-no-stored-label ruling): # the triage sweep writes/removes it from the Blocked-by: reverse index, and # it comes off when every dependent closes. Named consumers: the lane queue - # pull order (p0 > blocking > target board > Bug > age; SKILL.md 选择优先级) + # pull order (p0 > blocking > 功能点位次 > p1 > p2 > p3; execution-duties.md 取卡全序) # and list-page scans. A hand-set instance is mislabeling — the sweep # corrects it against the index. 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 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 done -# Release board — `target:` marks a release BLOCKER for that major -# (SKILL.md "发版板"). Its consumer is a named query, one per backlog: -# `label:target: is:open`, and all three boards reading empty IS the -# release condition — so the family belongs in all three repos, not just the -# main one. -# -# Seed the CURRENT release window only. A major seeded ahead of its window puts -# an empty board into every autocomplete with no producer behind it — the same -# harm as recreating a retired lane above. At the start of a new window MOVE the -# value here rather than accumulating them; a closed window's label object stays -# in the repos as history and needs no entry. -# -# Creation is create-if-missing, so where these already exist this is a no-op -# and their current colour and description are left exactly as they are; -# `--reconcile` aligns them. Note the window is part of the description, so a -# stale object describes the WRONG major: measured 2026-08-20, objectui's -# target:v17 still carried a 2026-08-04 hand-written description. -for V in v17; do - for R in objectstack-ai/objectstack objectstack-ai/objectui objectstack-ai/cloud; do - 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 - done -done +# No `target:` family. A release blocker is `priority:p0` inside the +# release window and nothing else (pm-dispatch references/filing-gate.md +# 定级判据, 「⛔ 不打 `target:`」), and the maintainer's release list reads +# `label:priority:p0 is:open` in each repo (references/seat-post-protocol.md +# 〈发版板运维〉), so no reference reads a `target:` label as a blocker. This file +# therefore seeds none — and `--reconcile` no longer rewrites an existing +# object's description to call it a release blocker. The `target:*` objects +# already in the repos are left exactly as they are, like a retired lane's (see +# the header); deleting them is the maintainer's call, never a side effect of +# this file. if [ "$RECONCILE" = 1 ]; then if [ "$RECONCILE_FAILURES" -gt 0 ]; then diff --git a/scripts/pm/record-recognisers.mjs b/scripts/pm/record-recognisers.mjs index b9c6997d48e..5766121f80b 100644 --- a/scripts/pm/record-recognisers.mjs +++ b/scripts/pm/record-recognisers.mjs @@ -1330,7 +1330,7 @@ export const MAILBOX_KEYS = Object.freeze([ { 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' }, { 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' }, { 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' }, - { 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' }, + { 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' }, { 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' }, { 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' }, { 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' },