Skip to content

Clarify invisible-character scanner cleanup comment - #765

Open
coderabbitai[bot] wants to merge 4 commits into
mainfrom
coderabbit/improve-pr-function-docstrings/4b87c880
Open

Clarify invisible-character scanner cleanup comment#765
coderabbitai[bot] wants to merge 4 commits into
mainfrom
coderabbit/improve-pr-function-docstrings/4b87c880

Conversation

@coderabbitai

@coderabbitai coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Clarifies that the scanner cleanup function removes its temporary NUL-delimited enumeration file on exit. This diverges from the task title: no PR function docstrings were added. Validation was not run because the change is comment-only.

View coding task

hyperpolymath and others added 4 commits August 31, 2026 22:12
Replace the character-mode PCRE escapes (\xc2\xa0 asks for the two
characters U+00C2 U+00A0, never present in any file) with the canonical
byte-safe two-tier scanner from rsr-template-repo (rsr#49):
scripts/check-invisible-characters.sh matches UTF-8 byte sequences under
LC_ALL=C, so typographic invisibles (NBSP, soft hyphen, zero-width/bidi,
BOM) warn while C0/NUL corruption blocks, and scanner failure refuses a
partial pass instead of going green. tests/invisible-characters-test.sh
proves the detector against fixtures that MUST trip it — including a
leading BOM — and the workflow runs that proof before every scan.

Also fixes the seven NBSP-bearing docs the old gate never saw.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Important

Review skipped

This PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Essentials

Run ID: 91597013-3059-4494-9f2f-24a44bd1c95d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

Base automatically changed from fix/invisible-gate-canonical-scanner to main September 9, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant