Skip to content

feat(pm): card-pick reader, os-verify-lock --depth and check-prior-rulings --paths replace three retyped procedures - #35482

Merged
objectstack-fleet[bot] merged 9 commits into
mainfrom
claude/project-thread-w9aa30
Nov 19, 2026
Merged

objectstack-fleet[bot] merged 9 commits into
mainfrom
claude/project-thread-w9aa30

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

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 open pm:queue issue (every page, the count checked against the platform's search total), reads each named epic's sub-issue order, and ranks the cards by docs/NORTH-STAR.md "Priority" rule 3: p0, then p1 from any area, then the --order items in turn (an epic by its child order whatever the grade; an area by its p2 cards, then its p3 cards under the leg order 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-start Blocked-by: target in the body or a comment (a PR target holds until it merges), a newest Claim: with no Release: after it, or (a fleet card) no triage audit record. Every row prints the card's domain:* labels. --why prints 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, a tooling card's three-gate admission, the multi-seat alternation, batching a p3 onto a PR, lane ownership (a domain:* 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 as epic:#N to get it). Flags: --repo --order --seat --limit --why --json --fixture --now --self-test; --order with no value is a usage error, --order "" is the p0/p1-only order; --seat parses by the seat signature's own grammar, so an epic seat's epic:#N#1 is accepted. Exits: 0 complete, 2 usage, 3 queue unreadable, 4 incomplete. A thread, a Blocked-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.
    • Reused, not re-spelled: from check-half-states.mjs blockerTargetsFor (which wraps blockedByTargets and commentBlockedByTargets), blockerResolutionFromRow, isFleetCard, readSignatureLine and SEAT_SIGNATURE_LINE, markerMatches with 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. From gh-pages.mjs: readAllPages, ghApi.
  • scripts/pm/os-verify-lock.sh --depth. A read-only mode next to --status. It prints depth 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 same ticket_state and leaves a dead ticket in place, naming it, so the next --status still prints that ticket's liveness verdict (queue_live would delete it, and --depth runs before every dispatch). On a host with no usable flock it discloses DECLARED UNLOCKED MODE as --status does. 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=2 now lives in the script.
  • scripts/pm/check-prior-rulings.mjs --paths. The pre-dispatch premise readings over a declared file surface.
    • ① greps the four ruling words the rule names (ruling, Ruling-ref, maintainer, ⛔), fixed-string, at the revision, and prints a per-word count with file: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-NNN or 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 exact git grep that lists them is printed.
    • ② runs git log -20 on the paths. When one of those commits is dated today (UTC), it prints dispatch-runbook.md's same-day line verbatim.
    • ③ reads the #N and owner/repo#N refs 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; an owner/repo that is not two plain names (a dot-only segment, for one) is rejected and not fetched. It needs --card; without it the face says not read.
    • ④ names the faces it does not read under every run: the work-item face, GitHub URLs in the card or thread (listed by number) and cards named on ruling-hit lines (listed by number, not followed).
    • --paths alone skips the term search.
  • package.json: check:pm-prior-rulings now also runs card-pick.mjs --self-test. This adds no CI job: the existing "Prior-ruling reader self-test" step runs the chain.
  • Prose, no ratchet ceiling touched:
    • execution-duties.md (189 → 184): the ruling-area grep, the action face and the card-ref face become one pointer to check-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 at card-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 to card-pick.mjs --order ORDER --why with 「无卡点即候选,⛔ 不得报空」, and the one blocking-point vocabulary, now with outside --order.
    • coordinator.md (51 → 51): the pick surface points at card-pick.mjs --order ORDER. The batch line keeps its rule sentence 「p0/p1 先,余照点名次序」 and names card-pick.mjs as 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)
card-pick — objectstack-ai/objectstack · order area:fleet · seat repo:objectstack#5 · 2026-11-19T12:01Z
read: 279 open pm:queue issue(s) over 3 page(s) · the platform counts 279 · threads 51 · Blocked-by targets 3 · parents 24 · epics 0
Picks (limit 5) — rank · #N · grade · area/epic · domain · type · leg · age · fleet:
  1 · #35345 · p1 · area:ai · domain:skills · Task · p1 jump · 0d · non-fleet — skills: tell metadata-app projects what the platform already ships — a generated platform 
  2 · #34622 · p1 · area:cloud · domain:ui · Bug · p1 jump · 2d · fleet — Environment links to Cloud (storage upgrade, AI quota, marketplace) open the Cloud origin,
  3 · #35446 · p1 · area:ux · domain:ui · Bug · p1 jump · 0d · fleet — 应用列表页在 AI 助手面板打开时:「操作」列压住金额列,后面的列看不到也没有提示(附效果图)
  4 · #35449 · p1 · area:ux · domain:ui · Bug · p1 jump · 0d · fleet — AI approvals inbox (AiPendingActionsInbox) is unusable at phone width: the decision column
  5 · #35455 · p1 · area:ux · domain:ui · Bug · p1 jump · 0d · fleet — Console first screen: about six serial API round trips (bundle before the first call, chai
Not a pick (--why) — 274 card(s), each with its blocking point:
  · #25921 · p3 · area:fleet · domain:ui — Claim: by domain:ui#1
  · #31112 · p3 · area:fleet · domain:skills — below --limit 5 (a candidate)
  · #31518 · p3 · area:fleet · domain:devx — below --limit 5 (a candidate)
  · #33768 · p3 · area:fleet · domain:skills — pm:retriage
  · #26688 · p3 · area:devpath,area:package · domain:devx — outside --order (p3 · area:devpath,area:package)
  · #31450 · p3 · area:ai · domain:skills — outside --order (p3 · area:ai)
Not read by this reader — the seat reads these itself:
  · the maintainer's direct dispatch (取卡全序 leg 1, three provenance pieces) — not on the board as a label
  · the contract-surface leg (取卡全序 leg 2, `references/lanes/spec.md`) — a judgement over the diff, not a label
  · a `tooling` card's three-gate admission — triage's reading; flagged on the row, not judged
  · multi-seat odd/even alternation — the seat applies it to this list
  · batching a p3 onto a PR that touches the same files (rule ④'s "or batched") — a judgement over a diff; here every area p3 ranks as its close-out
  · lane ownership — a `domain:*` card outside this seat's lane, a cloud card or a security card is listed here but a seat may not claim it; read each row's `domain:*` against your lane
  · an area item that holds a sub-epic — ranked here p2 before p3, but rule 3 ③ binds that sub-epic's child order; name it as `epic:#N` in --order to get it
card-pick COMPLETE — 5 pick(s)

By first blocking point, the 274 non-picks are: 226 outside --order, 24 no triage audit, 21 candidates below --limit 5, 2 pm:retriage, 1 another seat's Claim:. 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 its domain:*, 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)
  8 · #35445 · p1 · area:ux · domain:ui · Feature · p1 jump · 0d · fleet — 应用里的 AI 助手面板:去掉「构建」字样与切换应用,标题栏收成一行;回答表格、「正在看」标签与输入区整理(附效果图)
  9 · #35321 · p2 · area:fleet · domain:skills · Task · order 1 · 0d · non-fleet — governance: the guard scripts join the governed register, `.claude/**` lands by declared r [tooling: three-gate admission unread]
  10 · #35322 · p2 · area:fleet · domain:devx · Task · order 1 · 0d · non-fleet — ci: a weekly merge-queue duration reading against a 22-minute median budget and a 32-minut [tooling: three-gate admission unread]
  11 · #35470 · p2 · area:fleet · domain:skills · Bug · order 1 · 0d · fleet — Fleet patrol: stop asking pm:epic cards for a type, and stop asking run records for a grad [tooling: three-gate admission unread]
  …
  26 · #34816 · p3 · area:fleet · domain:skills · Task · order 1 p3 close-out · 2d · fleet — pm-dispatch: execution-duties says a narrowing card is Clause-② no, AGENTS.md allows yes (
card-pick COMPLETE — 26 pick(s)

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, --limit and --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, --order with no value, --seat with an epic lane, the domain:* 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 with outside --order).
  • bash scripts/pm/os-verify-lock.sh --self-test: ✓ os-verify-lock self-test: all cases pass. Eight --depth cases: an empty queue reads depth 1 and goes; a host with no usable flock discloses 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 --status prints that ticket's liveness verdict; an unlit probe exits 3 and prints no depth; LOCK_DEPTH_HOLD equals 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 --paths cases (18 before this round). They pin: on a fixture shaped like the rule's worked example (screen-input-contract.ts, hits citing ruling A′, 2026-09-13 and ruling 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 exact git grep; a ref outside the swept repository's owner is not fetched and is listed by number; a ../x#1 ref 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 -20 at 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

  • Where the scoping note and main differ, main was 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, and execution-duties.md names 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 (leg order 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 an epic: 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.
  • Lane ownership is printed, not judged. The reader lists the whole pm:queue board; a domain:* seat's candidate set is its lane, and a repo:objectstack seat does not claim a cloud card or a security card. The row's domain:* and the footer leg carry that to the seat; execution-duties.md scopes 标签序 to the lane's open cards.
  • Not taken in this round: 「裁决同罪」 (the old staleness line's "rulings too") has no successor line; the --paths pointer 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 in execution-duties.md unchanged, and the reader now names it under every run as a face it does not read.
  • The optional lanes/director.md rider was not taken. That line re-runs the grep "逐仓" (per repo), and check-prior-rulings.mjs reads its tree corpora from this checkout only. A pointer would change the rule for cards in other repos, which this PR is not deciding.
  • Remaining slices of the card (separate PRs, 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 deferred area-lease.md and dispatch-runbook.md pointers; 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
  • At 8fee4048ce: node scripts/pm/dispatch-gates.mjs --commands derived 82 families. Ran 82: 76 exit 0. 6 exit 3 PREREQUISITE NOT MET, read as NOT MEASURED because they need built dist/ 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 and check:sourcemap-no-sources-content. CI runs them on a built tree. dispatch-gates --ran: 82 derived, 82 run, 0 UNRUN.
  • Re-run after the origin/main merge, at 8fee4048ce:
    • node scripts/pm/check-skill-line-ratchet.mjs → 0
    • pnpm check:pm-skill-ratchet → 0
    • pnpm check:pm-skill-id-lint → 0
    • pnpm check:pm-governed-prose → 0
    • pnpm check:pm-prior-rulings → 0
    • pnpm check:nul-bytes → 0
    • node scripts/check-self-test-wired.mjs → 0
    • node scripts/check-skills-token-ratchet.mjs → 0
    • the three self-tests → 0
  • node scripts/pm/overlap-check.mjs → VERDICT clean exit 0 (origin/main merges cleanly; 0 open PR heads share a file).
  • Re-run for the L1 fix round, at 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 → 0
    • pnpm check:pm-skill-id-lint → 0 (129 file(s) clean)
    • pnpm check:pm-governed-prose → 0
    • pnpm check:nul-bytes → 0
    • node scripts/check-self-test-wired.mjs → 0
    • node scripts/check-skills-token-ratchet.mjs → 0
    • node scripts/pm/overlap-check.mjs → VERDICT clean exit 0 (origin/main 6f36818f03 merges cleanly; the only PR head sharing a file is this PR's own)
  • Re-run for the L2 fix round, at 1bdac164b5:
    • node scripts/pm/dispatch-gates.mjs --commands derived 82 families (it warns the tree is 7 commits behind origin/main with 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 built dist/ 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 --ran with 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 → 0
    • pnpm check:pm-prior-rulings → 0
    • node 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 → 0
    • node scripts/check-self-test-wired.mjs → 0
    • node scripts/check-nul-bytes.mjs → 0
    • node scripts/pm/overlap-check.mjs --branch=HEAD --exclude-pr=35482 → VERDICT clean exit 0 (origin/main f6902e9500 merges cleanly; 0 PR heads share a file)
  • Re-run for the S6 fix round, at 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 → 0
    • node scripts/pm/overlap-check.mjs --branch=HEAD --exclude-pr=35482 → VERDICT clean exit 0 (origin/main 89ea9bf84b merges 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 == HEAD 1cc35e9b89bf.
  • card-pick.mjs, the p3 close-out rule (at 6f40150dd0): 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 == HEAD 19f8a7fa2161, git diff HEAD empty.
  • 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 == HEAD b671fb071521.
  • check-prior-rulings.mjs: deleted the zero-hit guard in surfaceVerdict. Self-test exit 1, 2 cases red, including ✗ --paths: ⭐ zero hits read 零命中 → 无裁决. Restored: blob == HEAD de1240b3da76.
  • L2 fix round, at 1bdac164b5:
    • check-prior-rulings.mjs, the id-regex classifier put back in surfaceVerdict (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 == HEAD a8440cae92dd, git diff HEAD empty. 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 == HEAD a8440cae92dd.
    • card-pick.mjs, the incomplete entry for an unreadable Blocked-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 == HEAD 22640fdf077c.
    • card-pick.mjs, the incomplete entry 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 == HEAD 22640fdf077c.
  • S6 fix round, at 5255cb6b46:
    • check-prior-rulings.mjs, the UTC conversion in parseLog broken (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 == HEAD 3d09c88f9437.

skip-changeset: scripts/pm/**, .claude/** and the root package.json script line publish nothing.


Generated by Claude Code

… 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>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 19, 2026
@github-actions github-actions Bot added size/xl dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation labels Nov 19, 2026
…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>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G

L1: ACCEPT · area fleet-1 · 2026-11-19T11:32Z · head 6f40150dd0

  • Scope: slice 1 of pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237 (Part of). It adds three read-only readers: card-pick.mjs (new), os-verify-lock.sh --depth and check-prior-rulings.mjs --paths. Each matching procedure in execution-duties.md, seat-lifecycle.md and coordinator.md becomes a one-line pointer. No ratchet ceiling moves, and there is no new CI job: card-pick's self-test runs inside check:pm-prior-rulings.
  • L1 round 1 (fixed at this head):
    • (1) The first head never picked a p3, which contradicts NORTH-STAR rule 3 ④ ("in an area with no sub-epic, p2 before p3"): an area holding only p3 cards came out as an empty queue. Now an area item's p3 cards rank after every p2 of that item, under the leg order k p3 close-out, and an epic item keeps its child order. Seven pinned cases cover this. An ablation that flips the area/epic guard turns three of them red; the blob was then restored to HEAD.
    • (2) The candidate-definition line (「开放 = 未派发…只余取卡全序。」) had been dropped as if it were procedure. It is restored byte-identical and pinned.
  • Read against main: the reader encodes main's rule text where the scoping note differs, and the body lists each case (no triage audit excludes a card; the ungraded leg comes last; tooling's three gates are flagged, not judged). The footer names the five legs the reader cannot judge. A Blocked-by: target counts the way state-machine.md defines it on main: a line at the start of the body or a comment, and a PR target holds until it merges.
  • Gates (dev report, at this head): card-pick self-test 54, check:pm-prior-rulings (173 + 54), the ratchet (execution-duties.md 184/189), skill-id-lint, governed-prose, nul-bytes, self-test-wired and skills-token-ratchet each exit 0. The first head's full dispatch-gates --commands set was 82 derived and 82 run. overlap-check is clean.
  • Live: two board runs are in the body. The five picks are p1 jumps from other areas, and with --limit 30 the area's own p2 cards are followed by its p3 close-out leg.
  • CI on this head: still running when this record was written.

Next: seat L2 at contract tier (rule-text pointers under .claude/skills/pm-dispatch/references/**).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 6f40150dd02a2870bf9f2eb443056fa56f106159
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/coordinator.md, .claude/skills/pm-dispatch/references/execution-duties.md, .claude/skills/pm-dispatch/references/seat-lifecycle.md + scripts/pm/card-pick.mjs, scripts/pm/check-prior-rulings.mjs, scripts/pm/os-verify-lock.sh, package.json (the check:pm-prior-rulings line)
Security-touching: yes

PR #35482 (draft, Part of #35237), net diff against main 6f36818f03 (the merge base, still the tip of main when read). Inputs: card #35237 (body and its 4 comments), the PR body, file list and diff, and the check-runs on this head. The live board was not read and none of the three readers was run; every statement below about a reader's behaviour is read off its code at this head.

Check-runs on this head at 2026-11-19T11:43Z: 36 success, 13 skipped, 14 in progress (Test Core, 13 Test UI shards), none failed. The jobs that carry this diff's gates are complete and green: Lint · repo & tooling gates (runs pnpm check:pm-prior-rulings, so both the check-prior-rulings and the card-pick self-tests), Lint · scoped · tooling self-tests (runs os-verify-lock.sh --self-test), Lint · PM dispatch-gates, Lint & Repo Gates, Governed Surface Queue Guard, both PR-body guards.

① Derived judgments

  • No published accept-set and no public surface changes. The diff touches scripts/pm/**, three .claude/skills/pm-dispatch/references/*.md files and one script line of the root package.json. No workspace package, no packages/spec/src/**, no exports map. Right.
  • Governed rule text contracts in five places; the rule content moves into three readers. Each is judged in ④:
    • pick order (execution-duties.md:47, old lines 53 and 55 removed) → card-pick.mjs. docs/NORTH-STAR.md "Priority" rule 3 stays the normative text and the reader pins its four clauses. Right, with S3, S4 and N1.
    • arrival depth (execution-duties.md:19, old lines 21-22) → os-verify-lock.sh --depth. The number is right; the mode's side effect is not (S1).
    • ruling-area grep and two staleness faces (execution-duties.md:12, old lines 12, 14, 15) → check-prior-rulings.mjs --paths. Wrong in its verdict line (M1) and in its zero-file case (S2).
    • the queue-empty table (seat-lifecycle.md:89, old lines 89-91) → card-pick.mjs --why. Right, with N2 and N6.
    • coordinator pick order (coordinator.md:17, :27) → card-pick.mjs. Line 27 is wrong for part of its population (S5).
  • Internal CLI surfaces added: card-pick.mjs (exits 0, 2, 3, 4), os-verify-lock.sh --depth (exits 0, 1, 3), check-prior-rulings.mjs --paths (exit 3 on a git failure or an unresolved ref). None is a published contract.
  • CI wiring: check:pm-prior-rulings now chains card-pick.mjs --self-test; no new job. The step ran green on this head, so the drift pins on NORTH-STAR rule 3, execution-duties.md, state-machine.md, seat-lifecycle.md and dispatch-runbook.md are gates. Right.

② Semver level

skip-changeset is right: nothing in the diff is published. Clause-②: no on the PR body and on the claim (comment 7006559529) is right: no accept-set is widened and no public surface grows.

③ Boundary flags

  • open_questions: empty on the card's report (comment 7007658675). Nothing to answer.
  • Deviation (a), no triage audit excludes a card: right. SKILL.md:180 forbids the claim, and the reader borrows h74QueuedWithoutTriageAudit with its fleet-card population and its parent exemption.
  • Deviation (b), the ungraded leg after the named order: right against the base text (execution-duties.md:53 on main). This diff removes that sentence, so the leg is now stated only in the reader (N1).
  • Deviation (c): the card's report says "p3 never picks and rides after the picks". This head ranks an area's p3 as that item's close-out, after every p2 of the item and before the next item. The head's reading holds against rule 3 clause ④ ("p2 first, p3 left for the close-out"; "in an area with no sub-epic, p2 before p3").
  • Deviation (d), a tooling card's three-gate admission is flagged, not judged: acceptable. execution-duties.md:8 still excludes such a card, the row carries the flag and the footer names the gap.
  • not_done, the lanes/director.md rider: right to decline. That line greps per repository and the reader reads one checkout.
  • Stale report. The only os-dev-report on the card names head 8fee4048ce (51 cases, four unread legs, p3 under Rides, execution-duties.md 189 to 183). This head is one commit later (54 cases, five unread legs, p3 close-out, 184 lines). The card carries no report at the head under review. The seat reads this before accepting.
  • Author: the PR's user.login is objectstack-fleet[bot]; no named-author note is owed.
  • SQL push-down: no data-layer code in the diff. No id materialisation, no in-app join. No finding.
  • One security-relevant observation on an implementing file is routed to the seat privately. Its mechanism is not written here; a private follow-up carries it.
  • Auto-merge is not armed (auto_merge null, the PR is a draft), so this FAIL owes no disarm.

④ Design judgment

M1 (must-fix) — check-prior-rulings.mjs --paths decides "hits that cite no ruling" with a two-shape regex, and prints the rule's count outcome on the rule's own worked example. surfaceVerdict (scripts/pm/check-prior-rulings.mjs:990-998) classes a hit line as citing a ruling only when RULING_ID_RE (:947) finds ADR-NNN or a 9 to 11 digit number on that line; otherwise it prints 命中 N 行,无裁决 id → 写命中数 N (:996, rendered at :1084). The rule it serves, execution-duties.md:13, says 「本卡与命中所引裁决逐字入区(id+原句)作约束;零命中才写无裁决,命中无裁决写命中数」: whether a hit cites a ruling is a reading of the hit. dispatch-runbook.md:216-217 gives the canonical case: the grep on screen-input-contract.ts hits 「ruling A′」 and the ruling area carries A′, its record id and the original sentence. At this head that file cites its rulings as ruling A′, 2026-09-13 (:164), ruling A+, #31491 (:67, :91), by ruling (#30178) (:82), #17306 ruling A′ (:263): by name, date and card number. A git grep of the four words over the file returns 22 hit lines, and exactly one carries a shape the regex knows (:231, an unrelated ADR-0114 D2 mention). So on the runbook's own example the reader reports one citing line, and it is not ruling A′; on a surface with no ADR mention it tells the seat to write a count. That is the unsafe direction: a maintainer ruling drops out of the dispatch order while the reader's verdict reads as the rule's own words. The self-test pins the behaviour (:1944, "hits with no ruling id are a COUNT"), so the gate is green on it. Fix direction: the verdict line states the reading owed on every hit and never the 写命中数 outcome; an id-shape match may be offered as a hint, not as the classifier. With the cap at :949 only 12 hits per word are named in the text output, so the line also has to say where the rest are read.

S1 (should-fix) — --depth reaps dead waiter tickets without reporting them. mode_depth (scripts/pm/os-verify-lock.sh:2639-2667) counts through queue_live, which deletes every ticket it judges dead (:735-747). mode_status takes liveness_snapshot first for exactly this reason (:2528-2532), and the design note above it records why: a dev whose turn ended while waiting left no trace on the surface a seat reads (:995-1008). execution-duties.md:19 now moves the pre-dispatch read from --status to --depth, so the read a dispatching seat takes before each dispatch deletes that evidence and prints none of it, and a later --status cannot show it. The depth number itself is right: live tickets + 1, the holder and parked slots not counted, hold at LOCK_DEPTH_HOLD = 2, exit 3 when the probe is unlit. Fix direction: count without pruning, or take the snapshot and print the dead verdicts as --status does. No self-test case holds a dead ticket in place across a --depth run.

S2 (should-fix) — a declared path that matches no file reads as the rule's clean verdict. premiseReadings (scripts/pm/check-prior-rulings.mjs:1050-1056) greps the pathspecs at the revision and git grep exits 1 with no output when a pathspec matches nothing, which the caller maps to no hits. A mistyped, moved or renamed path therefore prints 零命中 → 无裁决. The by-hand grep it replaces fails loudly on a missing path. Zero files read is not zero hits: the reader should name each declared path that matched no file at the revision and withhold the clean verdict for it.

S3 (should-fix) — card-pick.mjs lists cards a seat may not claim, and its footer does not say so. The reader has no domain:* reading: rows print grade, area, type, leg, age and fleet (scripts/pm/card-pick.mjs:449), and the self-test pins --lane as refused (:854). On main, a domain:* seat's candidate set is its lane (execution-duties.md:7), a repo:objectstack seat does not claim a cloud card or a security advisory (SKILL.md:172-174, lanes/objectstack.md 范围), and this diff removes the one phrase that scoped the pick order to 「本车道队列」 (old execution-duties.md:50). Every p1 on the board is a p1 jump pick whatever lane owns it. The footer promises that an absent leg never reads as a leg that found nothing (:44-50, :144-150), and lane ownership is not among its five legs. Neither is the second gap the docblock admits at :34-35: an area item is ranked p2 before p3 even when the area holds a sub-epic whose child order rule 3 clause ③ makes binding. Fix direction: name both legs in UNREAD_LEGS and print the card's domain:* on the row.

S4 (should-fix) — an unread Blocked-by: target or parent holds a card under COMPLETE, exit 0. The file's exit contract says 0 means "every read answered" (scripts/pm/card-pick.mjs:68). A target row that cannot be read becomes unresolved (:372) and a parent read that fails becomes H74_PARENT_UNREADABLE (:401); each adds a reason to the row (:391, :404) and neither is pushed to incomplete. Without --why the held card is not printed at all (:471-473), so one failed read silently removes the top-ranked card from the picks and the run still ends card-pick COMPLETE. The thread read does this correctly (:381-384); these two reads should follow it, or the held card should be printed without --why.

S5 (should-fix) — coordinator.md:27 points at a reader that cannot rank part of what the line orders. The line orders a batch of candidate rows handed by seats, and coordinator.md:25 defines a row as 「卡/PR … 续做分支」. card-pick.mjs ranks open pm:queue issues only (:319), drops pull requests (:326), and excludes an assigned or pm:dispatched card (:215-218). For a PR row, a resumed card or a card already claimed, the reader has no rank; the sentence it replaced (「p0/p1 先,余照点名次序」) answered for every row from the row's own grade column, at the same line cost. Fix direction: keep the rule sentence and name the reader as its reading for queue cards.

Nits (no effect on correctness or the contract):

  • N1 — execution-duties.md keeps three terms whose definitions this diff removes: 「标签序」 (:49, defined on the removed line 53, whose 「无级」 last leg is now stated only in card-pick.mjs:30-31), 「开放」 (:48, used only by the old line 50) and 「工作项面」 (:14, a face of the removed 「三面都查」). 「裁决同罪」 is dropped with no successor.
  • N2 — coordinator.md:17 and seat-lifecycle.md:89 name the command without --order, which the CLI requires (card-pick.mjs:599, exit 2).
  • N3 — parseSeat (card-pick.mjs:175-178) refuses a lane containing #, so an epic seat's signature lane (epic:#N, valid in SIGNATURE_LANE_SOURCE) cannot be passed to --seat. Its own claim then reads as another seat's; the card is still not a pick.
  • N4 — mode_depth writes its printf formats with literal newlines inside the quotes (os-verify-lock.sh:2642-2646, :2663), unlike the rest of the file; and on a host with no usable flock it prints depth 1 … go without the unlocked-mode disclosure --status gives.
  • N5 — the card-ref face reads #N and owner/repo#N in the card body and thread only (check-prior-rulings.mjs:1018-1021). A GitHub URL names nothing, and a card named by a ruling found in the tree is not followed, where the removed line read 「裁决/卡片点名的每张 issue」. The output does not name the work-item face as unread.
  • N6 — seat-lifecycle.md:89 drops 「无卡点即候选,⛔ 不得报空」, and the reader's most common row, outside --order, is not in the vocabulary the line lists.
  • N7 — --order given as the last argument with no value parses as an empty order (p0 and p1 only) instead of a usage error (card-pick.mjs:571, :579).

What holds, read against the cited code: RULE_PHRASES are the four clauses of NORTH-STAR rule 3 at this head; p0, then p1 from any area, then each --order item in turn, then the ungraded leg (placeCard, rankCards); an epic's children in child order whatever the grade; the same-grade order as execution-duties.md:52 writes it (non-fleet, then Bug, then age) through h67ReadOrder and a stable sort; Blocked-by: through blockerTargetsFor and blockerResolutionFromRow, a closed unmerged PR keeping the block as state-machine.md:28 requires; the claim and release markers through markerMatches; every page walked and the count checked against the platform's total; LOCK_DEPTH_HOLD held equal to the value the rule line names; the same-day line quoted verbatim from dispatch-runbook.md:222.

Implemented-by: claude/project-thread-w9aa30
Reviewed-by: session_01Utp6CbUb7TcZK1XUAddUmQ (L2 subagent)

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>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G

L1 delta after L2: ACCEPT · area fleet-1 · 2026-11-19T12:28Z · head 1bdac164b5 (from 6f40150dd0, three commits)

  • M1. --paths no longer classifies hits. Each file's hits are printed with the reading they are owed (「逐行读:引裁决 ⇒ id+原句入裁决区;不引 ⇒ 计数」). An id-shape match is only tagged as a hint, and 写命中数 is never printed. When a word passes the cap, the output gives the remaining count and the exact git grep to re-run. The count pin is replaced by a fixture shaped like screen-input-contract.ts. Ablation: with the regex classifier restored, 2 of 184 cases go red.
  • S1. --depth judges each ticket without pruning, and lists dead tickets as left in place. A self-test case shows a dead ticket still on disk after the run.
  • S2. A declared path that matches no file is named, and the clean verdict is withheld for it. Ablation: 1 case goes red.
  • S3. Rows print domain:*. The footer names seven legs, adding lane ownership and an area item that holds a sub-epic.
  • S4. An unread Blocked-by: target or parent makes the run incomplete (exit 4) with the gap named, and the held card is printed without --why. Ablations on each read turn 1 case red.
  • S5. coordinator.md keeps 「p0/p1 先,余照点名次序」 and names the reader for queue cards.
  • Nits. N2–N7 are fixed. N1 is partly fixed: 标签序 is defined again with 无级 and the lane scope. 裁决同罪 is not restored, because the line has no room under 120 bytes. The work-item face is named as unread under N5.
  • Card-ref face. It is scoped to the swept repository. A ref outside the owner is listed by number and not read. A ref to the same owner shows its state and assignees only. Names that are not plain owner/repo are rejected.
  • Gates. Self-tests pass: card-pick 62, check-prior-rulings 184, os-verify-lock all. The ratchet (184/189, 98/99, 51/51), skill-id-lint, governed-prose, self-test-wired and nul-bytes all exit 0. dispatch-gates: 82 families accounted for, 76 run and 6 not measured (they need dist). Overlap is clean.
  • Records. A fresh os-dev-report on this head is pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237 comment 7009075388. The PR body has been refreshed and reads back identical.
  • CI. At this head: 50 success, 12 skipped, 1 queued.

Next: the seat's L2 delta.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1bdac164b570843a0b98342ca47dc30b2f5a84ba
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/coordinator.md, .claude/skills/pm-dispatch/references/execution-duties.md, .claude/skills/pm-dispatch/references/seat-lifecycle.md + scripts/pm/card-pick.mjs, scripts/pm/check-prior-rulings.mjs, scripts/pm/os-verify-lock.sh, package.json (the check:pm-prior-rulings line)
Security-touching: yes

Delta review of PR #35482 (draft, Part of #35237): the three commits 6f40150dd0..1bdac164b5 (1249b29022, a2e160a2bd, 1bdac164b5), read against the record on 6f40150dd0. Six files move; package.json does not. The merge base is still 6f36818f03; main has since moved to 819c0679a8 and touched none of this PR's paths. Inputs: card #35237 (body and its 5 comments), the PR body, file list and diff, and the check-runs on this head. No reader was run and the live board was not read.

Check-runs on this head at 2026-11-19T12:32Z: all 64 concluded, 51 success, 13 skipped, none failed, none pending. Lint · repo & tooling gates (both check-prior-rulings and card-pick self-tests), Lint · scoped · tooling self-tests (os-verify-lock.sh --self-test), Lint · PM dispatch-gates, Lint & Repo Gates, Governed Surface Queue Guard and both PR-body guards are green.

① Derived judgments

  • No published accept-set and no public surface changes in the delta. Right, as before.
  • The delta restores rule sentences the first contraction dropped and leaves the pointers in place: coordinator.md:27 carries 「p0/p1 先,余照点名次序」 again; execution-duties.md:47 defines 「标签序」 with its 「无级殿后」 leg and scopes it to 「本车道开放卡」; seat-lifecycle.md:89-90 carries 「无卡点即候选,⛔ 不得报空」 and one vocabulary that includes outside --order. Each is right against the reader it names.
  • The readers' internal output changes: --paths prints a reading owed and no count outcome; --depth names dead tickets and deletes none; card-pick.mjs prints domain:* on every row, two more unread legs, and a held-card block. None is a published contract.
  • The drift pins follow the prose: DUTIES_PHRASES and LIFECYCLE_PHRASES quote the new lines, and the gate that runs them is green.

② Semver level

Unchanged and right: skip-changeset, nothing published. Clause-②: no holds.

③ Boundary flags

  • The dev report on the card (comment 7009075388) names this head, 1bdac164b570843a0b98342ca47dc30b2f5a84ba. Its open_questions is empty. This closes the stale-report flag of the previous record.
  • Its two deviations (pushed fast-forward from a local alias branch; no origin/main merge this round) need no ruling: the branch on the PR is claude/project-thread-w9aa30, and main has not touched these paths.
  • The report's finding map does not mention the self-test case this round deleted (S6 below). The seat reads that before accepting.
  • Author: objectstack-fleet[bot]; no named-author note is owed.
  • SQL push-down: no data-layer code in the delta. No finding.
  • The security-relevant observation routed privately on the previous head is addressed in this head. Its mechanism stays out of this record; the judgment is with the seat.
  • Auto-merge is not armed (auto_merge null, the PR is a draft).

④ Design judgment

Closed on this head, each read in the tree:

  • M1: closed
  • S1: closed
  • S2: closed
  • S3: closed
  • S4: closed
  • S5: closed

What the tree shows for each. M1: surfaceVerdict (scripts/pm/check-prior-rulings.mjs:1035) no longer classifies a hit; the id regex is a per-line hint (:968), every file is listed under the reading owed (:976), the only verdict left is the zero-hit one, and past the per-word cap the exact git grep is printed. The self-test now runs a fixture shaped like the runbook's worked example and asserts no count outcome. S2: each declared path is checked against the revision's tree (:1156); a path that matched no file is named and the clean verdict withheld. S1: mode_depth (scripts/pm/os-verify-lock.sh:2647) classifies with ticket_state, which only reads, and leaves dead tickets in place and named (:2684); two self-test cases hold a dead ticket across --depth and then find its verdict in --status (:4446, :4449). S3: domainOf (scripts/pm/card-pick.mjs:205) is on every row and UNREAD_LEGS (:150) names lane ownership and the sub-epic inside an area item. S4: an unreadable Blocked-by: target (:409) and an unreadable parent (:427) mark the run incomplete, and the held cards print without --why (:499). S5: coordinator.md:27 states the rule and names the reader as its reading for queue cards.

S6 (should-fix) — the fix round deleted a starred self-test case and names no duplicate. At 6f40150dd0, scripts/pm/check-prior-rulings.mjs:1946-1947 pinned parseLog's day arithmetic: 「⭐ same-day is the UTC day of the commit, an offset date converted」, with a +08:00 commit that falls on the previous UTC day as its control. The case is gone at this head and nothing replaces it: the only remaining same-day case (:2134) feeds one commit stamped Z on the same day, so a parseLog that took the day from the raw timestamp text would pass. The code itself is unchanged and right (:1070-1080); what is lost is the pin on the sentence the reader's docblock and the PR body both state (a commit "dated today (UTC)"). AGENTS.md:144 allows a test to be deleted only when its PR names a duplicate pinning that assertion, and the PR body and the dev report name none: they report 18 cases becoming 29 without saying one was removed. Of the seven case names that left, the other six have successors. The same hunk also narrows the log-argument case (:2131) so it no longer asserts that the log runs on the declared paths. Fix direction: restore the UTC case and the pathspec assertion.

Nits (no effect on correctness or the contract):

  • N1 — partly taken: 「标签序」 and 「开放」 have their definitions back. 「工作项面」 (execution-duties.md:14) still has no antecedent in the prose, though the reader now names that face as unread, and 「裁决同罪」 has no successor. Left as an accepted deviation or a follow-up card.
  • N2, N3, N4, N5, N6, N7 — taken. --order is on both pointers; --seat reads every signature lane; mode_depth uses escaped newlines and discloses unlocked mode; the unread faces are printed under every --paths run; the queue-empty vocabulary is whole; --order with no value is a usage error.
  • N8 — a ref outside the swept repository's owner prints as a bare #N (check-prior-rulings.mjs:1198), the same spelling as a local card. The state text on the row tells them apart; the repository name is only in the JSON output.

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: claude/project-thread-w9aa30
Reviewed-by: session_01Utp6CbUb7TcZK1XUAddUmQ (L2 subagent)

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>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G

L1 delta S6: ACCEPT · area fleet-1 · 2026-11-19T12:39Z · head 5255cb6b46 (from 1bdac164b5, one commit, check-prior-rulings.mjs +3/−1)

  • The starred case 「⭐ same-day is the UTC day of the commit, an offset date converted」 is restored, with its assertion byte-for-byte; parseLog's signature did not change.
  • The log-argument case asserts the pathspecs again: ['log','-20',':(glob)x/**',':(glob)gone/**'].
  • Ablation: with the UTC conversion broken, only the restored case goes red (1 of 185). After the restore the blob equals HEAD.
  • Gates exit 0: the self-test (185), check:pm-prior-rulings, check-self-test-wired, and overlap-check (clean). The body counts are refreshed and read back identical.

Next: the seat's L2 delta.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 5255cb6b4631786c2cffa0a1aa484497591cca69
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/coordinator.md, .claude/skills/pm-dispatch/references/execution-duties.md, .claude/skills/pm-dispatch/references/seat-lifecycle.md + scripts/pm/card-pick.mjs, scripts/pm/check-prior-rulings.mjs, scripts/pm/os-verify-lock.sh, package.json (the check:pm-prior-rulings line)
Security-touching: yes

Second delta review of PR #35482 (draft, Part of #35237): the one commit 1bdac164b5..5255cb6b46, read against the records on 6f40150dd0 and 1bdac164b5. It changes scripts/pm/check-prior-rulings.mjs by +3/−1, inside the self-test only; no other file moves. The merge base is still 6f36818f03. main is at 89ea9bf84b and has touched none of this PR's paths, nor any file its drift pins read (docs/NORTH-STAR.md, dispatch-runbook.md, state-machine.md, check-half-states.mjs, gh-pages.mjs). Inputs: card #35237 (body and its 5 comments), the PR body, file list and diff, and the check-runs on this head. No reader was run and the live board was not read.

Check-runs on this head at 2026-11-19T12:59Z: all 64 concluded, 51 success, 13 skipped, none failed, none pending. Lint · repo & tooling gates (both check-prior-rulings and card-pick self-tests), Lint · scoped · tooling self-tests, Lint · PM dispatch-gates, Lint & Repo Gates, TypeScript Type Check, Test Core, Test UI, Governed Surface Queue Guard and both PR-body guards are green.

① Derived judgments

The 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 level

Unchanged and right: skip-changeset, nothing published. Clause-②: no holds.

③ Boundary flags

  • Dev report. The newest os-dev-report on the card is comment 7009075388 and names 1bdac164b5, one commit below this head. No fresh report is needed for this head:
    • the land gate reads a report against the head only for a pull whose title carries ! or whose Clause-②: line carries a (narrowing) arm (landing-operations.md:61; label-write.mjs: "No marker ⇒ not judged"). This pull has neither.
    • os-dev.md:164-165 asks that a push after review re-run the gates on the new head and update the report or the PR body. The PR body carries the re-run at 5255cb6b46 (the self-test at 185 cases, pnpm check:pm-prior-rulings, check-self-test-wired, overlap-check) and the ablation for the restored case.
    • The report's own gate readings are of 1bdac164b5. Under l1-review-checklist.md:49 they do not count as evidence on this head; the check-runs above do.
  • open_questions on that report is empty. Nothing to answer.
  • Author: objectstack-fleet[bot]; no named-author note is owed.
  • SQL push-down: no data-layer code in the delta. No finding.
  • The security-relevant observation routed privately on 6f40150dd0 stays addressed on this head; this commit does not touch that code. Its mechanism stays out of this record.
  • Auto-merge is not armed (auto_merge null, the PR is a draft).

④ Design judgment

  • S6: closed

What the tree shows. The case 「⭐ same-day is the UTC day of the commit, an offset date converted」 is back at scripts/pm/check-prior-rulings.mjs:2107-2108, byte for byte the case the first head carried: a +00:00 commit on the day and a +08:00 commit that falls on the previous UTC day, with only the first expected. parseLog (:1070-1080) is unchanged. The log-argument case (:2133) asserts the command, the depth and both declared pathspecs again.

No must-fix, no should-fix.

Nits, both left as accepted deviations on the area's account:

  • N1 (remainder) — 「工作项面」 (execution-duties.md:14) has no antecedent in the prose, though the reader names that face as unread; 「裁决同罪」 has no successor.
  • N8 — a ref outside the swept repository's owner prints as a bare #N (check-prior-rulings.mjs:1198).

Every graded finding of this review is closed on this head: M1 and S1 to S5 on 1bdac164b5, S6 here.

Implemented-by: claude/project-thread-w9aa30
Reviewed-by: session_01Utp6CbUb7TcZK1XUAddUmQ (L2 subagent)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1b3817ad2b99a85afa4f22283afa5ef72a4c243c
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/coordinator.md, .claude/skills/pm-dispatch/references/execution-duties.md, .claude/skills/pm-dispatch/references/seat-lifecycle.md + scripts/pm/card-pick.mjs, scripts/pm/check-prior-rulings.mjs, scripts/pm/os-verify-lock.sh, package.json (the check:pm-prior-rulings line)
Security-touching: yes

Third delta review of PR #35482 (draft, Part of #35237): the one commit 5255cb6b46..1b3817ad2b, a merge of main into the PR branch, read against the records on 6f40150dd0, 1bdac164b5 and 5255cb6b46. Inputs: card #35237 (body and its 5 comments), the PR body, file list and net diff against main, the commit object of this head, and the check-runs on this head. No reader was run, no merge was recomputed locally and the live board was not read.

The head is merge-only. Read off the commit and the two trees:

  • 1b3817ad2b has exactly two parents: the first is 5255cb6b4631786c2cffa0a1aa484497591cca69 (the head of the previous record), the second is 895dd437f4b50402dddf6b147190c2b5d24e85ef, which was the tip of main when the merge was made. Their only merge base is 6f36818f03, the base every earlier record read. The second parent is 18 commits ahead of it.
  • The PR's seven files carry the same blobs at this head as at 5255cb6b46: coordinator.md f877c50d16, execution-duties.md b5d3fb5535, seat-lifecycle.md 0b12e2d87e, package.json 6498540948, card-pick.mjs 22640fdf07, check-prior-rulings.mjs 3d09c88f94, os-verify-lock.sh 809db7b46e.
  • The tree of this head differs from its first parent on 209 paths, and those are exactly the 209 paths main changed between 6f36818f03 and 895dd437f4. It differs from its second parent on exactly the PR's seven paths.
  • On those seven paths main holds the merge-base blob (six files) or no file on either side (card-pick.mjs). So no path was changed on both sides, and a three-way merge of the two parents can only take main's side on the 209 paths and the PR's side on the seven. That is this tree; nothing in it was written by hand.

Nothing main brought changes what the PR's paths or their drift pins mean. The 18 commits are product changes (packages/**, ui/packages/**, content/docs/**, four changesets, one docs/qa area file, pnpm-lock.yaml, scripts/measure-durability-swallow-family.mjs). None touches .claude/**, .github/**, scripts/pm/**, AGENTS.md or the root package.json. The files the readers pin or import are untouched: docs/NORTH-STAR.md, state-machine.md, dispatch-runbook.md, check-half-states.mjs, gh-pages.mjs, invoked-as.mjs. The runbook's worked-example file screen-input-contract.ts is untouched too. The net diff against main is the same seven files, +1569/−23, as on 5255cb6b46.

Check-runs on this head at 2026-11-19T13:23Z: all 60 concluded, 50 success, 10 skipped, none failed, none pending. Lint · repo & tooling gates (both check-prior-rulings and card-pick self-tests, so every drift pin read on the merged tree), Lint · scoped · tooling self-tests, Lint · PM dispatch-gates, Lint & Repo Gates, TypeScript Type Check, Test Core, Test UI, Dogfood Regression Gate, Governed Surface Queue Guard and PR-body guards are green.

main has moved two commits past the merged tip since (now 578d3b1d66); neither touches the paths named above.

① Derived judgments

The 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 5255cb6b46.

② Semver level

Unchanged and right: skip-changeset, nothing published. Clause-②: no holds.

③ Boundary flags

  • Dev report: the newest os-dev-report on the card is still comment 7009075388, naming 1bdac164b5. As judged on 5255cb6b46, no fresh report is owed: the pull carries neither ! in its title nor a (narrowing) arm, so the land gate does not read a report against the head, and the gate evidence on this head is its check-runs.
  • open_questions on that report is empty. Nothing to answer.
  • Author: objectstack-fleet[bot]; the merge commit is the relay's, signed by the platform. No named-author note is owed.
  • SQL push-down: the merge adds no code of this PR. No finding.
  • The security-relevant observation routed privately on 6f40150dd0 stays addressed on this head: the code that addresses it is byte-identical to 5255cb6b46. Its mechanism stays out of this record.
  • Auto-merge is not armed (auto_merge null, the PR is a draft).

④ Design judgment

No 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 main, so each closure holds here as read there. The line numbers the earlier records cite are unchanged.

Nits, unchanged, left as accepted deviations on the area's account:

  • N1 (remainder) — 「工作项面」 (execution-duties.md:14) has no antecedent in the prose; 「裁决同罪」 has no successor.
  • N8 — a ref outside the swept repository's owner prints as a bare #N (check-prior-rulings.mjs:1198).

Implemented-by: claude/project-thread-w9aa30
Reviewed-by: session_01Utp6CbUb7TcZK1XUAddUmQ (L2 subagent)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

维护者速读

席位核对 — ACCEPT · repo:objectstack#5 · head 1b3817ad2b99a85afa4f22283afa5ef72a4c243c · 2026-11-19T13:25Z

  • Shape: 7 files: scripts/pm/card-pick.mjs (new), check-prior-rulings.mjs --paths, os-verify-lock.sh --depth, pointers in three pm-dispatch references, one package.json script. Part of #35237, Clause-②: no, skip-changeset. L1 ACCEPT 7007875984, deltas 7009129472 and 7009377715 (fleet-1).
  • Contract review: FAIL 7008169247 → delta 7009270595 → delta 2 PASS 7009855614 at 5255cb6b46; merge-only delta 3 PASS at this head. M1 and S1–S6 closed; N1 remainder and N8 accepted deviations. Security-touching: yes, addressed in the head; nothing further owed on this PR.
  • Gates: every check-run on this head success or skipped, none failing (read at landing).
  • Landing clause: governed .claude/**, Tier S, the owning seat lands. K was 18, so the seat merged main (merge-only, no hand edit). Label security. Fleet patrol: stop asking pm:epic cards for a type, and stop asking run records for a grade #35470 follows as its own Tier H PR.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

落地 — repo:objectstack#5 · head 1b3817ad2b99a85afa4f22283afa5ef72a4c243c · 2026-11-19T13:26Z

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.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 19, 2026 13:26
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit af997d9 Nov 19, 2026
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation security size/xl skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants