LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtOct 21, 2026, 10:57 PM
updatedAtOct 22, 2026, 12:40 AM
githubUrlhttps://github.com/neomjs/neo/issues/19971
authorneo-gemini-julia
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 22, 2026, 12:40 AM

claimResponse.mjs misses participle-lead and #N contributor claims

Closed v13.3.1/archive-v13-3-1-chunk-1 bugcontributor-experienceaitestingbuild
neo-gemini-julia
neo-gemini-julia commented on Oct 21, 2026, 10:57 PM

Context

On 2026-10-20 and 2026-10-21, seven outside-contributor claim comments on curated (good first issue / help wanted) issues were skipped by .github/workflows/claim-responder.yml with No reply: not a claim, the assignee, or a claimant already answered here:

  1. #19920#issuecomment-6296369622 (@bercedev, 2026-10-20T16:56:33Z): "I'll take the \examples/layout/form` row: the leftover `child` in `src/layout/Form.mjs`'s `applyChildAttributes`, with a unit test."`
  2. #19920#issuecomment-6296509810 (@bercedev, 2026-10-20T17:03:37Z): "I'll also take the \examples/component/wrapper/openStreetMaps` row, as a separate PR: ..."`
  3. #19920#issuecomment-6296901777 (@kaushlendra-pt-singh, 2026-10-20T17:23:54Z): "Dude i am taking the examples/calendar/weekview row for now."
  4. #19930#issuecomment-6310572490 (@kaushlendra-pt-singh, 2026-10-21T07:30:22Z, run 39562455909): "Claiming #19930. Working on the calendar/weekview fix."
  5. #19931#issuecomment-6310933510 (@Uddoo, 2026-10-21T07:52:16Z, run 39565052832): "I'm starting work on #19931: reproduce the selector-container failure, keep day-view initialization safe while its bound formatter is unavailable, and verify the regression in the unit tier and the rendered example."
  6. #19933#issuecomment-6312930496 (@bercedev, 2026-10-21T09:43:35Z, run 39579184611): "Claiming #19933. Working on the popover fix in \afterSetIsVnodeInitializing`."`
  7. #19952#issuecomment-6316099350 (@Jah-yee, 2026-10-21T12:38:31Z, run 39601227881): "Claiming this one, so nobody duplicates the work."

The Problem

isClaim(body) in buildScripts/util/claimResponse.mjs drives both:

  1. decideReply() (:293) — whether the new claimant receives the welcome / already-taken reply; and
  2. earlierClaim() (:169) — whether an unassigned earlier contributor claim holds the issue (asked first) against later claimants for CLAIM_WINDOW_DAYS.

Because CLAIM_PATTERNS (:49-58) currently requires:

  • a leading pronoun on action verbs (/\b(i'?ll|i will|let me)\s+(take|work\s+on|pick\s+up|handle|tackle|claim)\s+(this|it)\b/i without (also\s+)? and without the ... row or #\d+ targets), and
  • only i'm + working on + (this|it) on progressive verbs (/\bi'?m\s+(already\s+)?working\s+on\s+(this|it)\b/i),

it returns false on:

  • clause-leading participle claims ("Claiming #19930...", "Claiming this one...", "Taking #19933...", "Picking up this issue...");
  • progressive first-person claims ("I am taking the ... row", "I'm starting work on #19931...", "I'm claiming this", "I'm picking up #19930");
  • future/modal claims that include also or target #\d+ / the ... row ("I'll take the \examples/layout/form` row", "I'll also take the `examples/component/wrapper/openStreetMaps` row", "I'll take #19930"`).

When isClaim() misses a real claim, the contributor gets no confirmation reply and a subsequent claimant within the 7-day window is falsely told "You're first in line".

The Architectural Reality

  • buildScripts/util/claimResponse.mjs:49-58 defines CLAIM_PATTERNS and isClaim(body) (:80-84).
  • test/playwright/unit/buildScripts/util/claimResponse.spec.mjs:39-72 tests isClaim against positive fixtures and negative controls, specifically assigneeThanks (:42, "Thanks! I appreciate the assignment and the detailed setup instructions. I'll follow the steps, write the regression test, and work on the fix. I'll ask here if I run into any issues.") and questions/refusals/notes.
  • Design authority: buildScripts/util/claimResponse.mjs:75-76 ("Whether a comment asks to work on the issue. A question, thanks or a note about something else is not a claim, and gets no reply: answering every comment would amplify exactly the noise a quiet issue should not carry.") and #19202.

The Fix

Define a shared CLAIM_TARGET = String.raw\(this|it|#\d+|the\s[^\n]{1,80}?\brow\b)`inbuildScripts/util/claimResponse.mjsand updateCLAIM_PATTERNS` so that:

  1. Future/imperative first-person claims (\b(i'?ll|i will|let me)\s+(also\s+)?(take|work\s+on|pick\s+up|handle|tackle|claim)\s+${CLAIM_TARGET}) match optional also and CLAIM_TARGET (this, it, #\d+, or the ... row), without matching assigneeThanks or ordinary notes ("I'll take the feedback into account.").
  2. Progressive first-person claims (\b(i'?m|i am)\s+(already\s+|also\s+)?(working\s+on|starting\s+work\s+on|taking|claiming|picking\s+up|tackling|handling)\s+${CLAIM_TARGET}) match both I'm and I am, progressive claim verbs (working on, starting work on, taking, claiming, picking up, tackling, handling), and CLAIM_TARGET, without matching repro reports ("I'm starting the dev server...").
  3. Clause-initial participle claims ((?:^|[.!?\n]\s*)(claiming|taking|picking\s+up)\s+${CLAIM_TARGET}) match sentence/line-leading "Claiming <a href="#/news/tickets/19930">#19930</a>", "Claiming this one", "Taking <a href="#/news/tickets/19933">#19933</a>", "Picking up this issue", without matching mid-sentence questions ("Is anyone claiming this?") or notes ("Taking the example from the docs...").
  4. Add all seven real 2026-10-20 / 2026-10-21 contributor claim comments and negative controls (mid-sentence questions, repro reports, thank-you notes, and status notes) to test/playwright/unit/buildScripts/util/claimResponse.spec.mjs.

Contract Ledger

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
isClaim(body) / CLAIM_PATTERNS in buildScripts/util/claimResponse.mjs buildScripts/util/claimResponse.mjs:75-76, #19202 Recognizes clause-initial participle claims (Claiming/Taking/Picking up), progressive I'm/I am claims (working on/starting work on/taking/claiming/picking up/tackling/handling), and I'll (also) claims targeting CLAIM_TARGET ((this|it|#\d+|the\s[^\n]{1,80}?\brow\b)), while keeping assigneeThanks, questions, refusals, repro reports, notes, and quoted/fenced text false false (no reply) buildScripts/util/claimResponse.mjs JSDoc test/playwright/unit/buildScripts/util/claimResponse.spec.mjs [L2]

Decision Record impact

none — bug fix in buildScripts/util/claimResponse.mjs preserving the #19202 / #19413 pure-function responder contract.

Acceptance Criteria

  • AC-1: isClaim() returns true for all seven real outside-contributor claims from #19920, #19930, #19931, #19933, and #19952, and earlierClaim() / decideReply() treat them as valid claims and holds.
  • AC-2: isClaim() continues to return false for assigneeThanks, questions ("Is this still available?", "Is anyone claiming this?", "Are you taking <a href="#/news/tickets/19930">#19930</a>?"), refusals, repro reports/notes ("I'm starting the dev server...", "I'll take the feedback into account."), and fenced code blocks.
  • AC-3: npm run test-unit -- test/playwright/unit/buildScripts/util/claimResponse.spec.mjs passes with new regression arms covering the seven real comments and negative controls.

Out of Scope

  • Changing .github/workflows/claim-responder.yml permissions or trigger conditions.
  • Auto-assigning issues without maintainer confirmation.

Avoided Traps

  • Matching bare working on, claiming, starting, or the\b without a scoped work-item target (CLAIM_TARGET), which would false-positive on questions ("Is anyone claiming this?"), repro reports ("I'm starting the dev server..."), or thank-you notes ("I'll take the feedback into account.").

Related

  • #19202, #19211, #19413, #19414
  • #19920, #19930, #19931, #19933, #19952

Live latest-open sweep: checked latest 20 open issues in neomjs/neo (sort: 'created') at 2026-10-21T20:56:47Z; no equivalent found. A2A claim sweep: checked latest 30 messages (status: 'all') at 2026-10-21T20:56:50Z; no competing claim on claimResponse.mjs. MC sweep: claimResponse isClaim CLAIM_PATTERNS claim-responder.yml outside contributor claim comment, 10 results, no prior decision against this fix. Own-assignment sweep: 0 open in neomjs/neo, none overlapping. Structure map: N/A (neomjs/neo build utility in buildScripts/util/claimResponse.mjs).

Retrieval Hint: "claimResponse.mjs isClaim CLAIM_PATTERNS participle Claiming #19930 starting work on #19931" Origin Session ID: fd51794e-dcdf-4240-a11c-75e32cb5e357

tobiu referenced in commit 08ec90e - "fix(build): recognize participle-lead and #N contributor claims (#19971) (#19972) on Oct 22, 2026, 12:40 AM
tobiu closed this issue on Oct 22, 2026, 12:40 AM