[Bug] Claude model generating incorrect code in extended sessions
Resolved 💬 2 comments Opened Apr 15, 2026 by eknuth Closed May 24, 2026
Bug Description
model has been making dumb mistakes in the last 12+hours\
I asked to create a skill, it created a command.
I asked to create one more skill, it created .claude/skills/<skillName>.md wrong naming convention instead of <skillName>/SKILL.md
Asked it to organize my obsidian, it recommended my folder should be "Research" instead of "research" . It moved all content to "Research" folder and deleted "research" . since it is same folder on Mac, it just deleted my folder. Luckily I noticed and asked it to restore in same session.
My confidence on claude is really shaken in last 12 hrs...
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.1.109
- Feedback ID: 82704baa-3215-452e-8b37-e71eb1e879db
Errors
[{"error":"McpToolCallError: {\"name\":\"APIResponseError\",\"code\":\"validation_error\",\"status\":400,\"headers\":{},\"body\":\"{\\\"object\\\":\\\"error\\\",\\\"status\\\":400,\\\"code\\\":\\\"validation_error\\\",\\\"message\\\":\\\"Failed to execute query: Something went wrong. (429)\\\",\\\"request_id\\\":\\\"d594b9ba-7fb4-49da-90a7-eddf01927f62\\\"}\",\"request_id\":\"d594b9ba-7fb4-49da-90a7-eddf01927f62\"}\n at xh9 (/$bunfs/root/src/entrypoints/cli.js:1772:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:20:08.463Z"},{"error":"MaxFileReadTokenExceededError: File content (60285 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 tw7 (/$bunfs/root/src/entrypoints/cli.js:4535:12021)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:24:05.638Z"},{"error":"MaxFileReadTokenExceededError: File content (60285 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 tw7 (/$bunfs/root/src/entrypoints/cli.js:4535:12021)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:24:09.611Z"},{"error":"Error: Request was aborted.\n at JC_ (/$bunfs/root/src/entrypoints/cli.js:1290:12508)\n at next (native:1:11)\n at Dp7 (/$bunfs/root/src/entrypoints/cli.js:8032:9307)\n at next (native:1:11)\n at Pp7 (/$bunfs/root/src/entrypoints/cli.js:8037:12450)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:35:51.253Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:35:54.177Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗