Repository navigation
fix(pm): claim-branch reader accepts the card-thread branch shape - #39734
Merged
objectstack-fleet[bot] merged 2 commits intoDec 4, 2026
Merged
Conversation
CLAIM_BRANCH_SHAPE now matches claude/project-thread-ID beside claude/issue-N-slug, so a claim naming a card thread's push branch reads as that branch and the closing-target guard judges it like any other. Self-test rows pin match, mismatch and a retired-branch note on a separate line in both readers. Claude-Session: https://claude.ai/code/session_01ASNY8VYEJsv7qCYaPgM6nB Co-authored-by: Claude <noreply@anthropic.com>
The closing-target-claim header now names claude/project-thread-<id> beside claude/issue-N-slug as a claim branch, and the two "never widen the reader for the latest spelling" passages each say the card-thread arm is a second branch shape the platform forces, not a spelling. Claude-Session: https://claude.ai/code/session_01ASNY8VYEJsv7qCYaPgM6nB Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB 席位核对ACCEPT · head
|
objectstack-fleet
Bot
deleted the
claude/issue-39703-card-thread-claim-branch
branch
December 4, 2026 16:55
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.
Fixes #39703
repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Branch:reader is untouched; only the branch shape widens. A thread branch in prose or on a non-Branch:line is still not read.branchNameTarget) stays issue-only on purpose: a thread branch names no card number, and the one reader that feeds claim branches into it (H37's fold roster) already skips a null answer.claimGovernanceheader) each gain one sentence: the card-thread arm is a second branch SHAPE the platform forces, not a spelling. The passages themselves stand.Read first (by risk):
scripts/pm/check-half-states.mjs: theCLAIM_BRANCH_SHAPEconstant and its header note. Risk: every claim reader (H20 ref probe, H27, H37, H46, governance, the handover reconciler) now sees thread branches.scripts/check-closing-target-claim.mjs: the new rows at the end of the acceptance-pair battery, the rewritten card-thread row in the yield battery, and the header prose.Tests
Both self-tests at head 7b30853
node scripts/pm/check-half-states.mjs --self-test: exit 0, "5529 cases pass".node scripts/check-closing-target-claim.mjs --self-test: exit 0, "125 cases pass".node scripts/pm/check-handover.mjs --self-test: exit 0, "116 cases pass".Ablation (head 5af555e): the new arm removed on disk, then restored
Constant reverted to the issue-only shape: half-states self-test exit 1, 8 of 5529 failed (the 4 new reader rows, the H46 MATCH row, the 3 rewritten yield rows); closing-target-claim self-test exit 1, 4 of 125 failed (the no-warning row, MISMATCH, the retired-note row, the rewritten yield row).
Id class narrowed to the measured six-character base: half-states exit 1, 1 of 5529 failed (the suffixed-branch row, which read the truncated base thread).
Restored with
git checkout; both suites green again.Derived gate families (dispatch-gates --commands, 69) at head 7b30853
68 run, exit 0 each; 1 NOT MEASURED:
pnpm check:i18n-coveragerefuses with its own prerequisite (exit 3, needs the CLI and example build closure); this diff touches scripts only, CI runs it.--ranreconciliation: 69 derived, 68 run, 1 NOT-MEASURED, 0 UNRUN.check-platform-checklist --changed-from origin/main: exit 0, 0 anchored files.Acceptance notes
Branch:line accuses the PR) is cured by the widening itself: the guard's positive predicate asks whether the head is among the claimed branches, and the thread branch now is. A same-line note still adds the retired branch to the claimed set (the permissive direction); the reader keeps reading every branch on the line, because the pluralBranches:line legitimately lists several. The card's pinned case, a note on a separate line, is not read at all.Verification
Two minutes:
node scripts/check-closing-target-claim.mjs --self-test | grep 39703prints two passing rows naming #39703 (MATCH clean; the yield winner CLAIMED with no warning).Generated by Claude Code