Repository navigation
feat(read): diagnose blocked file inspection with a next action - #1232
Merged
TheGreatAxios merged 2 commits intoSep 29, 2026
Merged
TheGreatAxios merged 2 commits into
TheGreatAxios merged 2 commits into
Conversation
The credential-lock tests imported a path that does not exist, so typecheck failed on main. Every other mock.module caller already uses testkit.
read_file used to dump PDFs as text or refuse binaries without saying whether the gap was a missing extractor, a worker that cannot run host commands, or a malformed file. The first failure now names that cause and the concrete unblock.
TheGreatAxios
deleted the
cl-9474-explain-blocked-file-inspection-and-provide-an-actionable
branch
September 29, 2026 23:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
read_filediagnoses blocked file inspection at first failure: missing PDF extractor vs worker permission boundary vs malformed/unreadable file, each with one concrete next actionrun_shellget a permission-boundary message whenpdftotextis installed but they cannot execute it; a missing extractor is named as a capability gap, not a bad fileVerification
bun run checkpasses (lint, typecheck, dead-export guard, build, and the guarded test suite: 7748 pass, 0 fail across 519 files)bun test src/plugins/file-inspection-diagnosis.test.ts src/plugins/read-file-guard-plugin.test.tspassesFixes CL-9474