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
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"
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@d5530ef461throughbuildScripts/util/claimResponse.mjs:isClaimisWithdrawalI’d like to work on this issue.(U+2019)I'd like to work on this issue.(ASCII)I‘d …(U+2018),Iʼd …(U+02BC),I´d …(U+00B4)I’m working on this,I’ll take this(U+2019)Sorry, I can’t work on this anymore(U+2019)Sorry, I can't work on this anymore(ASCII)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
i'?d,i'?m,i'?ll,can'?t,won'?t(WITHDRAWAL_PATTERNSatclaimResponse.mjs:76,CLAIM_PATTERNSat:83).isClaimandisWithdrawalboth read the body throughclaimText()(:101), the one place a comment is prepared for matching. The workflow's own check (.github/workflows/claim-responder.yml:399) goes throughisClaimas well.isClaim's JSDoc, "Whether a comment asks to work on the issue.", andisWithdrawal'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
isClaimis true forI’d like to take this.,I’m working on thisandI’ll take this, and for theI’dsentence spelled with each of ‘ ʼ ´.isWithdrawalis true forSorry, I can’t work on this anymoreandI won’t continue with this.I don’t want to work on this, just a note.and a fenced block holdingI’d like to work on thisstay false.devwithout the fold (red-proof, run alone) and passes with it; the unit suite passes.Out of Scope
isClaimand reruns once this lands.Avoided Traps
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.isClaimonly:isWithdrawalwould 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"