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.
…e probe rule (objectstack-ai#35237 slice 13) (objectstack-ai#38393) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHogQ9ogKPxHhiFfT2UQgJi)_ Fixes objectstack-ai#35237 Claim on the card naming this branch: 7247494260 (slice 13; base claim 7245952141). Clause-②: no Metadata-protocol: none Rule-change: none ## 维护者速读 - 用户无感:车队开发代理用的内部脚本和开发代理规则里的一行命令写法做了收尾修整,推送前后的行为对用户不可见。 - 属于「车队技能整理」里「把每次手敲的流程改成脚本」这一步,本次清掉这一步最后几项遗留小问题,做完后这一步可以关闭。 - 最坏情况是开发代理推送遇到超时、限流类错误时多重试几次(有固定上限)或照旧提前停下;一个提交即可整体撤回。 - 无 Slice 13 of the card: carrier item 24, the rule half of item 14 N7, and items 26–29 (notes 7246458172 and 7246788470), plus the card's done-when check below. 6 files, +54 / −16. | Item | Where | What changed | |:---|:---|:---| | 24 | `scripts/pm/check-owed-reviews.mjs:140` | "The name is kept: importers read it" was false (nothing imports `TRIAGE_ROUND_MINUTES`). It now says the name is kept because this file reads it, in the trigger (b) docblock and `owedReviewRow`, and that nothing imports it. Comment only. | | 14 N7 (rule half) | `.claude/agents/os-dev.md:31` | The probe command now spells `--branch=BRANCH`, so it runs as written instead of ending in a usage exit. Bytes are offset on the same line (see Acceptance notes). | | 14 N7 (ratchet) | `scripts/pm/check-skill-line-ratchet.mjs` | The `os-dev.md` row is lowered 33500 → 33492, the landed size. No row raised. | | 26 | `scripts/pm/dev-worktree.sh` `classify_push_failure` | A new arm, ahead of the 4xx arm and keyed exactly as it is, reads 408, 421, 429 and every 5xx as `network`. "Received HTTP code 502 from proxy after CONNECT" is now placed. The comment now says why. 5 classifier cases; floor 14 → 19. | | 27 | `scripts/pm/dev-worktree.sh` `rerun_with_probe` | A flag made only of characters no shell reads specially is printed as typed (`--backoff=2,4`). Any other flag is still quoted with `printf %q`. The pinned line now carries `--backoff=2,4`. One round-trip case; floor 20 → 21. | | 28 | `scripts/pm/git-history.mjs` self-test | The case titled "a problem the CLI refuses as usage" now asserts through the CLI: `ancestor --cwd=` pointed at a missing directory exits 1, prints nothing on stdout and says "could not be checked" on stderr. | | 29 | `scripts/pm/check-handover.mjs` `--inflight` clear line | The line now names the unjudged case: "a claimed path fragment deeper inside a dispatched directory, spelled DIR, DIR/** or DIR/**/GLOB alike". It is pinned in the N12 case. | ### Why 408, 421 and 429 are network errors under rule 1 (`os-dev.md:33`, only a network error is retried) The rule separates two kinds of failure. A refusal on the merits stops the run (403, and every other judged 4xx). A failure of the path is retried on a bounded schedule. Each of these three statuses says the path failed and says nothing about the push itself: - **408 Request Timeout.** The server closed the connection because the request did not arrive whole in time. It is the same event as the `Operation timed out` the classifier already retries; this time the server noticed the timeout first. - **421 Misdirected Request.** The request reached a connection that cannot answer for this host, usually a reused HTTP/2 connection or a proxy route. It describes the connection, not the request, and the retry's new connection is the fix. - **429 Too Many Requests.** The path is throttled for now. HTTP's own remedy is to wait and retry, and the backoff schedule is that wait: four retries, 30 s in all, never a loop. All three read `network` before objectstack-ai#38387 (through the words "RPC failed"). This PR restores that reading and keeps 401, 404, 407 and 409 as `other`. Every 5xx already read `network` in the `error:` and `HTTP` spellings. The new arm adds the key words the 4xx arm uses (`status`, `code`, `response`, `HTTP/N`), so a proxy's "Received HTTP code 502" reads the same way. ### Done-when check, item by item The card's done-when: each listed procedure is a script with a self-test, its prose is a one-line pointer, and the card-pick reader works against the live board. The closing check also asks that no carrier item stays open apart from item 7 option B, which landing ruled out of scope (7222751511 ③). | Part | State | Evidence | |:---|:---|:---| | Slice 1: card-pick, lock depth, prior-rulings `--paths` | landed | PR objectstack-ai#35482 | | Slice 2: `landing-k`, `pr-state`, `sweep-closed-cards --pr` | landed | PR objectstack-ai#35576 | | Slices 3, 5, 6: `fleet-roster --health`, the dispatch-runbook pointer, `l1-face` | landed | PR objectstack-ai#35671 | | Slice 4: `check-handover --inflight`, `round-open` | landed | PR objectstack-ai#37878 | | Slice 7: `git-history ancestor`, `dev-worktree.sh` | landed | PR objectstack-ai#38018 | | Card-pick against the live board | works | `node scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5 --limit 3` at 23:04Z: read 231 open `pm:queue` issues over 3 pages, the platform counts 231, `card-pick COMPLETE — 3 pick(s)`, exit 0 | | Carrier items 1, 2 | done | slice 4 (landing note 7226135228) | | 3, 5, 6, 11 (10's N6 too) | done | slice 8, PR objectstack-ai#38146 | | 16–19 | done | slice 9, PR objectstack-ai#38212 | | 4, 12, 13, 15 | done | slice 10, PR objectstack-ai#38222 | | 20–22 | done | slice 11, PR objectstack-ai#38243 | | 7 N11, 9, 14 N3/N5/N6 and N7's script half, 23, 25 | done | slice 12, PR objectstack-ai#38387 | | 24, N7's rule half, 26–29 | done | this PR | | 8, 10 | owe nothing | listed for completeness and accepted as deviations (7222785044) | | 7 option B | out of scope | landing kept option A (7222751511 ③) | Each part holds as far as it can be measured, so the first line is `Fixes objectstack-ai#35237`. One limit: the review reports' section 4, the candidate list the card names, cannot be read from this project, and slice 3's claim (7022183772) recorded the same gap. "Each listed procedure" is therefore checked against the slice plan in claim 7006559529, amendment 7013022048 and release 7017468070. If the seat holds a section-4 candidate outside that plan, the first line should become `Part of`. ## What changes The four scripts and one comment above, one rule line and one ratchet row. Nothing here ships in a package. ## Tests All runs are at head `084b6dba7a`. <details><summary>Self-tests of every script edited</summary> - `bash scripts/pm/dev-worktree.sh --self-test`: `✓ dev-worktree self-test: 95 cases pass across 7 batteries` (89 before: 5 classifier cases and 1 probe case added). - `node scripts/pm/git-history.mjs --self-test`: `git-history --self-test: all cases passed.` - `node scripts/pm/check-handover.mjs --self-test`: `✓ check-handover self-test: 114 cases pass`. - `node scripts/pm/check-owed-reviews.mjs --self-test`: `✓ check-owed-reviews self-test: 96 cases pass in 10 batteries`. - `node scripts/pm/check-skill-line-ratchet.mjs --self-test`: `116 cases pass`. The gate itself exits 0. </details> <details><summary>Ablations (scripts/ablation-replace.mjs; each mutation was proven on disk and the restore proven blob == HEAD with an empty git diff HEAD)</summary> - A1 `(408|421|429|5[0-9][0-9])` → `(5[0-9][0-9])` in the new arm: 3 of 95 red, the 408, 429 and 421 cases. - A2 `(408|421|429|5[0-9][0-9])` → `(408|421|429)`: 1 of 95 red, the proxy CONNECT 502 case. - A3 the as-typed branch of `rerun_with_probe` back to `printf %q`: 2 of 95 red, the pinned second-run line and the round-trip case. - A4 the `--inflight` clear line back to its old text: 1 of 114 red, the N12 case. - A5 the CLI's usage refusal skipped for a "could not be checked" problem: 1 red, the item 28 case, through its CLI half alone (the direct calls stay green). </details> <details><summary>Classifier false-match probe (the shapes record 7246776227 tried against the 4xx arm, run against the new arm, at this head and at the merge base)</summary> A port (`port 429`, `github.com:502`), an errno (`errno 408`, `errno=502`), an OpenSSL code (`error:0A000126`, `error:42900000`), a byte count (`408 bytes`, `Total 429`, `(502/502)`) and an HTTP/2 stream number (`HTTP/2 stream 421`, `stream 503`) read the same at head as at base. Only two answers moved: `RPC failed; HTTP 429` and `Received HTTP code 503 from proxy after CONNECT`, both from `other` to `network`. </details> ## Acceptance notes - **os-dev.md byte offset.** Adding `--branch=BRANCH ` costs 16 bytes against 9 bytes of headroom. The same line drops 「建好分支后」 (15 bytes), so the file lands at 33492 (+1 against main's 33491), within the 33500 ceiling. The row is then lowered to 33492. The rule is unchanged: the timing it sets is still 「任何编辑前」, and the one command now builds the branch and sends the probe in a single run. `BRANCH` is the placeholder the file already uses three lines up (`Resume-from: BRANCH@SHA`). The edit stays one line, adding one argument, with the offset on the same line. - **The old 5xx alternative is kept.** The case-insensitive `(error:|HTTP)[ :]+5xx` alternative stays in the transport-words arm, so no spelling that read `network` before reads anything else now. - **`check-owed-reviews.mjs` keeps `export`.** Nothing imports the name, and the sentence now says so. Removing the export would be a surface change this item did not ask for. ## Verification Read first, by risk: `scripts/pm/dev-worktree.sh` (the new arm in `classify_push_failure`, then `rerun_with_probe`), `.claude/agents/os-dev.md:31`, `scripts/pm/git-history.mjs` (the item 28 case). Two-minute check: `bash scripts/pm/dev-worktree.sh --self-test` should print `95 cases pass across 7 batteries`. --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn)_ <!-- signed: repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn --> Co-authored-by: Claude <noreply@anthropic.com>
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