Skip to content

fix(pm): a Blocked-by value opening with none names no target - #38130

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-38086-blocked-by-none
Nov 28, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-38086-blocked-by-none

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread
Fixes #38086
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感;各席位取卡时,写了「无阻塞」又顺带提到别的卡的卡片重新出现在可取清单里。
  • 为什么做:车队取卡工具的读数缺陷,一张优先级最高的卡曾因此被藏起来。
  • 出错会怎样:最坏是某张真被挡住的卡被当成可取,席位开工后会读到阻塞并停手;改动可直接撤回。
  • 要你做什么:无。

What changes

blockedByTargets in scripts/pm/check-half-states.mjs now skips a Blocked-by: directive value whose first token is none (any case, before any ref; a leading code or emphasis marker is read through). Every #N after it is context, not a target. The check is per directive, so a sibling Blocked-by: #6 on the same line still counts, and none appearing after a ref is still prose. Only this reader changes: directiveValues serves other keys and stays as it is, and H4's presence test (hasBlockedByLine) still counts a none line 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. The blockerTargetsFor docblock 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 a Blocked-by: none value 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 backticked NONE, bolded key, backticked none) read as zero; a sibling directive on the same line still counts; none after a ref is prose; nonesuch#9 / none-of-them #10 are not the token; the #A, #B run, bulleted and bolded lines read as before; hasBlockedByLine stays true on a none line.

Readings on head 39633858 (merge of origin/main into the fix commit a43c62b4):

Self-test, ablation, local gates, card-pick before/after
  • pnpm check:pm-half-states: exit 0, check-half-states self-test: 5427 cases pass.
  • Ablation (the BLOCKED_BY_NONE skip 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 the none. … #N pin (got 36987), the case/decoration pin (got 36806|1|2|3) and the sibling pin (got 5,6).
  • Local derived gates (dispatch-gates --commands, 69 families, all run under os-verify-lock.sh, VERDICT command-exit 0): 68 exit 0. pnpm check:i18n-coverage exits 3 (PREREQUISITE NOT MET: no package dist/; this diff touches no package), so it is NOT MEASURED locally and left to CI. --ran reconciliation: 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 prints 3 · #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

  • H4 (pm:blocked with no Blocked-by: line) still treats Blocked-by: none as discharging its duty. A card labelled pm:blocked whose only line says none is 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: blockedByTargets and BLOCKED_BY_NONE (the one behaviour change), then the new pins after a 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

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>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 28, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

Final green head for L1 · 2026-11-28T03:48Z · Head-sha 396338582bd2a59a9be61aa1cffb9041b282baac

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

L1 verdict (L1-a): ACCEPT at head 396338582bd2a59a9be61aa1cffb9041b282baac (Fixes #38086). Full read.

Review summary

Shape and gates.

  • l1-face --pr 38130 is CLEAN: 13 items, none flagged.
  • Check-runs: 32 success, 21 expected skip, 0 failed.
  • One file, scripts/pm/check-half-states.mjs, +36/-0.
  • NOT governed. No contract review is owed.

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 none other than #5 would read as unblocked, which is the permissive direction for card-pick. That spelling is unlikely, and the rule's comment already names it as the author's own words. A filing-gate line asking blockers to be written as refs would close it.

Next: not governed and not Tier H, so the area lands it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

Landing · 2026-11-28T03:51Z · ACCEPT → PR #38130 comment 7233440590 (L1-a) at Head-sha 396338582bd2a59a9be61aa1cffb9041b282baac, which is still the current head.

  • Tier: not governed (check-governed-merges reads 0 of 1 path), 36 changed lines.
  • Checks: all green (32 succeeded, 23 expected skips).
  • Nit: L1's optional note ("none other than [WIP] Fix error in step four of the action run #5" would read as unblocked) is not taken in this PR; no push.
  • Action: ready and auto-merge, by area o1-F.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 28, 2026 03:51
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 36aa663 Nov 28, 2026
56 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-38086-blocked-by-none branch November 28, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

2 participants