Skip to content

fix: report skipped oversized and unreadable files during scan - #31

Merged
royalpinto007 merged 3 commits into
AgentPostmortem:mainfrom
sharadvc:cursor/warn-skipped-oversized-files-ba25
Sep 12, 2026
Merged

fix: report skipped oversized and unreadable files during scan#31
royalpinto007 merged 3 commits into
AgentPostmortem:mainfrom
sharadvc:cursor/warn-skipped-oversized-files-ba25

Conversation

@sharadvc

Copy link
Copy Markdown
Contributor

Summary

Files over 2 MB (and unreadable files) were skipped silently, so padded payloads could evade the scanner without a word. The scan now surfaces clear skip reporting for oversized/unreadable files, with a regression test.

Test plan

  • npm test

Fixes #4

Track files that exceed the 2 MB read limit or cannot be read, surface them
in text/JSON reports and stderr warnings, and fail the run so padded payloads
cannot look like a clean scan.

Fixes AgentPostmortem#4

Co-authored-by: Sharad. <sharadvc@users.noreply.github.com>
@royalpinto007
royalpinto007 merged commit a64d2b6 into AgentPostmortem:main Sep 12, 2026
1 check 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.

Files over 2 MB are skipped silently, so padding a payload evades the scanner without a word

3 participants