Skip to content

feat(engine): add file-role hints and suppress low-signal test fixture noise#24

Merged
jcouture merged 1 commit into
mainfrom
feat/file-role-classification
Apr 30, 2026
Merged

feat(engine): add file-role hints and suppress low-signal test fixture noise#24
jcouture merged 1 commit into
mainfrom
feat/file-role-classification

Conversation

@jcouture
Copy link
Copy Markdown
Owner

Summary

  • Introduces conservative file-role classification (locale_data, test_fixture,
    build_release) based on path/filename conventions
  • Suppresses low-signal invisible-character findings in ordinary test source when
    they appear in benign contexts (strings, comments, whitespace, prose) with no nearby
    decode/exec markers
  • Downgrade isolated invisible characters in locale data files to LOW severity
  • Hardens build/release and shell-sensitive contexts against false suppression —
    bidi controls, payloads, correlations, long runs, and testdata fixtures are never
    softened
  • Refactors hasNearbyDecoderMarker into a reusable boolean helper with
    configurable distance

  - introduce file-role classification (locale_data, test_fixture, build_release)
  - suppress low-signal invisible findings in benign test fixture contexts
  - guard suppression against decode markers, token regions, and build contexts
  - extract hasNearbyDecoderMarker helper from decoder proximity logic
  - update README severity docs to describe file-role input
@jcouture jcouture merged commit 0ae7720 into main Apr 30, 2026
1 check passed
@jcouture jcouture deleted the feat/file-role-classification branch April 30, 2026 01:40
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