Context
Leaf of #20892. A contributor's standing lowers one cost for them: from five merged pull requests they hold two open curated claims at once in this repository, where everyone else holds one.
The Problem
The claim responder treats a tenth-time contributor like a first-time one. A contributor who delivers within hours and wants a second issue while the first is in review is refused: decideClaim returns the "you already hold" reply as soon as one other curated issue is assigned to them.
The Architectural Reality
buildScripts/util/claimResponse.mjs, decideClaim (:415): otherHeld is the claimant's other open curated issues, and if (otherHeld.length > 0) refuses. The limit is that literal.
.github/workflows/claim-responder.yml computes heldByClaimant from the issues assigned to the claimant and passes it in. The rule is therefore per repository.
decideReply (:474) is the legacy entry that neo-agent-brain and neo-agent-institution call after a sparse checkout of this module.
CLAIM_WINDOW_DAYS = 3 (:41) is the claim window. It does not change here.
- Standing comes from
buildScripts/util/contributorStanding.mjs (#20893): the rung returning starts at five merged pull requests.
The Fix
contributorStanding.mjs exports claimLimit(count): 1 below the returning rung, 2 from it.
decideClaim takes claimLimit (default 1) and refuses only when otherHeld.length >= claimLimit. With the default it behaves as today, so the two legacy callers are untouched. claimResponse.mjs gains no import: the claim responders of this repository, neo-agent-brain and neo-agent-institution check out that one file, and the standing module imports it.
claim-responder.yml of this repository adds contributorStanding.mjs to its sparse checkout, fetches the count with one search (org:neomjs is:public is:pr is:merged author:<login>) and passes claimLimit(count) beside heldByClaimant. Both modules stay pure.
- The refusal says the rule. Below five merges: "You already hold #{A}. From five merged pull requests you can hold two at once. Please claim this again once a slot opens." At the limit of two: "You already hold #{A} and #{B}. Please claim this again once a slot opens." (Restated 2026-11-15 by the ticket's author to the wording of PR #20977: the retry after a refusal, which the operator asked for, needs the last sentence.)
- The merge comment of #20893 gains one sentence in its standing line at the
returning rung: "You can now hold two curated claims at once in this repository." It ships here, in the same change as the rule, so the comment never promises a claim that decideClaim refuses.
Acceptance Criteria
Out of Scope
- A longer claim window for anyone. A claim that delivers does so within hours, so a longer window only lengthens a silent hold.
- The other repositories' claim responders.
- The guide's sentence about the rule (the guide leaf of #20892).
Avoided Traps
- Reading standing inside the module. The workflow fetches the count and passes the limit in, as it does with
heldByClaimant, so the module needs no network in its spec.
- Calling
claimLimit inside claimResponse.mjs. That file would have to import the standing module, which imports it, and three workflows check out that file alone: every claim reply in three repositories would fail at the import while the unit specs stay green. This ticket prescribed exactly that until its restatement on 2026-11-14.
- Two claims across repositories. The held issues are read per repository, so "two at once" is per repository too.
Related
#20892 (the epic), #20893 (the standing module, a prerequisite), #20805 (the three-day claim).
Decision Record: NOT_NEEDED. Decision Record impact: none.
Live latest-open + closed sweep, A2A, Memory Core and own-assignment sweeps: as attested on #20892 at 2026-11-13T19:2xZ; no ticket on a claim limit by standing exists. Structure map: N/A.
unowned-rationale: ready for a contributor since 2026-11-14, when the standing module landed on dev (#20893); maintainers provide planning and review.
Retrieval Hint: "claim limit by standing, decideClaim mergedCount, two concurrent curated claims at five merges"
Context
Leaf of #20892. A contributor's standing lowers one cost for them: from five merged pull requests they hold two open curated claims at once in this repository, where everyone else holds one.
The Problem
The claim responder treats a tenth-time contributor like a first-time one. A contributor who delivers within hours and wants a second issue while the first is in review is refused:
decideClaimreturns the "you already hold" reply as soon as one other curated issue is assigned to them.The Architectural Reality
buildScripts/util/claimResponse.mjs,decideClaim(:415):otherHeldis the claimant's other open curated issues, andif (otherHeld.length > 0)refuses. The limit is that literal..github/workflows/claim-responder.ymlcomputesheldByClaimantfrom the issues assigned to the claimant and passes it in. The rule is therefore per repository.decideReply(:474) is the legacy entry thatneo-agent-brainandneo-agent-institutioncall after a sparse checkout of this module.CLAIM_WINDOW_DAYS = 3(:41) is the claim window. It does not change here.buildScripts/util/contributorStanding.mjs(#20893): the rungreturningstarts at five merged pull requests.The Fix
contributorStanding.mjsexportsclaimLimit(count): 1 below thereturningrung, 2 from it.decideClaimtakesclaimLimit(default 1) and refuses only whenotherHeld.length >= claimLimit. With the default it behaves as today, so the two legacy callers are untouched.claimResponse.mjsgains no import: the claim responders of this repository,neo-agent-brainandneo-agent-institutioncheck out that one file, and the standing module imports it.claim-responder.ymlof this repository addscontributorStanding.mjsto its sparse checkout, fetches the count with one search (org:neomjs is:public is:pr is:merged author:<login>) and passesclaimLimit(count)besideheldByClaimant. Both modules stay pure.returningrung: "You can now hold two curated claims at once in this repository." It ships here, in the same change as the rule, so the comment never promises a claim thatdecideClaimrefuses.Acceptance Criteria
claimLimitwith spec arms at 0, 4, 5 and 250.decideClaimassigns a second curated issue to a claimant who holds one and refuses a third; with a limit of 1 it refuses the second. Spec arms for each, and one for the default.CLAIM_WINDOW_DAYSanddecideReply's signature are unchanged, andclaimResponse.mjsstill imports nothing:git grep -n '^import' -- buildScripts/util/claimResponse.mjs buildScripts/util/contributorStanding.mjsat the pull request's head lists the standing module's line and none of the other file. The ticket applies toneomjs/neoonly; the other repositories keep one claim until they move fromdecideReplytodecideClaim.returningrung and at no other; a spec arm covers both.Out of Scope
Avoided Traps
heldByClaimant, so the module needs no network in its spec.claimLimitinsideclaimResponse.mjs. That file would have to import the standing module, which imports it, and three workflows check out that file alone: every claim reply in three repositories would fail at the import while the unit specs stay green. This ticket prescribed exactly that until its restatement on 2026-11-14.Related
#20892 (the epic), #20893 (the standing module, a prerequisite), #20805 (the three-day claim).
Decision Record: NOT_NEEDED. Decision Record impact: none.
Live latest-open + closed sweep, A2A, Memory Core and own-assignment sweeps: as attested on #20892 at 2026-11-13T19:2xZ; no ticket on a claim limit by standing exists. Structure map: N/A.
unowned-rationale: ready for a contributor since 2026-11-14, when the standing module landed on
dev(#20893); maintainers provide planning and review.Retrieval Hint: "claim limit by standing, decideClaim mergedCount, two concurrent curated claims at five merges"