fix: preserve product and operating system names - #57
Conversation
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f2694a3370
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| 'Arch Linux', | ||
| 'Babel', | ||
| 'Baseline', | ||
| 'Claude Code', |
There was a problem hiding this comment.
Scope multiword matches to the current occurrence
When a heading contains Claude Code, isTerm treats every Code token on that line as protected because it only checks whether the complete term occurs anywhere in the line. Consequently, formatLine('# Claude Code and Writing Code') produces # Claude Code and writing Code instead of lowercasing the unrelated final word. Adding this entry therefore regresses headings that mention the product alongside generic code; multiword-term matching should be tied to the current token occurrence.
Useful? React with 👍 / 👎.
Headings currently lowercase parts of GitHub Copilot, Claude Code, Codex, Debian, and Arch Linux. Add these names and standalone Linux to the dictionary to preserve their capitalization.
Found while formatting rstackjs/agent-skills#123.