Skip to content

fix: ignore X-only redaction placeholders (PRO-8000) - #5

Merged
jonwiggins merged 1 commit into
mainfrom
jon/pro-8000-ignore-x-only-redaction-placeholders-in
Nov 20, 2026
Merged

jonwiggins merged 1 commit into
mainfrom
jon/pro-8000-ignore-x-only-redaction-placeholders-in

Conversation

@jonwiggins

Copy link
Copy Markdown
Member

Closes PRO-8000

Overview

Context Repeated X placeholders under black covers appear as recovered-text failures, although the original text was replaced.
Scope Filter placeholder-only recovered text during per-page PDF analysis.
Refactors None.
Dependencies None.
Infra PR Not needed. The change runs in the existing browser analyzer.

Changes

  • Ignore repeated X characters and REDACTED labels, including square brackets, mixed case and whitespace between X characters.
  • Keep alerts for mixed content and a single X. Apply the filter before findings are grouped.

Proof

  • Expanded synthetic regression coverage in tests/checks.test.ts for placeholders and nearby substantive text.

Pictures

No layout changes. Placeholder-only findings no longer appear in results.

@jonwiggins
jonwiggins merged commit fcaaf04 into main Nov 20, 2026
2 checks passed
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