fix(typos-format): gate --write-changes on extension allowlist - #2653
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Claude finished @kyle-sexton's task in 1m 45s —— View job Security review (
|
|
Last security-reviewed head: |
|
Claude finished @kyle-sexton's task in 1m 2s —— View job Security review
No security issues found. This PR narrows an existing write path rather than expanding one: Checked for:
No logic flaws, trust-boundary gaps, or supply-chain concerns identified in the diff. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4ecf88e304
ℹ️ 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".
4ecf88e to
5ed7f21
Compare
|
Claude finished @kyle-sexton's task in 7m 43s —— View job Code review complete
SummaryReviewed the diff ( One blocking finding, posted inline on typos-format.sh#L242: The allowlist's I could not run |
5ed7f21 to
3726fe8
Compare
Deny unknown extensions and known lockfile basenames under write mode so fixtures and generated dependency graphs stay report-only. Version 0.6.16. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
3726fe8 to
989e6f7
Compare
|
Claude has reviewed this PR 3 times. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
|
Claude finished @cursor[bot]'s task in 4m 38s —— View job Code review (
|
Put *.edn on its own case arm with spellchecker:disable-line so hygiene typos does not flag the Clojure/EDN extension. Lockfile basename deny for write mode was already on tip. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
Hygiene typos flags both `edn` and `EDN`; describe the Clojure data-notation extension without spelling that token. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
Distinguish lockfile basename, extensionless, and extension-allowlist denies so report-only messaging matches the gate that fired. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @cursor[bot]'s task in 5m 12s —— View job Code review (
|
Closes #2650
Summary
Gates opt-in
--write-changeson an explicit source/prose/config extension allowlist so unknown extensions, extensionless paths, and fixture/lock-adjacent types stay report-only even whentypos_format_write_changesis true.Fix
typos_write_ext_allowedallowlist gate before--write-changes.snap/ extensionless deny and.mdallowtypos-formatto0.6.16with CHANGELOG + READMEVerification
Related
Refs the silent
--write-changestool behavior documented in the hook comments.