[Bug] Claude loses tool awareness and attempts nonsensical tools on private repositories
Resolved 💬 3 comments Opened Apr 6, 2026 by adamcongdon Closed Apr 10, 2026
Bug Description
claude suddenly 'forgets' it can use 'gh' to view github actions logs. Starts trying to use playwrights and fails because my repo is private
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.87
- Feedback ID: 8c5127fb-617d-4a6c-b2d2-84e5b620ada2
Errors
[{"error":"MaxFileReadTokenExceededError: File content (10883 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T14:34:22.500Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/adam.congdon/code/veeam-vhc-aws/src/VeeamVhcAws/Core/Models'\n at PwH (/$bunfs/root/src/entrypoints/cli.js:4277:9325)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T14:41:52.891Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗