[Bug] Inconsistent File Reading Behavior Breaks Comprehensive Code Analysis
Bug Description
Despite explicit instructions to read files completely before taking any action, Claude Code will honor this for the first few files and then default to partial file reads. This is a major issue as partial reads cause it to make assumptions (eg: see the import change from A -> B and assume they changed the relevant code in the file). It's 100% impossible to for it to always read files completely.
When actually performing complete file reads the results are very accurate, when performing partial reads the results are abysmal. Partial reads are next to useless and lead to inaccurate results.
The CLI tool needs to honor the requirement to perform complete file reads, not just say it will, do a few complete reads, then default to being lazy and going back to partial reads.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.94
- Feedback ID: 502984b8-7443-4969-bcc1-0510b15c5be7
Errors
[{"error":"Error: Request was aborted.\n at DP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:3864)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-08-27T22:00:14.049Z"},{"error":"Error: Request was aborted.\n at _71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-27T22:00:46.479Z"},{"error":"Error: Request was aborted.\n at DP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:3864)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-27T22:04:33.238Z"},{"error":"Error: Request was aborted.\n at _71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-08-27T22:10:08.789Z"},{"error":"Error: Request was aborted.\n at _71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-08-27T22:13:58.967Z"}]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗