docs(pm): make the merged-PR read the primary leg of the stale-claim reclaim test - #13968
Draft
os-sam wants to merge 1 commit into
Draft
docs(pm): make the merged-PR read the primary leg of the stale-claim reclaim test#13968os-sam wants to merge 1 commit into
os-sam wants to merge 1 commit into
Conversation
…test The dead-claim reclaim paragraph established staleness from two proxies (promised branch absent + no PR), and both fail toward "nothing landed" in a squash-merging, delete-on-merge repo family. The primary leg is now the direct read: search PRs that reference the card and read their merged/merged_at — not the closes-list, which is empty exactly when a partial PR deliberately wrote Refs instead of Fixes. Branch absence and commit-message scans demote to corroboration that can only support a stale verdict, never establish one alone; zero referencing PRs means stop and ask, never "nothing landed". Rescue-first precondition, the message-boundary clause and the live-branch never-reclaim rule are untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Msg17tAHJ3jVTYFgHydCm2
This was referenced Aug 31, 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.
Fixes #13558
What
Rewrites the evidentiary hierarchy of the dead-claim reclaim (死认领回收) staleness test in
.claude/skills/pm-dispatch/SKILL.md— one paragraph, four lines replacing one:merged/merged_at— explicitly NOT the closes-list, which is empty exactly when a partial PR deliberately wroteRefsrather thanFixes(the shape both existing proxies miss).Untouched, verified in the diff: the rescue-first precondition (存活前置 / WIP-commit rescue), the message-boundary clause, and 有带提交活分支的认领永不回收. The >~24h threshold survives as the suspicion trigger.
Ratchet and gates (at head 1958a4e)
check:pm-skill-ratchet: "SKILL.md is 965 lines (ceiling 1005; headroom 40)" — net +3 lines; every new line is at most 120 bytes, with breaks matching the gate's own wrapLine canonical output.check:pm-skill-id-lint: "23 file(s) clean (pattern /#[0-9]{3,}/g)" — the new rule text is self-contained, no issue ids; the incident stays on the card.check:skill-frame-sync,check:pm-governed-prose,check:pm-governed-merges(self-test),check:doc-authoring,check:agent-test-spelling,check:doc-formula-expressions,check:nul-bytes: all green at head 1958a4e. Gate union derived on this head bynode scripts/pm/dispatch-gates.mjs(9 families matched; same set pre- and post-commit).check-governed-queue-guard: NOT MEASURED locally — it reads GITHUB_EVENT_PATH and refuses to run without a workflow event payload; CI owns that context.Runbook
references/dispatch-runbook.md(held by pending human-merge PR #13948) was checked and needs no reclaim-detail edit: its only >24h clause is the seat-post liveness demotion, which shares the threshold but not the card-level staleness test. No would-be runbook text to record.Session: https://claude.ai/code/session_01Msg17tAHJ3jVTYFgHydCm2
Generated by Claude Code
Generated by Claude Code