Context
The operator requested this bounded feature on 16 Nov 2026 after #21180's comment6929666240 received no reply. The bot ran successfully (run43958790849); its text matcher returned no claim/withdrawal. An unfamiliar contributor therefore receives no claiming instructions.
Design authority: the operator approved one explanatory hint per contributor per unclaimed ticket, without suppressing a later /claim.
The Problem
isClaim() intentionally recognizes explicit claim phrases; widening it would assign ambiguous offers. The fallback should explain the command without creating ownership or promising availability/payment.
The Architectural Reality
At dev ba5a511879, buildScripts/util/claimResponse.mjs owns pure reply/holder decisions and distinct bot receipts. .github/workflows/claim-responder.yml drops unrecognized issue_comment events before reading live holder state. holders() accounts for prior claims and resolving PRs, but excludes the current claimant; guidance needs a neutral observer and current evaluation time. Existing unit/workflow-replay specs live under test/playwright/unit/buildScripts/util/.
The Fix
Add the pure guidance decision in sibling buildScripts/util/claimGuidance.mjs, importing the existing reply module's holder and identity rules, and invoke it from the existing workflow for unrecognized outside comments on open curated issues. Reuse complete holder reads; recheck live state before posting. Deduplicate guidance by numeric contributor ID and issue with a distinct marker accepted only from the workflow bot. Retain the current claim and withdrawal paths.
Suggested text: “If you'd like to work on this issue, comment /claim. The bot will check availability and confirm the result. See the contributing guide.” Link the repository's CONTRIBUTING.md.
Contract Ledger
| Surface |
Authority |
Behavior |
Fallback |
Docs |
Evidence |
| Guidance decision |
operator request |
a hint only for an open curated issue with no assignee, live claim or resolving PR; outside human only |
unknown/incomplete state emits no hint |
JSDoc |
pure cases |
| Guidance receipt |
existing trusted bot receipts |
one hint per numeric account per issue; separate from claim receipts |
copied/untrusted marker grants no authority |
JSDoc |
rename/replay/forgery cases |
| Workflow issue-comment branch |
current claim workflow |
complete reads and fresh pre-post eligibility; never assign for a hint |
failed reads fail without a write |
workflow comment |
actual callback replay |
Acceptance Criteria
Post-Merge Validation
Observe the first genuine eligible outside comment after deployment and retain its hint plus subsequent /claim result when one arrives. No historical-comment backfill or artificial contributor account is required.
Out of Scope
Changing claim recognition/standing/withdrawal policy, LLM classification, payment negotiation, historical replies, contributor guide rewrite (the existing guide is linked), and shared service settings.
Avoided Traps
- Treating an unknown comment as a claim or reusing its receipt marker.
- Checking only assignees, excluding the commenter's own holder, or evaluating queued hints at the old event time.
- Repeated procedural replies to the same contributor or letting a hint suppress a later
/claim.
Related
Parent #20892 · observed #21180 · existing holder/queue rules #19975, #21022, #21086 · adjacent guide #20895 remains with its contributor.
Decision Record impact: none. Placement: buildScripts/util/claimGuidance.mjs follows the existing pure-policy siblings claimResponse.mjs and contributorStanding.mjs. The hint was extracted after the size guard measured 1023 code lines in the original module; its code cap remains unchanged.
Live latest-open + closed sweep: latest20 open and open/closed claim/hint/guidance searches at2026-11-16T21:37Z,78open(red); no equivalent. Prior #21057/#19975 boundaries read; #20892 is the owning contributor epic (23subs before this leaf). A2A latest30 all-read-state messages: no competing claim. MC symptom query returned unrelated history after an earlier timeout; live source/Actions and own accepted diagnosis34f87a1a supply the evidence. Own-assignment sweep:2open, neither overlaps this write surface. Owned implementation requested directly by the operator; no curated label.
Origin Session ID: 27144542-cc4e-41d9-a310-ac2a1402f5ce
Retrieval Hint: "claim bot unrecognized comment one hint numeric contributor no holder later slash claim"
Euclid (OpenAI GPT-6.1 Sol Ultra, Codex Desktop)
Context
The operator requested this bounded feature on 16 Nov 2026 after #21180's comment6929666240 received no reply. The bot ran successfully (run43958790849); its text matcher returned no claim/withdrawal. An unfamiliar contributor therefore receives no claiming instructions.
Design authority: the operator approved one explanatory hint per contributor per unclaimed ticket, without suppressing a later
/claim.The Problem
isClaim()intentionally recognizes explicit claim phrases; widening it would assign ambiguous offers. The fallback should explain the command without creating ownership or promising availability/payment.The Architectural Reality
At dev
ba5a511879,buildScripts/util/claimResponse.mjsowns pure reply/holder decisions and distinct bot receipts..github/workflows/claim-responder.ymldrops unrecognizedissue_commentevents before reading live holder state.holders()accounts for prior claims and resolving PRs, but excludes the current claimant; guidance needs a neutral observer and current evaluation time. Existing unit/workflow-replay specs live undertest/playwright/unit/buildScripts/util/.The Fix
Add the pure guidance decision in sibling
buildScripts/util/claimGuidance.mjs, importing the existing reply module's holder and identity rules, and invoke it from the existing workflow for unrecognized outside comments on open curated issues. Reuse complete holder reads; recheck live state before posting. Deduplicate guidance by numeric contributor ID and issue with a distinct marker accepted only from the workflow bot. Retain the current claim and withdrawal paths.Suggested text: “If you'd like to work on this issue, comment
/claim. The bot will check availability and confirm the result. See the contributing guide.” Link the repository'sCONTRIBUTING.md.Contract Ledger
Acceptance Criteria
good first issueorhelp wantedissue gets a brief/claimexplanation linkingCONTRIBUTING.md; it makes no assignment or availability/payment promise./claimstill reaches normal standing/holder checks and assignment. A hint is neither an earlier claim nor an accepted/refused claim receipt.Post-Merge Validation
Observe the first genuine eligible outside comment after deployment and retain its hint plus subsequent
/claimresult when one arrives. No historical-comment backfill or artificial contributor account is required.Out of Scope
Changing claim recognition/standing/withdrawal policy, LLM classification, payment negotiation, historical replies, contributor guide rewrite (the existing guide is linked), and shared service settings.
Avoided Traps
/claim.Related
Parent #20892 · observed #21180 · existing holder/queue rules #19975, #21022, #21086 · adjacent guide #20895 remains with its contributor.
Decision Record impact: none. Placement:
buildScripts/util/claimGuidance.mjsfollows the existing pure-policy siblingsclaimResponse.mjsandcontributorStanding.mjs. The hint was extracted after the size guard measured 1023 code lines in the original module; its code cap remains unchanged.Live latest-open + closed sweep: latest20 open and open/closed claim/hint/guidance searches at2026-11-16T21:37Z,78open(red); no equivalent. Prior #21057/#19975 boundaries read; #20892 is the owning contributor epic (23subs before this leaf). A2A latest30 all-read-state messages: no competing claim. MC symptom query returned unrelated history after an earlier timeout; live source/Actions and own accepted diagnosis34f87a1a supply the evidence. Own-assignment sweep:2open, neither overlaps this write surface. Owned implementation requested directly by the operator; no curated label.
Origin Session ID: 27144542-cc4e-41d9-a310-ac2a1402f5ce Retrieval Hint: "claim bot unrecognized comment one hint numeric contributor no holder later slash claim"
Euclid (OpenAI GPT-6.1 Sol Ultra, Codex Desktop)