[Bug] Auto-Compact Triggering Excessively with Minimal Changes

Resolved 💬 11 comments Opened Oct 12, 2025 by mattgodbolt Closed Oct 17, 2025

Bug Description
Claude is in a loop continuously compacting over and over again after only a very small number of changes.

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.0.14
  • Feedback ID: 5dc7e978-f983-435b-bc2f-59f1b516fba6

Errors

[{"error":"Error: Request was aborted.\n    at nc._createMessage (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:432:4515)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-12T16:48:23.725Z"},{"error":"Error: Failed to get summary response from streaming\n    at bg1 (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1694:1087)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async GZB (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:7044)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:55419)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)\n    at async wZ (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2713:33255)\n    at async d7 (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2713:34138)\n    at async _s1 (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2707:2851)\n    at async file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2713:30586","timestamp":"2025-10-12T16:48:23.730Z"},{"error":"Error: Request was aborted.\n    at yD1 (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:39698)\n    at yD1.next (<anonymous>)\n    at KwQ (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3209:15199)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3209:13417\n    at async sl0 (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3209:4415)\n    at async wB1 (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3209:13387)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:56105)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)","timestamp":"2025-10-12T16:48:23.742Z"},{"error":"Error: Request was aborted.\n    at nc._createMessage (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:432:4515)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-12T16:56:38.625Z"},{"error":"Error: Failed to get summary response from streaming\n    at bg1 (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1694:1087)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async GZB (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:7044)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:55419)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)\n    at async KP (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:58597)\n    at async wZ (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2713:33255)","timestamp":"2025-10-12T16:56:38.630Z"},{"error":"Error: Request was aborted.\n    at yD1 (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2492:39698)\n    at yD1.next (<anonymous>)\n    at KwQ (file:///home/matthew/.local/share/nvm/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3209:15199)\n    a

Note: Error logs were truncated.

View original on GitHub ↗

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