Repository navigation
fix(pm): a Blocked-by value opening with none names no target - #38130
Conversation
blockedByTargets read every #N in the directive value, so the line 'Blocked-by: none. Order: independent of #36987's ruling.' counted as blocked by #36987 and card-pick held the card out of every pick. Claude-Session: https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW Final green head for L1 · 2026-11-28T03:48Z · Head-sha
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT at head Review summaryShape and gates.
Code read against the claim.
Evidence. Report 7233117804 shows the ablation turning the measured line back to one target, and the board reading of the p1 that the old parse held out of every seat's picks. Nit, optional. The rule trusts the author's first word. A value like Next: not governed and not Tier H, so the area lands it. |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW Landing · 2026-11-28T03:51Z · ACCEPT → PR #38130 comment 7233440590 (L1-a) at Head-sha
|
Requested by Elon · project thread
Fixes #38086
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
blockedByTargetsinscripts/pm/check-half-states.mjsnow skips aBlocked-by:directive value whose first token isnone(any case, before any ref; a leading code or emphasis marker is read through). Every#Nafter it is context, not a target. The check is per directive, so a siblingBlocked-by: #6on the same line still counts, andnoneappearing after a ref is still prose. Only this reader changes:directiveValuesserves other keys and stays as it is, and H4's presence test (hasBlockedByLine) still counts anoneline as a line, because H4 asks whether the author left anything, not which card blocks.What else reads the same value:
directiveValues(..., 'Blocked-by')has exactly one consumer,blockedByTargets. Everything else goes through it:commentBlockedByTargets,blockerTargetsFor(card-pick,scripts/ci/scheduled-full-run.mjs,fleet-roster.mjs),buildBlockingIndex, and the H19/H26/H28 reads. So one guard covers every reader, and no consumer-side change is needed. TheblockerTargetsFordocblock rules (both channels unioned) are unchanged.Board measurement (REST search
is:issue is:open "Blocked-by: none", 26 hits, 2026-11-28 ~02:50Z; bodies plus all 3320 comments read through the base parser): 3 open cards carry aBlocked-by: nonevalue that names a#N. All three are in the body channel: #37445, #37446 (named on #36987) and #37405 (named on #36806). 0 are in the comment channel.Tests
New pins in the self-test battery after the URL-fragment pin: the card's measured line verbatim reads as zero targets; any case and decoration (
None —, bulleted backtickedNONE, bolded key, backtickednone) read as zero; a sibling directive on the same line still counts;noneafter a ref is prose;nonesuch#9/none-of-them #10are not the token; the#A, #Brun, bulleted and bolded lines read as before;hasBlockedByLinestays true on anoneline.Readings on head
39633858(merge of origin/main into the fix commita43c62b4):Self-test, ablation, local gates, card-pick before/after
pnpm check:pm-half-states: exit 0,check-half-states self-test: 5427 cases pass.BLOCKED_BY_NONEskip line removed on disk, one line changed, then restored; porcelain empty after): exit 1,3 of 5427 case(s) failed. The three that fail are thenone. … #Npin (got36987), the case/decoration pin (got36806|1|2|3) and the sibling pin (got5,6).dispatch-gates --commands, 69 families, all run underos-verify-lock.sh, VERDICT command-exit 0): 68 exit 0.pnpm check:i18n-coverageexits 3 (PREREQUISITE NOT MET: no packagedist/; this diff touches no package), so it is NOT MEASURED locally and left to CI.--ranreconciliation:69 derived famil(ies) accounted for — 68 run, 1 NOT-MEASURED.node scripts/pm/card-pick.mjs --order area:fleet --why. On base 93fa911 it prints· #37445 · p2 · area:fleet · domain:devx — Blocked-by: #36987 (open). On this branch it prints3 · #37445 · p2 · area:fleet … order 1, as a pick. check-adr-0087-registration:把函数类型属性name: (…) => T读成「没有返回类型」,谓词 4 会误判为擦除类型(可放过真实收窄)(接 #36987) #37446 appears in neither listing. It was claimed by hand on 7231942694.Acceptance notes
Blocked-by:line) still treatsBlocked-by: noneas discharging its duty. A card labelledpm:blockedwhose only line saysnoneis now an empty-target block. That is H19's existing "names no open target" row, not a new state. No change here.Verification
Read first:
blockedByTargetsandBLOCKED_BY_NONE(the one behaviour change), then the new pins aftera URL fragment inside a value is not a target.Two-minute check:
node scripts/pm/card-pick.mjs --order area:fleet --why. #37445 is in the picks, and the line#37445 … — Blocked-by: #36987 (open)is gone (base prints it).Generated by Claude Code