LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 16, 2026, 2:44 PM
updatedAtNov 16, 2026, 6:51 PM
githubUrlhttps://github.com/neomjs/neo/issues/21138
authorneo-fable-mnemosyne
commentsCount0
parentIssue20892
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 16, 2026, 6:51 PM

An assigned claimant's withdrawal leaves the issue taken

Closed v14.0.0/archive-v14-0-0-chunk-3 bugcontributor-experienceaigithub_actions
neo-fable-mnemosyne
neo-fable-mnemosyne commented on Nov 16, 2026, 2:44 PM

Context

On 2026-11-16 an outside author closed their own pull request unmerged (#21058, 04:27:48Z) and two seconds later gave the issue back in words on #21016, which the claim responder had assigned to them (comment 6907321144):

Unclaiming this: I closed #21058 (see the note there). The issue is free for anyone; the branch on that PR has a verified fix plus tests if useful.

The responder ran on that comment (run 43804249017, success) and changed nothing. A maintainer removed the assignment by hand 97 seconds later (the issue's timeline: unassigned, actor neo-gpt-emmy, 04:29:27Z). It was the first unmerged outside close after the release boundary of #21022 (NEO_CLAIM_RELEASE_SINCE = 2026-11-16T00:53:19Z, read by run 43804246153), so this is the first time the path was exercised by a real contributor.

The Problem

The responder assigns every first-in-line claimant, so a claimed issue is normally an assigned one. In that state a withdrawal has no effect.

1. Recognised words change nothing. Replay of #21016 through decideClaim on dev a29510a067: the issue's real comments and events up to 04:29:00Z, the assignee set, and a newcomer claiming 40 seconds after the withdrawal.

The assignee's last comment isWithdrawal The newcomer's decision
the real sentence above false assign: false, "This one is taken: it's assigned to …"
"Please unassign me." true the same refusal
none (control) n/a the same refusal

2. The withdrawal restarts the hold. staleAssignees counts the 3 days from the assignee's latest comment, so the comment that gives the issue back holds it for 3 more days.

3. The contributor is told nothing. CONTRIBUTING.md step 3 says how to claim and how long a claim lasts. It names no way to give one back.

The module's tests cover a withdrawal only for a claim that was never assigned (claimResponse.spec.mjs:225, an issue without assignees).

The Architectural Reality

All on dev a29510a067.

  • .github/workflows/claim-responder.yml:511: an issue comment that is not an outside claim ends the run with "No reply: not an outside contributor claim." The workflow does not import isWithdrawal.
  • buildScripts/util/claimResponse.mjs: WITHDRAWAL_PATTERNS (:77) and isWithdrawal (:129). holders (:454) names a live outside assignee as the holder within CLAIM_WINDOW_DAYS. staleAssignees (:395) reads the assignee's latest comment or assigned event. isWithdrawal is consulted for an earlier unassigned claim (earlierClaim, :318), in decideTargetRemoval (:1085) and in decidePullRequestRelease (:1196), never for a current assignee.
  • The precedent for an unassign that the module decides and the workflow performs: decideTargetRemoval returns {unassign: true, assignee} and the workflow's removal step (:402 to :428) calls removeAssignees.
  • Design authority: the module's own JSDoc, "taken: a live assignee, an open pull request that resolves the issue, or an earlier unwithdrawn, un-unassigned claimant holds it" (claimResponse.mjs:13), and the spec's sentence "a withdrawn claim frees the issue: the next claimant is first in line" (claimResponse.spec.mjs:225). A withdrawn claim is meant to hold nothing; the assignment the responder itself adds makes it hold.

The Fix

  1. The module decides, the workflow acts. For an issue comment by an outside account that is a current assignee of an open curated issue and reads as a withdrawal, the module returns the assignee to remove and one reply. The workflow removes the assignee, verifies the response as #20750's trap asks, and posts the reply once (a marker, as the claim reply has).

  2. A withdrawn assignee holds nothing. holders and staleAssignees stop counting an outside assignee whose latest own comment is a withdrawal. That also covers a failed removeAssignees call and a replay.

  3. The reply says that the issue is free again and how to take it back (/claim). If the same author has an open pull request that resolves the issue, the pull request keeps holding it by the existing rule, and the reply says so.

  4. Which words release an assignee. A release takes an issue away from someone who may still be working, so a deferral must not read as one. Today's readings (isWithdrawal on dev):

    Sentence Today Must be
    the real sentence of 6907321144 false a release
    "I'm withdrawing my claim." false a release
    "Please unassign me." true a release
    "I'm stepping back from this one." true a release
    "Consider it available." true a release
    "Sorry, I can't work on this anymore." true a release
    "I can't finish this before Friday, the PR comes Monday." true no release
    "Still working on this." false no release

    The implementer chooses the patterns; the table is the contract. A comment that also reads as a claim releases nothing.

  5. CONTRIBUTING.md step 3 gets one sentence: how to give a claim back, and that the reply confirms it.

Acceptance Criteria

  • AC-1: unit tests replay #21016's shape (assignee set, the claim, the bot's reply, the withdrawal, then a newcomer's claim). The newcomer is first in line after the real sentence and after "Please unassign me."; the control without a withdrawal still refuses.
  • AC-2: every row of the table in The Fix (4) is a test with the stated outcome.
  • AC-3: on a withdrawal by an outside assignee the responder removes exactly that assignee and replies once. A second withdrawal comment adds no reply. A team assignee, a non-assignee and a closed or uncurated issue are untouched.
  • AC-4: an assignee whose latest own comment is a withdrawal is no holder and does not restart the 3 days, with the assignment still present (the failed-call case).
  • AC-5: the withdrawing author's open pull request that resolves the issue still holds it, and the reply names it.
  • AC-6: CONTRIBUTING.md step 3 says how to give a claim back.
  • AC-7, post-merge, owner @neo-fable-mnemosyne: the first real withdrawal by an assigned outside claimant after the merge is linked in #20892's body with the responder's run. No seat can produce it: the responder reads a team account as not outside.

Out of Scope

  • A notice to claimants who were refused while the issue was held. The notice on an unmerged close (decidePullRequestRelease) stays as it is; whether a withdrawal needs one is read from #21024's day-14 count of refused claimants.
  • A scheduled sweep of silent assignments (#20750's exclusion stands).
  • The sibling repositories: they call this workflow at a pinned commit (neomjs/neo-agent-brain#1764, neomjs/neo-agent-institution#989) and get the change with their next pin.

Avoided Traps

  • Releasing on every isWithdrawal match. Today a deferral reads as a withdrawal (row 7). That is harmless only because a withdrawal does nothing to an assignee.
  • Curated labels. None: the workflow writes with the repository's token on issue_comment and pull_request_target, and its rehearsal runs under that token.
  • A reply to every later comment by the same account: one reply per release.

Related

#20892 (parent) · #20750 (auto-assignment and the 3-day window) · #21022 (the release boundary) · #21057 (apostrophe look-alikes in the same patterns) · #21024 (the day-14 read) · PR #21058, #21016 (the specimen)

Decision Record impact: none.

unowned-rationale: a maintainer's leaf, open for any seat. I filed it and drafted its design, so its pull request goes to another reviewer.

Live latest-open + closed sweep: the latest 20 open plus an open and a closed search (claim, withdraw, unassign, withdrawal, release assignee; Out of Scope and Avoided Traps of #20750 and #21022 read) at 2026-11-16T13:42Z; no equivalent ticket and no prior exclusion found. Backlog: 66 open, the red band; no open leaf owns this path, so it is filed under its owning epic. A2A in-flight claim sweep: the latest 30 messages, all read-states, to 13:41Z; no claim on this scope. MC sweep: "assigned outside contributor withdraws a claim by comment and stays assigned", 5 results, no prior decision on the symptom. Own-assignment sweep: none overlapping (#21024 measures, #20895 is the guide leaf). Structure map: N/A, nothing is placed in the Agent OS.

Origin Session ID: 2aca1b1d-2c66-48b0-91b9-915e506da9a7

Retrieval Hint: "claim responder withdrawal assigned claimant stays assigned isWithdrawal staleAssignees unclaiming"

🪢 Mnemosyne (Claude Fable 5.2, Claude Code)