Repository navigation
fix(pm): H43 asks the bounce reading; H48 weighs the newest seat verdict of either kind - #39675
Merged
Merged
Conversation
…ict of either kind H43 (approver request owed) now asks `h48BounceReading`, the one bounce reading H48 and `label-write.mjs --handoff` already ask, over the thread it holds and the review page it buys, and stays quiet while a due hand-off reads `bounced`. The review-page cache is shared with H48, so a PR both rows ask about pays one page. H48 reads the newest seat verdict of either kind (`**ACCEPT**` or the new `REWORK_VERDICT_MARKER`, same grammar) through `h48StandingAccept`, and fires only when that newest verdict is ACCEPT; its gathering policy buys nothing for a REWORK-newest pull. Claude-Session: https://claude.ai/code/session_01L9qibwyQdwtP9TZSitysAc Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv L1-a · ACCEPT · #39675 @
Not governed, not Tier H. The seat lands it. |
Contributor
Author
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB 2026-12-04T13:17Z · Seat record · land PR #39675 (#39627 + #39628) at head
|
This was referenced Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Tesla · project thread
Fixes #39627
Fixes #39628
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
One file,
scripts/pm/check-half-states.mjs.H43 (approver request owed) asks the bounce reading (#39627). Once the hand-off reads DUE (
## 席位核对ACCEPT and a same-head## Contract reviewPASS), the sweep now asksh48BounceReading, the one wiring H48 andlabel-write.mjs --handoffalready ask, andh43GovernedReviewRequestGaptakes its answer as a sixth argument and stays quiet while it readsbounced. No second bounce reader:bouncedSince(is still called from exactly one place, and a source pin counts it.prReviewRowsFor) moved up so H43 seeds it and H48 reuses it. A PR both rows ask about now costs one review page, not two. No new request.unread(a PR pastH43_REVIEW_PROBE_CAP, a failed page, or a full page) and undefined leave the row as it was. Where the review page is missing, the existing "submitted-review leg was NOT read" sentence now adds that the bounce is unread too.governedHandoffBounced, on the forwarding contract).H48 reads the newest seat verdict of either kind (#39628). A new
REWORK_VERDICT_MARKER, with the same grammar asACCEPT_VERDICT_MARKER(bold at a line start, optional blockquote, noiflag, nogflag). A newh48StandingAccept(rows)returns the newest ACCEPT only when it is newer than every REWORK. It orders comments the waylatestMarkedCommentdoes, and one comment carrying both lines reads as REWORK.h48NeedsBounceReadboth askh48StandingAccept. A PR whose newest verdict is REWORK is clean and buys nothing.Tests
Self-tests on 18794da (all green)
node scripts/pm/check-half-states.mjs --self-test:5519 cases pass(was 5505).H43 hand-off timing 141/118(pin 109 → 118, +9).H48 bounced pull 34/34(pin 29 → 34, at the count).node scripts/pm/label-write.mjs --self-test:414 cases pass across 19 batteries(unchanged; it imports both rows).Pins: one cell per trigger, its exit, and the control
H43 (in
H43 hand-off timing):clear,string).due,object). A FAIL record is already BEFORE in H43's own reading, so it needs no new cell.bounceByPr, andbouncedSince(is called exactly once in the file.H48 (in
H48 bounced pull):**REWORK**: no finding.**REWORKED**and lowercase do not.Red on main first (a92f1ed, the base)
The same fixtures were driven through the exported functions of an untouched
a92f1ed9checkout from a scratch script:true).On this head all nine read GREEN.
Ablation (committed head, restored byte-exact)
Both mutations went through
node scripts/ablation-replace.mjs, which ran the self-test with each mutation in place and then restored the file. Each restore was confirmed with blobfae5a66db834equal to HEAD and an emptygit diff HEAD.if (bounce?.state === 'bounced') return null;replaced with a no-op (anchor 1 → 0): 3 of 5519 red, exactly the ①, ② and ③ trigger cells. The control and the exits stayed green.return acceptNewer ? accept : null;replaced withreturn accept;(anchor 1 → 0): 2 of 5519 red, the ACCEPT-then-REWORK cell and the gathering cell. The delta-ACCEPT control stayed green.Local gates on 18794da
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commandsderived 69 commands. 68 exited 0.pnpm check:pm-dispatch-gateshit my first 280 s timeout (exit 124). It was re-run alone and exited 0 (2926 cases pass, 496 s).pnpm check:i18n-coverageis NOT MEASURED: it exited 3, PREREQUISITE NOT MET, because the CLI and example build closure is not built in this worktree. This diff touches no i18n surface, and CI runs the gate.dispatch-gates --ranreconciliation:69 derived famil(ies) accounted for — 68 run, 1 NOT-MEASURED.node scripts/check-nul-bytes.mjs: exit 0.Acceptance notes
bounced. Anunreadbounce leg keeps today's finding and says so in its sentence. H43 already fires on a missing review page with a sentence saying so, so going quiet there would turn the probe cap into a silencer.label-write.mjs --handoffprintsnow H43without the bounce. ItshandoffRowLinescallsh43GovernedReviewRequestGapwith five arguments. On a bounced pull, the door still refuses with exit 2 and writes nothing, as before. Its printednow H43line still reads ✗, while the patrol's H43 is now quiet. The repair is to hand itbounceas the sixth argument. I left it alone:check-handover.mjs --inflight --paths=scripts/pm/label-write.mjsreports an in-flight claim on that file (pm-dispatch decision-analysis: settle the tier-line rule gaps left by #38492 (N1–N4, plus the reader notes N-a, N-b, N-c, N-d, N-g) #38874, another seat's card). The seat should route it.**L1-a · ACCEPT · …**),L1-a verdict: **REWORK**,**Verdict: REWORK.**and## 席位核对 — L1 REWORK @. So H48 neither fires on those ACCEPTs nor is withdrawn by those REWORKs. This predates this PR:ACCEPT_VERDICT_MARKER's own header puts the repair on the write side. Reported to the seat, not filed here.scripts/pm/**publishes nothing (skip-changeset).ui/scripts/__tests__/cross-file-line-citation-census.test.tsnames this file only as a path in a bucket list. Its content is not read there.Verification
Read first, by risk:
scripts/pm/check-half-states.mjs: the sweep block after the H43 review-page loop (bounceByPr, and the hoistedprReviewCacheseeded from H43's page).h48StandingAcceptand its two callers (h48NeedsBounceRead,h48GovernedVerdictWithoutBrief).bouncegate inh43GovernedReviewRequestGap.Two-minute check: run
node scripts/pm/check-half-states.mjs --self-test. The last line should listH48 bounced pull 34/34andH43 hand-off timing 141/118.Generated by Claude Code