[Bug] Agentic Code Generation Fails: Incorrect File Handling and Context Retrieval
Resolved 💬 3 comments Opened Sep 15, 2025 by taylorsatula Closed Sep 19, 2025
Bug Description
Lobotomy Claude is back. It hunted around the codebase looking for code that was right in front of it. It guessed on insertion points for new code. It tried writing to files it hadn't read yet. It got tool errors repeatedly until it finally read the file. I feel like I'm using quant2 Haiku.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.113
- Feedback ID: f72fb25f-d15a-46ba-b188-02b71b19b798
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at uV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:1184)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:2176\n at Array.map (<anonymous>)\n at uV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:2147)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:2063\n at Array.map (<anonymous>)\n at uV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:2052)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:912\n at Array.map (<anonymous>)\n at EX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:903)","timestamp":"2025-09-15T17:52:27.213Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at uV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:1184)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:2176\n at Array.map (<anonymous>)\n at uV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:2147)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:2063\n at Array.map (<anonymous>)\n at uV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:2052)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:912\n at Array.map (<anonymous>)\n at EX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1770:903)","timestamp":"2025-09-15T17:52:27.566Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗