Repository navigation
fix(pm): six card readings move from domain:* to area:* and the epic parent - #35587
Conversation
…arent check-half-states H71, H32's lane inventory, H73 and H74's parent inheritance, check-owed-reviews' lane seat and fleet-roster's seat row no longer read a card's domain:* label. A seat's intake is the areas and epics its title names on this board's repo lane (seatIntakeKeys); a card's is its area:* labels and its same-repo sub-issue parent (cardIntakeKeys). H74 inherits a parent's area or grade. A domain: roster row owns no card. The stale disjunct comment in ensure-pm-labels.sh reads area:*. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx
…omain:* H38 newestLaneClaim matches a dispatched card's cardIntakeKeys against the seat post's seatIntakeKeys, and h38SeatPostStale judges a post only when its title names an intake on this board; a retired domain:* seat takes no row. H39 censusLanesOf buckets a card by its intake plus repo:* lanes; a domain:* label alone is (no lane). The alias-map docblock now says the one reader left is a seat title. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx
|
repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx Final head for L1 · 2026-11-19T17:00Z: Generated by Claude Code |
…pellings CLAIM_SEAT_DECLARATION_ANYWHERE recognised a mid-line declaration only when it spelled a domain:* seat, so a mid-line `Seat: repo:objectstack#3` read as seat 1 and H38 could row a seat-1 post over another seat's claim. It now demands the whole payload in any live spelling: repo:NAME#N (dots and dashes allowed), epic:#N#K, or a retired domain:LANE#N. Still case-sensitive; the prose control keeps reading as seat 1. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 维护者速读
席位核对 — ACCEPT (L1-a) · repo:objectstack#1 · head
|
…mber claimSeatNumber took the first #digits of a line-initial Seat: payload, so `Seat: epic:#31527#1` read as seat 31527 and the claim matched no real seat. The epic shape epic:#N#K now yields K. Every other spelling keeps the first #digits, so a trailing note never moves the answer. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx
… grade The sweep's ③ row read 「area:* 无 pm-state」 with the six dispatch positions only, so an epic card with an area and a grade but no position was FOUND on every fire, while H13 reads the same phrase with pm:epic counted. ③ now counts pm:epic too; the type row and the area backstop row are unchanged. H74's coverage sentence now says a sub-issue inherits its parent's area or grade. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx
|
repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx Final head for the L1 delta · 2026-11-19T18:05Z: Generated by Claude Code |
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 维护者速读
席位核对 — ACCEPT (L1-a, delta) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx Landing · 2026-11-19T18:08Z: head Generated by Claude Code |
Requested by Sales · project thread
Fixes #35234
Fixes #35613
Clause-②: no
Metadata-protocol: none
Changeset: none, labelled
skip-changeset. The diff touches four fleet scripts underscripts/pm/, and no published package moves.Seat: repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx
No script under
scripts/pm/judges a card by itsdomain:*label any more. The six readings of the first round, plus H38's claim index and H39's census in the second round, all read the card's intake. The onedomain:*reading left is a printed column (card-pick.mjsdomainOf), and it judges nothing.维护者速读
The
domain:*label retirement, for the maintainerThis pull retires and deletes no label. The retirement is the separate step the card reserves for you. No script reading blocks it any more. These things go with it:
domain:*seat posts (for exampledomain:spec · seat 3) still show as roster rows, with empty card columns, until they are retitled or closed.fleet-roster.mjsnow gives such a row no card.ensure-pm-labels.shstill creates thedomain:*labels. Retiring them means removing them there as well.LANE_LABEL_ALIASESincheck-half-states.mjs, and the write doors that rewrite a retireddomain:*spelling when they write a label, go when the labels go. Their only reader left is a seat post's title.card-pick.mjsdomainOfis left alone on purpose. It is a printed column that judges nothing, andcard-pick.mjsbelongs to pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237, which is in development. Its unread-legs note still tells a seat to read each row'sdomain:*, and that note moves with that card.What changes
h71UnclaimedOnDutyLanedomain:*label against the domain lanes of on-duty seatsarea:*labels, plusepic:#Nwhen its RESTparent_issue_urlis an issue on this board) against the intake keys a 🟢 seat post's title namessweepInto) andh32SeatIdleOverQueuedomain:*labelseatIntakeInventory), each card onceh73RuledCardStillInBoxdomain:*labelarea:*labels or its epic parent. The epic is said, never numbered. A card with neither goes to triage.h74InheritsFromParentdomain:*or grade was exemptarea:*or grade is exempt. Adomain:*label alone no longer exempts.check-owed-reviews.mjslane seat (laneSeatOf)domain:*label against seat lanesintake(read from its post title). The snapshot carries the card'sparent_issue_url.fleet-roster.mjscardLaneMatchdomain:xseat row owned the cards labelleddomain:xdomain:xrow owns no card. Arepo:xseat owns its repo's cards by account, as before.newestLaneClaimandh38SeatPostStale(and thesweepIntocaller)domain:*lane, through the alias map, against a dispatched card'sdomain:*labelseatIntakeKeysagainst the card'scardIntakeKeys. A post whose title names no intake on this board (a retired domain seat, a sibling board's lane, triage) takes no row. The finding names the intake.censusLanesOfdomain:*(alias-resolved) andrepo:*labelsarea:*, a same-boardepic:#N) andrepo:*. Adomain:*label alone is(no lane).ensure-pm-labels.shcommentdomain:*area:*(the first half of the card moved them)There are two new pure helpers in
check-half-states.mjs, and the other scripts import them.seatIntakeKeys(post)reads thearea:xtokens andepic #N/epic:#Noff a seat title. It returns them only for a lane on this board: arepo:lane of another repo, a@ elsewheresuffix, adomain:*seat and an unparseable title all give no intake.cardIntakeKeys(card)reads the card'sarea:*labels plusepic:#Nfrom a same-repoparent_issue_url.parent_issue_urlis on the REST issue row, so the epic reading costs no extra request.seatLanestays: it gives the seat number off any title, and it reads adomain:*seat title through the alias map.h32NeedsSeatCommentskeeps its domain leg, which only keeps a retired domain seat's thread read (H44 reads it anyway) and judges no card. H32 and H38 both skip such a post, since it names no intake.Rounds 3–4: the claim's seat number reads today's seat spellings
CLAIM_SEAT_DECLARATION_ANYWHERE(the mid-lineSeat:presence probe behindclaimSeatNumber) now recognises every seat spelling live on the board:repo:NAME#N(dots and dashes allowed, e.g.repo:www.objectos.ai#2),epic:#N#K, and the retireddomain:LANE#N. It still demands the whole payload and is still case-sensitive. Before, a mid-lineSeat: repo:objectstack#3read as seat 1, so H38 could flag a seat-1 post as stale over another seat's claim. Now that declaration reads as unreadable and matches no seat.claimSeatNumberreads a line-initialepic:#N#Kpayload (optionally backticked) as seat K, not the epic number N; before,Seat: epic:#31527#1read as seat 31527 and matched no seat. Every other spelling still takes the first#digits, so a trailing note never changes the answer.Round 5: the sweep's ③ counts
pm:epicas a state (#35613), and H74's wordingarea:*无 pm-state」) countspm:epicas a state, as H13 does for the same phrase. An epic card with an area and a grade but no dispatch position is no longer FOUND on every fire. The type row and the area backstop row are unchanged.domain or grade). The branch mergedmainonce after fix(pm): run records leave the area patrols and the grade row, epics leave the type row #35532 landed (merge 7d2be2b, no conflict).Tests
Every changed behaviour has a self-test case. Battery pins were moved to the new counts, with a comment on each move:
check-half-states.mjs --self-test: 5356 → 5378 cases, exit 0 (round one 5369, round two adds nine: H38 two post scopes and five intake cases, H39 two lane cases). In thedomain:server lane aliasesbattery, the five claim-index and two census cases were rewritten in place to pin that adomain:*label, in any spelling, is on no intake. The count did not change, so that pin did not move. Pins:H70/H71 seat patrol30 → 35,H73 ruled card in the decision box25 → 26.H74stays at 46. It still registers more than that, and leaving the pin line alone keeps it clear of the other open pull's edit there.check-owed-reviews.mjs --self-test: 91 → 94 cases, exit 0. The triggers pin moved 10 → 13.fleet-roster.mjs --self-test: 116 cases in 9 batteries → 118 in 10, exit 0. The fixture battery dropped 29 → 24: nine domain-ownership cases became four cases that pin a domain row owning nothing. A new battery (7) shows arepo:seat owning cards by account for in flight, landing, merge and rulings. The battery floor moved 9 → 10.Each new reading has one ablation, run through
scripts/ablation-replace.mjs. Each one reverts the reading todomain:*, runs the battery, and restores. Every one went red, and every restore proved the blob equals HEAD with an emptygit diff HEAD.Rounds 3–4 (head c8a8b2c): eight pins beside the H38 seat rows. Mid-line
repo:andepic:#31527#1declarations read null; line-initialSeat: repo:objectstack#3reads 3; the prose controlthe seat: repo:objectstack#2 is busystill reads 1;Seat: epic:#31527#1reads 1, backtickedepic:#31527#2reads 2, and an epic line and a repo line each ending in(filed under #35205)read 1 and 3.check-half-states.mjs --self-testpasses 5386 cases, exit 0. Ablation 10 (regex back to the domain-only payload): 2 of 5382 failed, exit 1. Ablation 11 (epic branch deleted): 3 of 5386 failed, exit 1. Each restore was proven by blob == HEAD with an emptygit diff HEAD.Round 5 (Fleet patrol: the first-touch sweep's ③ row reads pm:epic as stateless, while H13 counts it as a state #35613, head 560644f): two classifier cases.
area:fleet+pm:epic+priority:p1draws no ③ row, and the same card withoutpm:epicstill draws ③; the battery pin moves 20 → 22.first-touch-sweep.mjs --self-testpasses 69 cases,check-half-states.mjs --self-test5389, both exit 0. Ablation 12 removes thepm:epicterm: 1 of 69 failed, exit 1; restore proven by blob == HEAD. A live read-only sweep at 17:42Z no longer lists 专题:控制台核心业务操作体验(详情、表单与子表、审批、通知、手机端、应用与 Studio 往返、云端入口) #34571, 专题:列表页重做(结构向 Twenty 对齐:框架、筛选、排序、选项、视图切换与新建、选中后的操作;外壳不动) #35547 or 专题:记录详情页重做(头部两行;宽屏时字段在左、页签在右;全部子表各一页签;主从子表默认只是页签,分组指定才进字段区并随主记录一起保存) #35590 under ③.Ablation readings (1–6 on head 0e19c38, 7–9 on head a00496a)
domain:*labelsdomain:*labelsdomain:*labelsdomain:instead ofarea:laneSeatOf← seat lane against card labelcardLaneMatchdomain branch re-addednewestLaneClaimcard match back to its alias-resolved labels.number)h38SeatPostStaleback to theseatLanedomain lanecensusLanesOfback todomain:/repo:labelsThe first attempt at 6 was a no-op: its replacement still contained the anchor, so the tool refused it before running anything. It was rerun with an anchor the replacement does not contain. 7 and 9 went red by a TypeError in the first case that reads the reverted value, not by a counted failure. The battery exits 1 either way. Every restore line reads
ok restored: blob == HEADandgit diff HEAD is empty.Acceptance notes
ui/scripts/__tests__/cross-file-line-citation-census.test.tsis the only test that names these scripts. It usesscripts/pm/check-half-states.mjsas a path string in a fixture and does not exercise the script, so it is not owed here.ui/tree, so the risk is low.Seat:declaration carried mid-line is read as unreadable only when it spells adomain:*seat (CLAIM_SEAT_DECLARATION_ANYWHERE). A mid-lineSeat: repo:objectstack#3reads as seat 1 (claimSeatNumbergives 1; thedomain:spec#3control gives null). This reads claim text, not a card's labels. It was left out of this pull and is reported to the seat.Verification
Read first, by risk:
scripts/pm/check-half-states.mjs:seatIntakeKeys/cardIntakeKeys/seatIntakeInventory(afterseatLane), then H71 and thesweepIntohunk that buildsonDutyLanes.scripts/pm/check-owed-reviews.mjs:laneSeatOfand thereadSnapshothunk that addsintakeandcardParent.scripts/pm/fleet-roster.mjs:cardLaneMatchand the new repo-lane battery.Two-minute check:
node scripts/pm/check-half-states.mjs --self-test && node scripts/pm/check-owed-reviews.mjs --self-test && node scripts/pm/fleet-roster.mjs --self-test. Expect three success lines, with 5378, 94 and 118 cases.Local gates
Round two, head
a00496a2. The gates were narrowed to the ones reading the round-two edit, by the seat's order. Each exit code was captured before any pipe:node scripts/pm/check-half-states.mjs --self-test: exit 0, 5378 cases passnode scripts/pm/check-owed-reviews.mjs --self-test: exit 0, 94 casesnode scripts/pm/fleet-roster.mjs --self-test: exit 0, 118 cases in 10 batteriespnpm check:pm-half-states: exit 0pnpm check:nul-bytes: exit 0pnpm check:scripts-symbol-anchors: exit 0, 4489 anchors across 300 scripts resolvecheck-partof-closing-keywordover this body (PR_BODY): exit 0node scripts/pm/overlap-check.mjs --branch=HEAD: exit 0.origin/main(bf69cb4) merges cleanly, and the open pull that sharescheck-half-states.mjsmerges cleanly.Round one, head
0e19c38e. Derivation:node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackgave 70 commands. Each exit code was captured before any pipe.node scripts/check-closing-keyword-parity.mjs,node scripts/check-closing-keyword-parity.mjs --self-test,node scripts/check-comment-mask-corpus.mjs,node scripts/check-declaration-mirrors.mjs,node scripts/check-declaration-mirrors.mjs --self-test,node scripts/check-issue-citations.mjs,node scripts/check-platform-checklist-watchdog.mjs,node scripts/check-platform-checklist-watchdog.mjs --self-test,node scripts/check-release-section-coverage.mjs,node scripts/check-release-section-coverage.mjs --strict,node scripts/check-self-test-wired.mjs,node scripts/check-self-test-wired.mjs --self-test,node scripts/check-self-test-workflow-commands.mjs,node scripts/check-self-test-workflow-commands.mjs --self-test,node scripts/check-skills-token-ratchet.mjs,node scripts/check-skills-token-ratchet.mjs --self-test,node scripts/check-whole-set-label-write.mjs,node scripts/check-whole-set-label-write.mjs --self-test,node scripts/ci/plan-test-core-shards.mjs --self-test,node scripts/ci/scheduled-full-run-card.mjs --self-test,node scripts/ci/scheduled-full-run.mjs --self-test,node scripts/ci/snapshot-next.mjs --self-test,node scripts/pm/bare-root-worklist.mjs --self-test,node scripts/pm/board-snapshot.mjs --self-test,node scripts/pm/check-governed-queue-guard.mjs --self-test,node scripts/pm/sweep-closed-cards.mjs --self-test,node scripts/render-release-coverage-anchor.mjs --self-test,pnpm check:adr-anchors,pnpm check:agent-test-spelling,pnpm check:bash32-floor,pnpm check:ci-filter-parity,pnpm check:cli-command-ids,pnpm check:closing-target-claim,pnpm check:commit-card-trailers,pnpm check:cross-package-test-inputs,pnpm check:declared-population-live,pnpm check:driver-memory-census,pnpm check:entry-guard,pnpm check:gitlink-declared,pnpm check:issue-citations,pnpm check:nul-bytes,pnpm check:parse-guard,pnpm check:partof-closing-keyword,pnpm check:pm-board-snapshot,pnpm check:pm-close-cards,pnpm check:pm-dispatch-gates,pnpm check:pm-expected-skips,pnpm check:pm-fleet-token,pnpm check:pm-fleet-write-dispatch,pnpm check:pm-fleet-write-execute,pnpm check:pm-fleet-write-validate,pnpm check:pm-governed-merges,pnpm check:pm-governed-prose,pnpm check:pm-half-states,pnpm check:pm-issue-create,pnpm check:pm-issue-transfer,pnpm check:pm-label-desc-cap,pnpm check:pm-label-write,pnpm check:pm-post-stamped,pnpm check:pm-prior-rulings,pnpm check:pm-record-recognisers,pnpm check:pnpm-filter-targets,pnpm check:pnpm-flag-spellings,pnpm check:ratchet-remedy-authority,pnpm check:refd-timer-probe,pnpm check:scripts-symbol-anchors,pnpm check:single-claim-paths,pnpm check:watch-hint-literal.pnpm check:i18n-coverage: exit 3, PREREQUISITE NOT MET (the workspace CLI is not built), so NOT MEASURED. The diff touches no package, and CI's built tree reads it.pnpm check:platform-checklist: exit 1. It reports one problem:platform-core.seed-mode-matrix: VARIANTS STALE, withSeedModeread as 0 members.SeedModebecameenumWithRetiredValues(...)in an earlier main commit, which is an ancestor of this base. This diff touches onlyscripts/pm/, so the red is on main and not from this change.node scripts/pm/dispatch-gates.mjs --ran ran.list: exit 0,70 derived famil(ies) accounted for — 69 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).node scripts/check-platform-checklist.mjs --changed-from origin/main: exit 0,0 anchored files in the change set — nothing judged.node scripts/pm/overlap-check.mjs --branch=HEAD: exit 0.origin/main: merges cleanly, and the one open pull that sharesscripts/pm/check-half-states.mjsmerges cleanly.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgWh7NM35xq2HajeYCx