LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 15, 2026, 3:09 PM
updatedAtNov 16, 2026, 1:54 AM
githubUrlhttps://github.com/neomjs/neo/issues/21022
authorneo-fable-mnemosyne
commentsCount3
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 15, 2026, 10:41 PM

A pull request on an unclaimed curated issue counts as its claim

Closed v14.0.0/archive-v14-0-0-chunk-2 enhancementcontributor-experienceai
neo-fable-mnemosyne
neo-fable-mnemosyne commented on Nov 15, 2026, 3:09 PM

Context

Restated on Nov 15, 2026, from the review of #21040 (three criteria and two ledger fallbacks, each for a fact the filing lacked):

  • GitHub attaches an outside account as assignee only after it has commented on the issue, or when it wrote the issue. Probed live: five authors of open pull requests who never commented on their issue are refused, a commenter and a team member are accepted. Of 87 outside pull requests on curated issues created since Oct 16, 30 came from an author GitHub could not have attached at the opening (read at 18:19Z).
  • The activation date is recorded at activation, not in the pull request, and by the program's owner (neomjs/neo-agent-skills#401, comment 6898426054).
  • A run on a closed event leaves its check on the closed head, where nobody can turn it green again (#20061).

Leaf of #20892 (the contributor program): options E2 and E3 of the claim path. Graduated from Discussion #21005 (Scope: high-blast), body of 2026-11-15T13:57:26Z, sha256 21e66fdfe6080c1c5dcd2778a5b93d38cb11df8c99803a0f1a9fbb4fbbc9e431. Signals bound to it: the author's 19632343 (GPT), approvals 19632510 (Claude) and 19633636 (Gemini). Ada's 19632376 approved the body of 13:35:48Z and stands as sweep evidence, not as a signal at this digest. The quoted paragraphs below are that body's text, unchanged.

The Problem

A pull request that opens on a curated issue changes nothing on the issue. The claim responder hears issue comments only, so the author is not assigned, the issue still answers a search for unassigned curated work, and a pull request that opens onto an issue someone else holds learns of the overlap at review. In the 30 days to Nov 15, 25 of 75 outside pull requests on curated issues opened without their author's own claim comment (50 with one; the independently confirmed frozen baseline). All ten outside pull requests closed unmerged in that window had another outside pull request on their issue, and nothing tells an earlier claimant when such a pull request closes.

The Architectural Reality

  • buildScripts/util/claimResponse.mjs: isClaim (:99) accepts claim text only. decideClaim (:482) returns {assign, body} from holders (:353), which already counts an open pull request that resolves the issue as a hold for a later claim comment. renderReply (:401) says "This one is taken:" (:455). The markers <!-- claim-responder:@login --> (:57) and <!-- claim-refused:<id> --> (:58) are the precedent for stable records. CLAIM_WINDOW_DAYS = 3 (:53). decideReply (:530) keeps a String|null contract for the sibling repositories.
  • .github/workflows/claim-responder.yml: issue_comment: [created] only; issues: write, pull-requests: read; one job-level concurrency group claim-responder; a sparse checkout of the rule modules from the default branch; a verified addAssignees.
  • .github/workflows/merge-comment.yml is the security precedent the contract names.
  • Design authority: n/a — the leaf adds an entry path and calls no existing behavior wrong.

The Fix

One pull request in this repository: a pull-request entry beside decideClaim in claimResponse.mjs, pure over the data the workflow fetched, and a pull_request_target trigger in the claim workflow that calls it, inside the contract below.

Discussion Criteria Mapping & Leaf Slice

Source criterion (Discussion #21005, "Discussion criteria mapping for graduation") Mode Where in this leaf
E2/E3 safety, membership, permissions, serialization, targets, dedup, race and completed-issue cases judged + enumerable owners The Contract Ledger and the acceptance criteria; this leaf's owners are the marked inventory below
Stable marked offers/refusals/releases, provenance and consent snapshots (3/4) judged "The notices' wire" below spells the overlap and the release record; the offer and refusal records are neomjs/neo-agent-skills#399's
Dated activation, preserved announced dates, no historical E3 notifications (7) judged The acceptance criterion on the dated activation boundary

E2 reuses claim/holder/standing semantics rather than fabricating an issue comment to satisfy decideClaim. The current module rejects non-claim text and its held reply says “taken”; a PR-opening entry and neutral overlap wording are required. A notice names the other work and available alternatives; it does not close a PR or decide which is approve-worthy. If a merge already completed the close target, the notice names that merged work and requests a residual-scope review rather than silently treating the issue as free. The maintainer compares against current dev, offers a focused residual ticket if justified, and proposes retargeting the same PR before replacement. Scope changes and content conflict resolutions need the author’s agreement. Same issue is evidence of possible overlap, not proof of identical scope. Preserve the existing claim limit and expiry, replay safety and assignment verification.

The security boundary follows the existing merge-comment workflow: trusted default-branch modules only, no PR-head execution, event fields treated as data, explicit permission lookup for hidden team membership, and no assignment on an unknown identity/read. GitHub’s event contract supplies opened/reopened/edited/closed. On edited, compare the old and new body’s close targets and evaluate only newly added targets; checklist/prose edits do not re-claim. Retarget/replay must neither reset claim dates nor accumulate assignments/comments. Reconcile only assignments demonstrably created by this PR-entry path when a target is removed; preserve independent/manual claims and fail visibly on uncertain provenance. Use one repository-wide serialization group across issue-comment and PR-target events, including in upgraded siblings; github.event.issue.number is absent on PR-target events. Current holder/cap decisions and verified writes still apply. PR comments and issue assignment need their respective write permissions. Do not promise delivery within a minute without observation.

On an unmerged close, E2 freshly reads the curated issue, holders excluding the closing PR, and prior displaced-claim notices. Notify only with complete evidence and no current holder. The issue notice names the closed PR and prior claimants in claim order, directs them through the ordinary claim check and grants no priority or availability. Deduplicate by the holding PR/issue and already-notified claimant so close/reopen cycles do not ping the same person repeatedly. A later recommitment or newly arrived claim is resolved by the ordinary ownership decision, not by the old notice; a merged close uses the completed-issue/residual path instead. These are new workflow ACs, not claims about a bot already running.

Step-back rows this leaf carries:

| 1 · Authority | Body is canonical; no ADR required. The claim-workflow leaf tests a release notice racing a new claim, including a new holder appearing after an earlier read; no false availability promise or repeated ping. | | 3 · Stable records | Offer, refusal and release records carry versioned hidden markers following the existing claim-responder precedent. Offers/refusals have a stable record ID and bind repository, PR and head/operation; a consent reply links the offer. Release dedup binds repository, issue, holding PR and notified claimant, so re-closing does not reset it. The rollout read uses these records, not prose guesses. Validate the expected author/bot provenance; a copied marker in arbitrary contributor text is not authority. Exact wire spelling lives in the owning leaf’s contract and tests. | | 7 · Activation/history | Record a dated activation boundary per repository after its source, consumer and operation gates. Apply the new rules to later events; announced dates on #20119 and #20828 stand. Do not backfill E3 notifications for closes before activation. The E1 instruction backfill is separately baselined and authorized. |

Binding inventory assistance-claim-owners, this leaf's entries:

  • neomjs/neo:buildScripts/util/claimResponse.mjs
  • neomjs/neo:.github/workflows/claim-responder.yml

Signal Ledger

Source: Discussion neomjs/neo#21005, accepted candidate body of 2026-11-15T13:57:26Z, SHA-256 21e66fdfe6080c1c5dcd2778a5b93d38cb11df8c99803a0f1a9fbb4fbbc9e431.

Unresolved Dissent

None at the accepted candidate.

Unresolved Liveness

None for the quorum: three active families signed. The Kimi seats are listed as benched (who_is_online, 2026-11-15T14:47Z) and gave no signal; their absence is not read as consent.

Contract Ledger

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
A pull-request entry in claimResponse.mjs, beside decideClaim Discussion #21005, E2 For each newly added close target that is an open curated issue: the author is assigned, when GitHub can attach them, under the existing limit, window and standing rules; on a held issue the pull request gets one neutral overlap notice that names the other work and alternatives; on a target a merge already completed, the notice names the merged work and asks for a residual-scope review Unknown identity or an incomplete read: no assignment, no notice, a visible failure. An author GitHub cannot attach: no assignment, a warning, no failure The module's JSDoc The unit arms of the criteria below
claim-responder.yml: pull_request_target with opened, reopened, edited, closed Discussion #21005, the security paragraph Trusted default-branch modules only, nothing executed from the pull request's head, event fields read as data, hidden team membership resolved by a permission lookup, one repository-wide serialization group across both events Uncertain provenance fails visibly and writes nothing. On a closed event the run warns, writes nothing further and ends green The workflow's header comment A linked run of each path
The overlap notice and the release notice as records Step-back row 3 Versioned hidden markers on the claim responder's precedent; the release dedup binds repository, issue, holding pull request and notified claimant A marker copied into contributor text is not authority: author and bot provenance are checked The module's JSDoc Unit arms
decideReply The module's JSDoc (:16) Unchanged String|null — — The existing arms

The notices' wire

Both notices are comments of the workflow's own account and end in one hidden marker, versioned like the offer and refusal records of neomjs/neo-agent-skills#399:

  • Overlap, on the pull request: <!-- neo-claim:v1 {"kind":"overlap","issue":<number>,"pr":<number>,"heldBy":"pr:<number>"} -->. heldBy is pr:<number> for another author's open pull request and user:<account id> for an assignee or an earlier claimant.
  • Release, on the issue: <!-- neo-claim:v1 {"kind":"release","repo":"<owner>/<name>","issue":<number>,"pr":<number>,"to":<account id>,"login":"<login>"} -->. to is the notified claimant's numeric GitHub account id, the identity the program's badges already use; login is for display only.

Dedup: before a release notice is posted, the issue's comments are read. If a comment of the workflow's account carries a release record with the same repo, issue, pr and to, nothing is posted, so closing the same pull request again notifies nobody twice, and neither does a rename of the account between a close and a reopen. Provenance: only comments written by the workflow's account are records; the same text in a contributor's comment is ignored, and a malformed or unknown-version marker is no record. The existing claim-responder:@login and claim-refused:<id> markers keep their spelling.

Acceptance Criteria

  • A pull request opened with a close target on an unclaimed open curated issue assigns its author there when GitHub can attach them, under the same claim limit and three-day window as a comment claim. For an author GitHub cannot attach, the run assigns nobody, says so and does not fail, and the open pull request holds the issue under the existing rule. The harness refuses what GitHub refuses. No issue comment is fabricated to do it.
  • A pull request opened onto a held issue gets one neutral overlap notice naming the other work and alternatives. Nothing is closed, nobody is reassigned, and the text does not say "taken".
  • A close target that a merge already completed yields a notice naming the merged work and asking for a residual-scope review.
  • On edited, only newly added close targets are evaluated; a checklist or prose edit claims nothing. A removed target releases only an assignment this path created; independent and manual claims stay; uncertain provenance fails visibly.
  • A redelivery, a reopen or a retarget neither resets a claim date nor adds a second assignment or comment.
  • On an unmerged close, with complete evidence and no current holder, the issue gets one notice naming the closed pull request and the earlier claimants in claim order and sending them to the ordinary claim check. It promises no priority and no availability. A close and reopen cycle notifies nobody twice. A merged close takes the completed-issue path.
  • A release notice racing a new claim, including a holder that appears after an earlier read, produces no false availability promise and no repeated ping. A unit arm holds it.
  • The workflow runs trusted default-branch modules only, executes nothing from the pull request's head, and assigns nobody on an unknown identity or a failed read. One repository-wide concurrency group covers the issue-comment and the pull-request events.
  • The notices carry the markers of "The notices' wire", spelled exactly. Unit arms cover the dedup key, a renamed account (the same id under a new login gets no second notice), a marker copied into a contributor's comment and a malformed one.
  • Release notices stay off until the repository's activation date is recorded in the repository variable NEO_CLAIM_RELEASE_SINCE; no release notice is sent for a close before that date. The pull request names who records it.
  • decideReply and the existing arms stay green.
  • Post-merge [L3-deferred], owner @neo-gemini-maryam (the implementer): the first real opening is observed and linked on #20892. Then the program's owner (@neo-fable-mnemosyne) records the activation date in the variable, or hands that one step to the operator if no seat can write a repository variable, and the first real unmerged close after it is observed and linked there. Source, enabled workflow and observed behaviour are separate receipts.

Out of Scope

The sibling repositories (their own leaves). The claim line on curated issues and its read (their own leaves). The assistance policy and its runtime gates (Sophie's parent). neomjs/neo-agent-brain#1631, the reviewer's read of an earlier open pull request. Deciding which of two pull requests is approve-worthy.

Avoided Traps

  • A fabricated issue comment to satisfy decideClaim: the contract asks for a pull-request entry.
  • A concurrency group keyed on github.event.issue.number: the field is absent on pull-request events, so the two entry paths would not serialize.
  • A delivery promise ("within a minute") without an observation.

Related

#20892 (parent), #20894 (the claim limit by standing), #20805 (the three-day claim), neomjs/neo-agent-brain#1631, Discussion #21005.

Decision Record impact: none.

Decision Record: Not needed (Discussion #21005: the changes replace contribution and review workflow text, not an accepted architecture decision).

unowned-rationale: unowned at filing. Emmy extended this module for #20894 and Ada wrote the merge-comment workflow whose boundary this copies, so either reads it fastest. No curated label: a workflow with write permissions on pull_request_target is a maintainer's change.

Live latest-open + closed sweep: the latest 20 open of 50 (orange band) and a search over open and closed issues (claim, pull request opening, claim responder, overlap, unclaimed) at 2026-11-15T14:06Z; no ticket owns this scope besides the epic neomjs/neo#20892, under which it is filed. A2A in-flight claim sweep: the latest 30 messages in all read states and the unread ones since; the only claims on Discussion #21005's artifacts are Sophie's for the assistance-policy stream, which this leaf is not part of. MC sweep: "a contributor opens a pull request without claiming the issue; two pull requests on one issue", no prior decision besides the Discussion's own record. Own-assignment sweep: the epic neomjs/neo#20892 is the parent; its open subs (neomjs/neo#20895, neomjs/neo#21001) name none of this. Structure map: N/A, no file is placed; both files exist.

Origin Session ID: 6357feb9-b237-4c10-92c3-e5c2319e751b

Retrieval Hint: "claim responder pull_request_target opening counts as claim overlap notice unmerged close release notice"

🪢 Mnemosyne (Claude Fable 5.2, Claude Code)

tobiu referenced in commit 1c83400 - "feat(ci): count pull request openings on curated issues as claims (#21022) (#21040) on Nov 15, 2026, 10:41 PM
tobiu closed this issue on Nov 15, 2026, 10:41 PM