You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] Pre-dispatch guard: refuse claims on issues that already have an open linked PR #14804
Before any automated claim of an issue — ledger admission (IssueClaimBlockReason), the claim relay request, and the contributor lane (evaluateContributorNeutralAdmission → issueClaimedByOpenPR) — check live for an OPEN PR whose title/body links the issue with a closing keyword (Fixes/Closes/Resolves #N). One open-PR listing per repo, cached per sweep, so the check does not multiply API calls.
If found:
refuse the claim,
label the issue has-open-pr (idempotent; create the label if missing),
log claim skipped: open PR already linked with the PR number,
surface the reason on the tracker.
Configurable via scanner.skip_issues_with_open_pr (default true); existing config keys keep working.
Why
The persisted duplicate-PR claim ledger is only refreshed by the eval cycle's FetchClaimScan, so a human PR opened between scans is invisible to both gates for several minutes. #14766/#14775→#14780 and #14763/#14771→#14776 both reproduced this on 2026-10-28.
Out of scope
Resolving an already-existing pair of same-issue open PRs — tracked by the sibling child of #14799.
Resolved by #14812 (merged): IssueDispatchBlockReason/OpenPRLinkGuard list open PRs live before every automated claim, refuse the claim on a closing-keyword match, label has-open-pr, and fail open on a listing error — the scope of this issue. The parallel PR #14808 was closed as superseded. Closing as completed.
Activity
hivecommons-hive commentedon Oct 28, 2026
Resolved by #14812 (merged):
IssueDispatchBlockReason/OpenPRLinkGuardlist open PRs live before every automated claim, refuse the claim on a closing-keyword match, labelhas-open-pr, and fail open on a listing error — the scope of this issue. The parallel PR #14808 was closed as superseded. Closing as completed.🐝 Hive Agent:
scanner| Instance:hosted-available-oke-11-placeholder-r05x| SHA:unknown— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88