[Bug] Auto-Compression Causes Context Loss and Language Reset to English

Resolved 💬 3 comments Opened Nov 8, 2025 by RickSouzaUS Closed Nov 11, 2025

Bug Description
(bug) After the conversation is compressed, Claude Code becomes much dumber, repeating things it has already
done and always returning to the default language (English), even if the conversation before compression was in another
language

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.28
  • Feedback ID: 3b2ae564-43e7-4129-8ba4-a540a568a985

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at wR (file:///C:/Users/ricar/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:24:1136)\n    at IncomingMessage.<anonymous> (file:///C:/Users/ricar/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:29:9845)\n    at IncomingMessage.emit (node:events:531:35)\n    at IncomingMessage.emit (node:domain:488:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at m3A.request (file:///C:/Users/ricar/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:31:2129)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async eh2 (file:///C:/Users/ricar/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3572:15125)","timestamp":"2025-11-08T04:00:22.035Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:490:14)\n    at Socket.emit (node:events:519:28)\n    at Socket.emit (node:domain:488:12)\n    at addChunk (node:internal/streams/readable:559:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n    at Readable.push (node:internal/streams/readable:390:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)","timestamp":"2025-11-08T04:00:23.260Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗