Repository navigation
docs(typos): name the extend-identifiers route for accepting a corrected word - #1133
Conversation
…ted word Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review needs no new review of |
|
PR body contract — issue linkage This PR body does not yet satisfy the issue-linkage contract:
Edit the body and this comment updates itself on the next run. |
|
claude-review reviewed Code review (incremental): docs(typos), limit the extend-identifiers route to whole identifiersThis was a blocking-only review: the lane already reviewed an earlier head ( Commit
This fixes my earlier advisory finding about the row overstating the reach of The new text fits how typos tokenizes:
The author says they ran typos 1.52.2 to check this. I could not confirm that, because this lane cannot run commands. There is no closing issue, so there are no acceptance criteria to check. Nothing in the PR context file reads as an instruction to this lane. Loosened checks: the prompt had no No prepaid-credit spend is involved and no hold class applies. Verifier dropped 0 of 0 candidates. |
An extend-identifiers entry is looked up with the whole identifier token; on a miss typos splits it into words, where the standards correction in extend-words wins. Name listing each compound identifier, or an extend-ignore-re pattern, as the routes that accept every form. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Follow-up to #1132 (its last commit was pushed after the merge). Owner decision Q295 (Z2 layering rule): owner-decisions.md L423, owner verbatim: "OK go w/ recommendations".
Summary
The typos mode table says a key this file sets keeps its value. That holds within
extend-words, but typos also has a native route for a repository to accept a word this file corrects: an[default.extend-identifiers]entry mapping the word to itself is matched before word corrections.Fix
components/typos/README.md, Partial override row: names theextend-identifiersroute.Verification
typos 1.52.2, this repository's
_typos.tomlpassed with-c, a file with one British spelling this file corrects:_typos.tomlwith the word under[default.extend-identifiers]mapped to itself: exit 0.[default.extend-words]in the repository file: exit 2 (this file's value wins), as the row already said.ci-workflows#1219 (merged) made the CI composite pass this file as the base, so this is the route a repository such as songwriting has if it wants to keep a word standards corrects.
Related
🤖 Generated with Claude Code