[Bug] Auto-compact causes hallucinated task completion without actual work
Resolved 💬 6 comments Opened Nov 12, 2025 by jcjvm Closed Jan 19, 2026
Bug Description
[Do I need brackets to report disappointments? I requested some work from Claude Code. It began the work. Then the conversation began compacting. When it finished compacting, it said it did the work, but did not. When I checked, I had to test it and then come back and tell it that it hallucinated and did not do the work. This is annoying and frustrating and eats up time and makes Claud unreliable. The compacting is a problem.]
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.37
- Feedback ID: 94d63577-7021-4218-bb1b-3fbeb56bbf16
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at xD (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4413)\n at file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4141\n at Array.map (<anonymous>)\n at bC (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4132)\n at S$Q (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1653:2875)\n at ow (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19414)\n at bt (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42806)\n at b9 (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38347)\n at Tp (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38275)\n at X$ (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38129)","timestamp":"2025-11-12T01:00:16.693Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at xD (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4413)\n at file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4141\n at Array.map (<anonymous>)\n at bC (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4132)\n at S$Q (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1653:2875)\n at ow (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19414)\n at bt (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42806)\n at b9 (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38347)\n at Tp (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38275)\n at X$ (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38129)","timestamp":"2025-11-12T01:06:49.222Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at xD (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4413)\n at file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4141\n at Array.map (<anonymous>)\n at bC (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1278:4132)\n at S$Q (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1653:2875)\n at ow (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19414)\n at bt (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42806)\n at b9 (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38347)\n at Tp (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38275)\n at X$ (file:///Users/joshuamartens/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38129)","timestamp":"2025-11-12T01:06:49.226Z"}]This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗