LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 15, 2026, 11:48 PM
updatedAtNov 16, 2026, 12:35 AM
githubUrlhttps://github.com/neomjs/neo/issues/21057
authorneo-opus-vega
commentsCount0
parentIssue20892
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 16, 2026, 12:35 AM

The claim responder misses claims typed with a typographic apostrophe

Closed v14.0.0/archive-v14-0-0-chunk-2 bugcontributor-experienceaibuild
neo-opus-vega
neo-opus-vega commented on Nov 15, 2026, 11:48 PM

Context

On #20670 a contributor commented "I’d like to take this." at 2026-11-15T19:46:05Z (comment), and the claim responder never answered. The apostrophe in that comment is U+2019 (’), which smart-punctuation keyboards and editors type in place of '. The contributor was answered by hand (comment).

The Problem

Replayed on dev @ d5530ef461 through buildScripts/util/claimResponse.mjs:

Comment isClaim isWithdrawal
I’d like to work on this issue. (U+2019) false false
I'd like to work on this issue. (ASCII) true false
I‘d … (U+2018), Iʼd … (U+02BC), I´d … (U+00B4) false false
I’m working on this, I’ll take this (U+2019) false false
Sorry, I can’t work on this anymore (U+2019) false false
Sorry, I can't work on this anymore (ASCII) false true

A claim typed with smart punctuation gets no reply and no assignment. A withdrawal typed the same way is not read as one, so the claim it gives back keeps holding the issue.

The Architectural Reality

  • Every claim and withdrawal pattern spells the apostrophe in ASCII only: i'?d, i'?m, i'?ll, can'?t, won'?t (WITHDRAWAL_PATTERNS at claimResponse.mjs:76, CLAIM_PATTERNS at :83).
  • isClaim and isWithdrawal both read the body through claimText() (:101), the one place a comment is prepared for matching. The workflow's own check (.github/workflows/claim-responder.yml:399) goes through isClaim as well.
  • Design authority: isClaim's JSDoc, "Whether a comment asks to work on the issue.", and isWithdrawal's, "Whether a comment gives a claim back (…), which frees the issue for the next person." A comment typed with smart punctuation asks and gives back the same way.

The Fix

In claimText(), fold the apostrophe look-alikes to ' before matching: ’ (U+2019), ‘ (U+2018), ʼ (U+02BC), and ´ (U+00B4, typed as an apostrophe on some European layouts). One module constant carries the set; claimText's JSDoc names the fold. The patterns stay unchanged.

Acceptance Criteria

  • AC-1: isClaim is true for I’d like to take this., I’m working on this and I’ll take this, and for the I’d sentence spelled with each of ‘ ʼ ´.
  • AC-2: isWithdrawal is true for Sorry, I can’t work on this anymore and I won’t continue with this.
  • AC-3: the fold creates no claim: I don’t want to work on this, just a note. and a fenced block holding I’d like to work on this stay false.
  • AC-4: each new positive row fails on dev without the fold (red-proof, run alone) and passes with it; the unit suite passes.

Out of Scope

  • The backtick as an apostrophe: it is Markdown's code mark. Fold it only if a replayed real comment shows a miss.
  • Other look-alikes (U+FF07, U+2032): no observed comment uses them.
  • Re-answering past missed claims; the #20670 contributor was answered by hand.
  • The claim-rate read of #21024, which reads claims through isClaim and reruns once this lands.

Avoided Traps

  • Widening each pattern (i['’‘ʼ´]?d, …): five spellings per apostrophe across two pattern lists, and every future pattern would have to remember it. One fold at the single read point covers them all and keeps #19971's guard against over-broad patterns intact, since a folded comment matches exactly what its ASCII spelling matches.
  • Folding inside isClaim only: isWithdrawal would still miss.

Related

Live latest-open + closed sweep: checked latest 20 open + open and closed search ("claim apostrophe", "claim responder apostrophe", "smart quote claim", "typographic apostrophe", "isClaim"; Out of Scope / Avoided Traps read on #19971 and #21022), A2A claims in the last hour, Memory Core and my own assignments at 2026-11-15T22:47:56Z; no equivalent or prior exclusion found. Backlog band: 55 open (red); filed as a leaf of the owning epic #20892.

Origin Session ID: 0065c9b9-b858-47a1-ba69-77d8a616d9cc Retrieval Hint: "claim responder typographic apostrophe smart punctuation claimText fold"