Repository navigation
feat(pm): card-pick reader, os-verify-lock --depth and check-prior-rulings --paths replace three retyped procedures - #35482
Conversation
… depth prose become pointers card-pick.mjs reads the pm:queue board under NORTH-STAR Priority rule 3 and prints the ranked picks, the p3 rides and, with --why, every other queue card with its named blocking point. os-verify-lock.sh --depth prints the arrival depth against LOCK_DEPTH_HOLD and exits 0 go / 1 wait / 3 cannot read. Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G Co-authored-by: Claude <noreply@anthropic.com>
…ick self-test rides check:pm-prior-rulings --paths greps the declared file surface for the four ruling words, reads git log -20 on it with the same-day churn line, and reads the state of every card the body and thread name, so the dispatching seat stops typing three command families per candidate. Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G Co-authored-by: Claude <noreply@anthropic.com>
…andidate definition NORTH-STAR Priority rule 3 (4) says "in an area with no sub-epic, p2 before p3", so an area holding only p3 cards still has a next card. card-pick never picked a p3, so such an area read as an empty queue. An area item now ranks its p3 cards after every p2 of that item, under the leg `order k p3 close-out`; an epic item keeps its child order whatever the grade. The Rides list named nothing the picks no longer name, so it is gone; batching a p3 onto a PR is named in the footer as a leg the reader does not judge. execution-duties.md regains the candidate definition line the pointer had dropped, and the self-test pins it. Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G L1: ACCEPT · area fleet-1 · 2026-11-19T11:32Z · head
Next: seat L2 at contract tier (rule-text pointers under |
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewServed-tier: PR #35482 (draft, Check-runs on this head at 2026-11-19T11:43Z: 36 success, 13 skipped, 14 in progress ( ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentM1 (must-fix) — S1 (should-fix) — S2 (should-fix) — a declared path that matches no file reads as the rule's clean verdict. S3 (should-fix) — S4 (should-fix) — an unread S5 (should-fix) — Nits (no effect on correctness or the contract):
What holds, read against the cited code: Implemented-by: VERDICT: FAIL |
…wed, never a count verdict - The ruling-area face no longer classifies a hit as citing a ruling by an id regex. Every hit line is listed per file under the reading it is owed (逐行读:引裁决 ⇒ id+原句入裁决区;不引 ⇒ 计数); an id-shape match is a hint on its line. The self-test pins a fixture shaped like the rule's worked example (a ruling cited by name, date and card number): those hits are listed for reading and get no count verdict. - A word whose hits pass the per-word cap counts the rest and prints the exact git grep that lists them. - A declared path that matches no file at the revision is named and the clean 零命中 → 无裁决 verdict is withheld for it. - Scope the card-ref face to the swept repository: a ref there is read in full, a ref in another repository of the same owner for open/closed and assignees only, a ref outside that owner is listed by number only, and an owner/repo that is not two plain names is rejected. - The faces this reader does not read (the work-item face, GitHub URLs, cards named on ruling-hit lines) are named under every run. Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G Co-authored-by: Claude <noreply@anthropic.com>
…dead tickets --depth judged its tickets through queue_live, which deletes every ticket it judges dead, so the read a dispatching seat takes before each dispatch erased the evidence --status exists to print. It now judges each ticket with the same ticket_state, counts live ones, leaves dead ones in place and names them, so the next --status still prints their liveness verdicts. On a host with no usable flock it discloses DECLARED UNLOCKED MODE as --status does, and its printf formats use escaped newlines like the rest of the file. Self-test: a dead ticket survives a --depth run and the next --status reports it; the no-flock disclosure. Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G Co-authored-by: Claude <noreply@anthropic.com>
…and holds unread reads as INCOMPLETE card-pick.mjs: - Each row prints its domain:* labels; UNREAD_LEGS names lane ownership (a domain:* card outside the seat's lane, a cloud or a security card) and an area item that holds a sub-epic (rule 3 clause 3 binds its child order; name it as epic:#N to get it). The footer pin counts seven legs. - An unreadable Blocked-by: target or sub-issue parent goes to incomplete (exit 4, the gap named), as the thread read does, and every card a failed read holds is printed even without --why. - --seat parses by the seat signature's own grammar, so epic:#N#1 is accepted. - --order with no value is a usage error (exit 2); --order "" stays p0/p1 only. pm-dispatch references: - coordinator.md keeps the rule sentence (p0/p1 先,余照点名次序) and names card-pick.mjs as its reading for queue cards; both pointers carry --order. - execution-duties.md defines 标签序 on the pick-order line again, with its last leg 无级, and scopes it to the lane's open cards. - seat-lifecycle.md restores 无卡点即候选,⛔ 不得报空 and the one blocking-point vocabulary, now with outside --order. Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G L1 delta after L2: ACCEPT · area fleet-1 · 2026-11-19T12:28Z · head
Next: the seat's L2 delta. |
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewServed-tier: Delta review of PR #35482 (draft, Check-runs on this head at 2026-11-19T12:32Z: all 64 concluded, 51 success, 13 skipped, none failed, none pending. ① Derived judgments
② Semver levelUnchanged and right: ③ Boundary flags
④ Design judgmentClosed on this head, each read in the tree:
What the tree shows for each. M1: S6 (should-fix) — the fix round deleted a starred self-test case and names no duplicate. At Nits (no effect on correctness or the contract):
No must-fix. S6 is open on this head, so this record does not clear the head for landing: its fix moves the head and is owed a delta review. Implemented-by: VERDICT: PASS |
…and the log pathspec - Restore the starred case "same-day is the UTC day of the commit, an offset date converted": a commit dated 2026-11-19T07:00:00+08:00 is 2026-11-18 in UTC and is not same-day for 2026-11-19; parseLog's signature is unchanged, so the case returns as it was. - The log-argument case asserts the pathspecs again: both glob pathspecs (x/** and gone/**) close the git log argv, beside log and -20. Claude-Session: https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G L1 delta S6: ACCEPT · area fleet-1 · 2026-11-19T12:39Z · head
Next: the seat's L2 delta. |
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewServed-tier: Second delta review of PR #35482 (draft, Check-runs on this head at 2026-11-19T12:59Z: all 64 concluded, 51 success, 13 skipped, none failed, none pending. ① Derived judgmentsThe commit adds one self-test case and widens one assertion. It changes no reader behaviour, no rule text, no accept-set and no public surface. Every judgment of the two earlier records stands unchanged on this head. ② Semver levelUnchanged and right: ③ Boundary flags
④ Design judgment
What the tree shows. The case 「⭐ same-day is the UTC day of the commit, an offset date converted」 is back at No must-fix, no should-fix. Nits, both left as accepted deviations on the area's account:
Every graded finding of this review is closed on this head: M1 and S1 to S5 on Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewServed-tier: Third delta review of PR #35482 (draft, The head is merge-only. Read off the commit and the two trees:
Nothing Check-runs on this head at 2026-11-19T13:23Z: all 60 concluded, 50 success, 10 skipped, none failed, none pending.
① Derived judgmentsThe merge changes no file of the PR, so every derived judgment of the earlier records stands on this head: no published accept-set and no public surface changes; the rule text and the three readers are as judged on ② Semver levelUnchanged and right: ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. The seven files are byte-identical to the head on which M1 and S1 to S6 were closed, and nothing they cite moved on Nits, unchanged, left as accepted deviations on the area's account:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ 维护者速读
席位核对 — ACCEPT · repo:objectstack#5 · head
|
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ 落地 — repo:objectstack#5 · head
|
| probe | reading |
|---|---|
| checks | every check-run on 1b3817ad success or skipped, none failing (the head the merge-only contract review pins) |
| K | 2 first-parent commits on main since merge base 895dd437 (< 15) |
Governed .claude/**, Tier S, owning seat lands: security label, pr_ready + automerge_enable in this stroke. On MERGED, #35237 stays open for later slices; fleet-1 dispatches #35470.
Requested by Bill · project thread
Part of #35237
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
This is slice 1 of the card: three readers replace three procedures that the dispatch rules spell as prose and that every executing seat retypes. Each prose passage shrinks to a pointer naming the command.
scripts/pm/card-pick.mjs(new). Read-only. It lists every openpm:queueissue (every page, the count checked against the platform's search total), reads each named epic's sub-issue order, and ranks the cards bydocs/NORTH-STAR.md"Priority" rule 3: p0, then p1 from any area, then the--orderitems in turn (an epic by its child order whatever the grade; an area by its p2 cards, then its p3 cards under the legorder k p3 close-out), then the ungraded leg. An area's p3 ranks after every p2 of that item and before the next item, so an area holding only p3 cards yields its p3 as the next pick. At one grade it orders a non-fleet card first, then a Bug, then the oldest card. A card is not a pick when it has an assignee,pm:dispatched,needs-user-decision,pm:retriage, a second pm state, an epic or tracking parent, an open line-startBlocked-by:target in the body or a comment (a PR target holds until it merges), a newestClaim:with noRelease:after it, or (a fleet card) no triage audit record. Every row prints the card'sdomain:*labels.--whyprints every other queue card with its named blocking point. Threads are read lazily in rank order, all of them with--why. The footer always names the seven legs it cannot read: the maintainer's direct dispatch, the contract-surface leg, atoolingcard's three-gate admission, the multi-seat alternation, batching a p3 onto a PR, lane ownership (adomain:*card outside the seat's lane, a cloud card or a security card is listed but may not be claimed) and an area item that holds a sub-epic (rule 3 ③ binds that sub-epic's child order; name it asepic:#Nto get it). Flags:--repo --order --seat --limit --why --json --fixture --now --self-test;--orderwith no value is a usage error,--order ""is the p0/p1-only order;--seatparses by the seat signature's own grammar, so an epic seat'sepic:#N#1is accepted. Exits: 0 complete, 2 usage, 3 queue unreadable, 4 incomplete. A thread, aBlocked-by:target or a sub-issue parent that cannot be read makes the run incomplete with the gap named, and every card such a read holds is printed even without--why.check-half-states.mjsblockerTargetsFor(which wrapsblockedByTargetsandcommentBlockedByTargets),blockerResolutionFromRow,isFleetCard,readSignatureLineandSEAT_SIGNATURE_LINE,markerMatcheswith the claim and release markers,gradeRung/GRADE_LADDER,h67ReadOrder(the same-grade age order; a stable sort adds the Bug tiebreak above age) and H74's triage-audit reader with its parent read. Fromgh-pages.mjs:readAllPages,ghApi.scripts/pm/os-verify-lock.sh --depth. A read-only mode next to--status. It printsdepth D (queue Q + 1) · hold at 2 → go|wait, without counting the holder, parked slots or dead tickets. It counts WITHOUT pruning: it judges each ticket with the sameticket_stateand leaves a dead ticket in place, naming it, so the next--statusstill prints that ticket's liveness verdict (queue_livewould delete it, and--depthruns before every dispatch). On a host with no usableflockit discloses DECLARED UNLOCKED MODE as--statusdoes. It exits 0 for go, 1 for wait and 3 when the liveness probe is unlit or the host cannot operate the lock (never read as depth 1).LOCK_DEPTH_HOLD=2now lives in the script.scripts/pm/check-prior-rulings.mjs --paths. The pre-dispatch premise readings over a declared file surface.ruling,Ruling-ref,maintainer,⛔), fixed-string, at the revision, and prints a per-word count withfile:line. Whether a hit cites a ruling is a reading of the hit, so the reader does not classify it: per file it prints the reading owed, 「逐行读:引裁决 ⇒ id+原句入裁决区;不引 ⇒ 计数」, and never a count outcome. An id-shape match (ADR-NNNor a record id) is tagged on its line as a hint only, because a ruling is as often cited by name, date or card number (ruling A′, 2026-09-13,ruling A+, #31491). The one verdict it prints is 「零命中 → 无裁决」, and only when every declared path matched a file at the revision: a path that matched none is named and the clean verdict is withheld. When a word's hits pass the per-word cap, the rest are counted and the exactgit grepthat lists them is printed.git log -20on the paths. When one of those commits is dated today (UTC), it printsdispatch-runbook.md's same-day line verbatim.#Nandowner/repo#Nrefs the card body and its thread name, scoped to the swept repository: a ref in it is read for its state, merge, assignees and title; a ref in another repository of the same owner for open or closed and assignees only; a ref outside that owner is listed by number and not fetched; anowner/repothat is not two plain names (a dot-only segment, for one) is rejected and not fetched. It needs--card; without it the face saysnot read.--pathsalone skips the term search.package.json:check:pm-prior-rulingsnow also runscard-pick.mjs --self-test. This adds no CI job: the existing "Prior-ruling reader self-test" step runs the chain.execution-duties.md(189 → 184): the ruling-area grep, the action face and the card-ref face become one pointer tocheck-prior-rulings.mjs --paths. The two depth lines become one pointer to--depth. The pick-order lines become one line that defines 标签序 as NORTH-STAR rule 3 with its last leg 无级, scoped to the lane's open cards, and points atcard-pick.mjs --order ORDER. Kept as written: the candidate definition (「开放 = 未派发(无pm:dispatched、无 assignee);在飞的 P0/P1 不挡任何候选,只余取卡全序。」), 取卡全序 with its three legs, the work-item face line, the cloud lane, the per-level reading, the same-grade line and the alternation line.seat-lifecycle.md(99 → 98): the three queue-empty lines become two: the pointer tocard-pick.mjs --order ORDER --whywith 「无卡点即候选,⛔ 不得报空」, and the one blocking-point vocabulary, now withoutside --order.coordinator.md(51 → 51): the pick surface points atcard-pick.mjs --order ORDER. The batch line keeps its rule sentence 「p0/p1 先,余照点名次序」 and namescard-pick.mjsas its reading for queue cards; a PR row, a resumed card or a claimed card still takes the sentence. 「满即排队」 joins the free-slot line and 「交回或合入即释放槽位」 the slot-accounting line, so no line grows past 120 bytes.Live run
Two runs against the board at head
1bdac164b5. The first is the command as the pointer names it:node scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5 --why, exit 0, 292 lines, trimmed:card-pick live output, --why (trimmed)
By first blocking point, the 274 non-picks are: 226 outside
--order, 24 no triage audit, 21 candidates below--limit 5, 2pm:retriage, 1 another seat'sClaim:. The five picks are p1 cards, as rule 3 ② lets a p1 jump the named area whatever area it belongs to; each row now carries itsdomain:*, which is the seat's reading of lane ownership. The second run widens the limit to show the area's own order:node scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5 --limit 30, exit 0, 26 picks:card-pick live output, --limit 30 (picks 8 to 26)
Picks 1 to 8 are p1 jumps. The four area:fleet p2 cards come next, then its fourteen p3 cards as the close-out leg.
Tests
node scripts/pm/card-pick.mjs --self-test:✓ card-pick self-test: 62 cases pass across 8 batteries — offline, no network.The batteries are pinned by name with a floor, plus the handshake. They pin: p0 above everything; an unnamed-area p1 beating a named-area p2; an area holding only p3 cards yielding p3 picks, a p2 always ranking ahead of a p3 in the same item, an item's p3 closing that item before the next item's p2, a p3 outside the order not picked, and an epic's children following child order whatever the grade; an open target blocking, a closed-unmerged PR target still blocking, a merged PR and a closed issue releasing, a comment-borne line holding, a cross-repo target read from its own repo; the same-grade tiebreaks; epic child order; the claim, release and triage-audit readings; paging, the count gap,--limitand--why; an unreadable thread,Blocked-by:target or sub-issue parent making the run incomplete with the gap named and the held card printed without--why; the CLI exits,--orderwith no value,--seatwith an epic lane, thedomain:*on the row and the seven-leg footer. The drift pin quotes NORTH-STAR rule 3's four clauses and asserts each present, alongside the execution-duties phrases, the state-machine phrases and the seat-lifecycle phrases (the pointer with--order, the vocabulary withoutside --order).bash scripts/pm/os-verify-lock.sh --self-test:✓ os-verify-lock self-test: all cases pass.Eight--depthcases: an empty queue reads depth 1 and goes; a host with no usableflockdiscloses DECLARED UNLOCKED MODE; the holder and a parked slot are not counted; a live waiter reaches depth 2 and exits 1; a dead ticket is not counted, is named, and is still on disk after the run; the next--statusprints that ticket's liveness verdict; an unlit probe exits 3 and prints no depth;LOCK_DEPTH_HOLDequals the value the rule line names.node scripts/pm/check-prior-rulings.mjs --self-test:✓ check-prior-rulings self-test: 185 cases pass. 30 of them are--pathscases (18 before this round). They pin: on a fixture shaped like the rule's worked example (screen-input-contract.ts, hits citingruling A′, 2026-09-13andruling A+, #31491), every hit is listed for reading under the reading owed and gets no count verdict and no 无裁决; an id shape is a hint, the same reading owed; a declared path that matched no file withholds the clean verdict and is named; past the per-word cap the rest are counted with the exactgit grep; a ref outside the swept repository's owner is not fetched and is listed by number; a../x#1ref is rejected and not fetched; a same-owner ref prints open or closed and assignees, no title; same-day is the commit's UTC day, so a commit whose offset date is a different calendar day from its UTC date is judged by the UTC day; the log is-20at the revision on the declared glob pathspecs; the unread faces with their URL and ruling-hit refs; and the drift pins on execution-duties and on dispatch-runbook's same-day line.Acceptance notes
maindiffer,mainwas encoded. (a) The scoping note lists "no triage audit" as a blocking point.seat-lifecycle.md's vocabulary on main says the same, so it excludes the card; it uses H74's reader, parent exemption included. (b) Main's label order ends with the ungraded leg, which the note did not list; it is encoded after every graded order item, andexecution-duties.mdnames it (无级殿后). (c) Main says p3 is "left for the close-out or batched" and, in an area with no sub-epic, "p2 before p3". So an area's p3 cards are picks, ranked after every p2 of that item (legorder k p3 close-out). The reader cannot tell whether an area holds a sub-epic, so every area item ranks this way and the footer names that leg; a sub-epic named as anepic:item keeps its child order. Batching a p3 onto a PR is a judgement over a diff, so the footer names it as a leg the reader does not judge. (d)tooling's three-gate admission is triage's reading; only one gate is a machine line. The row is flagged and the footer names the gap; nothing is excluded on it.pm:queueboard; adomain:*seat's candidate set is its lane, and arepo:objectstackseat does not claim a cloud card or a security card. The row'sdomain:*and the footer leg carry that to the seat;execution-duties.mdscopes 标签序 to the lane's open cards.--pathspointer line has no room under 120 bytes, and the ruling-area step it names already covers rulings. The work-item face keeps its own line inexecution-duties.mdunchanged, and the reader now names it under every run as a face it does not read.lanes/director.mdrider was not taken. That line re-runs the grep "逐仓" (per repo), andcheck-prior-rulings.mjsreads its tree corpora from this checkout only. A pointer would change the rule for cards in other repos, which this PR is not deciding.Part of): landing reads (landing-k,pr-state,sweep-closed-cards --pr); the round health line (after fix(pm): first-touch sweep and H13 read area:* instead of domain:*; the sweep's daily backstop reads the issue type #35373); in-flight status and round-open (after pm-dispatch text: lanes become seats plus epics, the domain seats retire, and area leases only guard file overlap (step 4a) #35232 / pm-dispatch: reorganise the lane files into seat and epic files (step 4c) #35235); the deferredarea-lease.mdanddispatch-runbook.mdpointers;l1-face; the os-dev pointers (git-history ancestor,dev-worktree, after fleet skills: slim the entry files (pm-dispatch SKILL.md, os-dev, checklist-test) to what every run needs (step 3) #35231).Verification
Gates (local) and exits
8fee4048ce:node scripts/pm/dispatch-gates.mjs --commandsderived 82 families. Ran 82: 76 exit 0. 6 exit 3 PREREQUISITE NOT MET, read as NOT MEASURED because they need builtdist/and this diff touches no workspace package:check:doc-formula-expressions,check:dts-closure,check:dual-build-cjs-loads,check:i18n-coverage,check:lean-entry-closureandcheck:sourcemap-no-sources-content. CI runs them on a built tree.dispatch-gates --ran: 82 derived, 82 run, 0 UNRUN.origin/mainmerge, at8fee4048ce:node scripts/pm/check-skill-line-ratchet.mjs→ 0pnpm check:pm-skill-ratchet→ 0pnpm check:pm-skill-id-lint→ 0pnpm check:pm-governed-prose→ 0pnpm check:pm-prior-rulings→ 0pnpm check:nul-bytes→ 0node scripts/check-self-test-wired.mjs→ 0node scripts/check-skills-token-ratchet.mjs→ 0node scripts/pm/overlap-check.mjs→VERDICT clean exit 0(origin/main merges cleanly; 0 open PR heads share a file).6f40150dd0:node scripts/pm/card-pick.mjs --self-test→ 0 (54 cases, 8 batteries)pnpm check:pm-prior-rulings→ 0 (check-prior-rulings 173 cases; card-pick 54 cases)node scripts/pm/check-skill-line-ratchet.mjs→ 0 (execution-duties.md is 184 lines (ceiling 189; headroom 5))pnpm check:pm-skill-ratchet→ 0pnpm check:pm-skill-id-lint→ 0 (129 file(s) clean)pnpm check:pm-governed-prose→ 0pnpm check:nul-bytes→ 0node scripts/check-self-test-wired.mjs→ 0node scripts/check-skills-token-ratchet.mjs→ 0node scripts/pm/overlap-check.mjs→VERDICT clean exit 0(origin/main6f36818f03merges cleanly; the only PR head sharing a file is this PR's own)1bdac164b5:node scripts/pm/dispatch-gates.mjs --commandsderived 82 families (it warns the tree is 7 commits behindorigin/mainwith 1 derivation input changed across that range). Ran 82: 76 exit 0; 6 exit 3 PREREQUISITE NOT MET, read as NOT MEASURED because they need builtdist/and this diff touches no workspace package:check:doc-formula-expressions,check:dts-closure,check:dual-build-cjs-loads,check:i18n-coverage,check:lean-entry-closure,check:sourcemap-no-sources-content.dispatch-gates --ranwith each exit recorded:82 derived famil(ies) accounted for — 76 run, 6 NOT-MEASURED (6 DERIVED from a recorded exit 3).node scripts/pm/card-pick.mjs --self-test→ 0 (62 cases, 8 batteries)node scripts/pm/check-prior-rulings.mjs --self-test→ 0 (184 cases)bash scripts/pm/os-verify-lock.sh --self-test→ 0pnpm check:pm-prior-rulings→ 0node scripts/pm/check-skill-line-ratchet.mjs→ 0 (execution-duties.md is 184 lines (ceiling 189; headroom 5),seat-lifecycle.md is 98 lines (ceiling 99; headroom 1),coordinator.md is 51 lines (ceiling 51; headroom 0))pnpm check:pm-skill-id-lint→ 0 (129 file(s) clean)pnpm check:pm-governed-prose→ 0node scripts/check-self-test-wired.mjs→ 0node scripts/check-nul-bytes.mjs→ 0node scripts/pm/overlap-check.mjs --branch=HEAD --exclude-pr=35482→VERDICT clean exit 0(origin/mainf6902e9500merges cleanly; 0 PR heads share a file)5255cb6b46:node scripts/pm/check-prior-rulings.mjs --self-test→ 0 (185 cases)pnpm check:pm-prior-rulings→ 0 (check-prior-rulings 185 cases; card-pick 62 cases, 8 batteries)node scripts/check-self-test-wired.mjs→ 0node scripts/pm/overlap-check.mjs --branch=HEAD --exclude-pr=35482→VERDICT clean exit 0(origin/main89ea9bf84bmerges cleanly; 0 PR heads share a file)Ablations (scripts/ablation-replace.mjs: the mutation proven on disk, restored to the HEAD blob)
card-pick.mjs:else if (res.unmerged)→else if (false). Self-test exit 1:✗ ⭐ a closed-but-unmerged PR target still blocks — got "PICKED". Restored: blob == HEAD1cc35e9b89bf.card-pick.mjs, the p3 close-out rule (at6f40150dd0):rung === 3 && it.kind === 'area'→rung === 3 && it.kind === 'epic'. Self-test exit 1, 3 of 54 red:✗ …and the p3 rows name their leg — got "order 1|order 1|order 1",✗ ⭐ an epic's children follow child order whatever the grade: a p3 first child ranks ahead of a p2 second child,✗ …under the epic child leg, never the close-out leg. Restored: blob == HEAD19f8a7fa2161,git diff HEADempty.os-verify-lock.sh:((depth >= LOCK_DEPTH_HOLD))→((depth > LOCK_DEPTH_HOLD)). Self-test exit 1:✗ --depth counts a live waiter: depth 2 reaches the hold and exits 1 (wait). Restored: blob == HEADb671fb071521.check-prior-rulings.mjs: deleted the zero-hit guard insurfaceVerdict. Self-test exit 1, 2 cases red, including✗ --paths: ⭐ zero hits read 零命中 → 无裁决. Restored: blob == HEADde1240b3da76.1bdac164b5:check-prior-rulings.mjs, the id-regex classifier put back insurfaceVerdict(a hit set with no id shape answers命中 N 行,无裁决 id → 写命中数 N). Self-test exit 1, 2 of 184 red:✗ --paths: ⭐ hits citing a ruling by name, date or card number get NO count verdict and no 无裁决and✗ --paths: ⭐ the render lists every hit line and prints the reading owed per file, never 写命中数. Restored: blob == HEADa8440cae92dd,git diff HEADempty. A first attempt was a no-op (its replacement re-contained the anchor; the tool refused it, anchor 1 → 1) and was re-run with a distinct anchor.check-prior-rulings.mjs, the withholding line for an unmatched path deleted. Self-test exit 1, 1 of 184 red:✗ --paths: ⭐ a declared path that matched no file withholds 零命中 → 无裁决 and names the path. Restored: blob == HEADa8440cae92dd.card-pick.mjs, theincompleteentry for an unreadableBlocked-by:target deleted. Self-test exit 1, 1 of 62 red:✗ ⭐ an unreadable Blocked-by: target holds the card AND makes the run INCOMPLETE, the gap named. Restored: blob == HEAD22640fdf077c.card-pick.mjs, theincompleteentry for an unreadable sub-issue parent deleted. Self-test exit 1, 1 of 62 red:✗ ⭐ an unreadable sub-issue parent makes the run INCOMPLETE, the gap named, the held card printed without --why. Restored: blob == HEAD22640fdf077c.5255cb6b46:check-prior-rulings.mjs, the UTC conversion inparseLogbroken (new Date(ms).toISOString().slice(0, 10)→at.slice(0, 10), the offset date read as written). Self-test exit 1, 1 of 185 red:✗ --paths: ⭐ same-day is the UTC day of the commit, an offset date converted (got ["abc1234","def5678"], want ["abc1234"]). Restored: blob == HEAD3d09c88f9437.skip-changeset:scripts/pm/**,.claude/**and the rootpackage.jsonscript line publish nothing.Generated by Claude Code