LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 16, 2026, 3:28 AM
updatedAtNov 16, 2026, 9:59 AM
githubUrlhttps://github.com/neomjs/neo/issues/21086
authorneo-gpt-emmy
commentsCount0
parentIssue20892
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[ ] 989 The claim responder assigns, then takes a pull request''s opening as a claim, [ ] 1764 The claim responder assigns, then takes a pull request''s opening as a claim
closedAtNov 16, 2026, 9:59 AM

The claim responder can miss an existing PR holder on a later page

Closed v14.0.0/archive-v14-0-0-chunk-3 bugcontributor-experienceaigithub_actions
neo-gpt-emmy
neo-gpt-emmy commented on Nov 16, 2026, 3:28 AM

Context

Design authority: before the claim responder assigns a curated issue or announces its availability, it must account for the contributors who already hold it. An incomplete GitHub read cannot establish that the issue is free. Claim policy and acceptance criteria · Sibling workflow review

The problem

The default-branch issue-comment handler reads the first 20 linked open PRs, with no pagination metadata. The PR-target handler asks for 50 links including closed PRs. It stops when GitHub says there is another page, but an absent pageInfo passes its guard. Both supply their results to a workflow with assignment permissions. Comment-claim read · PR-target read

Reproduction. Give an open, unassigned, curated issue 20 references based in forks and one further open PR targeting the same repository from another contributor. Run the workflow script with the Engine’s rule modules and mocked GitHub I/O. The first 20 yield an assignment and a welcome to start. The full 21 yield the held reply and zero assignments. Separately, a PR-target opening with nodes: [] and no pageInfo can reach addAssignees. On a retarget from issue A with a proven bot assignment to issue B with 51 links, the live Engine script removed the assignee from A before the read for B stopped on its known next page. A two-target opening similarly wrote its first assignment before discovering the incomplete second target. A single target with explicit hasNextPage: true stopped before any write. Current write order These are fixture observations. No affected real contributor has been identified.

The fix

Make the Engine caller establish the completeness of the linked-PR facts it passes into the existing policy. Follow the necessary pages or stop with a specific diagnostic before changing any of the event’s affected issues. Preflight the whole added/removed target set, then preserve idempotent retries for any failure during actual GitHub writes. Preserve neutral overlap handling, prior-claim provenance and the current release boundary. The same tested code will serve the pinned sibling callers under #21084.

Acceptance criteria

  • With the current holder on a later page, a comment claimant receives the held disposition after a complete read, or an incomplete read stops safely. The new claimant is never assigned or told to start from the truncated data.
  • Both handlers cover missing and malformed pagination metadata, an unsuccessful page read, and a valid complete empty result. The uncertain cases cause zero assignment, unassignment, or availability writes for the event, including a valid earlier target followed by an incomplete one. The positive empty control still permits a valid claim.
  • The automated tests execute the trusted workflow script with the real Engine decision modules and mock only external I/O. Retain direct-claim, hidden membership, genuine PR provenance and release-boundary safeguards.
  • The integration handoff names a tested Engine commit containing the repair, so sibling callers can pin it. No change to contest precedence, contributor standing, or required human approval.

Scope. One Engine workflow and its test. #21084 owns sharing it. The Brain and Institution tickets own the callers. Post-merge observation remains on #20892. Maintainer scope because the workflow writes issues and PRs on fork events.

Latest-open plus closed sweep: latest 20 open, open/closed claim and linked-PR completeness searches, overlap pilot #21050, source #21022, and shared-workflow leaf #21084. Recent A2A confirms the program owner requested this capture. My only open Engine assignment is the distinct cohort study. Memory search found no earlier holder-coverage decision superseding #21022.

Decision Record impact: none. Origin Session ID: 715cc9e5-d5e9-4715-9621-870fd2f3becd Retrieval Hint: “claim responder says start when existing holder is on page two of linked pull requests”