claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

This is constantly compacting and I cannot use it. I type one extra line press return, and it compacts again.

Open fwends opened this issue 1 year ago • 9 comments

Bug Description not usable on constant compact now i put a few lines in and it compacks again ✢ Compacting conversation… (esc to interrupt · 8s · ↓ 172 tokens)

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.112
  • Feedback ID: 224cab2d-85c0-4dc2-bad1-6f3549c07a4c

Errors

[{"error":"Error: Invalid settings\n    at UU9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:24387)\n    at v$A (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:25115)\n    at qU9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:26923)\n    at xk (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:27307)\n    at q2 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:27239)\n    at gqB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3533:14967)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3544:291\n    at Q (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:713:13288)\n    at Ii5 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3682:1090)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3722:1450","timestamp":"2025-09-12T14:19:23.591Z"},{"error":"Error: Invalid settings\n    at UU9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:24387)\n    at v$A (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:25115)\n    at qU9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:26923)\n    at xk (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:27307)\n    at q2 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:27239)\n    at gqB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3533:14967)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3544:291\n    at Q (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:713:13288)\n    at Ii5 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3682:1090)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3722:1450","timestamp":"2025-09-12T14:19:23.602Z"},{"error":"Error: Invalid settings\n    at UU9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:24387)\n    at v$A (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:25115)\n    at o8 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:25887)\n    at Ya (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:770:1521)\n    at aCA (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:770:1076)\n    at Zi5 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3679:15433)\n    at Xi5 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3683:34)\n    at Ii5 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3682:1157)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3722:1450","timestamp":"2025-09-12T14:19:23.695Z"},{"error":"Error: Invalid settings\n    at UU9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:24387)\n    at v$A (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:25115)\n    at o8 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:25887)\n    at Ya (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:770:1521)\n    at aCA (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:770:1206)\n    at Zi5 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3679:15433)\n    at Xi5 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3683:34)\n    at Ii5 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3682:1157)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3722:1450","timestamp":"2025-09-12T14:19:23.696Z"},{"error":"Error: Invalid settings\n    at UU9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:24387)\n    at v$A (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:25115)\n    at o8 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:784:25887)\n    at Ya (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:770:1521)\n    at UC1

Note: Error logs were truncated.

fwends avatar Sep 15 '25 04:09 fwends

Again, I find myself in a position with your company where you have changed something and made it unusual. We're now going on for nearly 8 weeks of your changes and gimmicks which are completely broken Claude code, obviously on purpose because people are using too many tokens or whatever it is, but now it is totally not usable after entering a couple of extra lines and press and return it compacts you do the same again it compact again it is constantly compacting and not doing any coding. This is absolutely disgraceful. This product is just so bad.

fwends avatar Sep 15 '25 04:09 fwends

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/7615
  2. https://github.com/anthropics/claude-code/issues/6315
  3. https://github.com/anthropics/claude-code/issues/3288

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Sep 15 '25 04:09 github-actions[bot]

I am having the same issue CONSTANTLY

liluti avatar Sep 15 '25 13:09 liluti

i have been watching and it appears i am getting compacted every 15 minutes for up to 5-7 minutes at a time, making a complete mess of my time using CC. It is ridiculous and even when running two instances of CC I was seeing the same schedule!

FlowTether avatar Sep 25 '25 06:09 FlowTether

same

CC compacting at every prompt even on a new chat

louis030195 avatar Oct 20 '25 16:10 louis030195

i found the issue

claude code MCP client has very poor context engineering implementation

i had 5 MCP servers which it looks like they load the full instructions in the system prompt at all time

so turning off some MCP servers and the issue is gone

louis030195 avatar Oct 22 '25 23:10 louis030195

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 08 '25 10:12 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 11 '26 10:01 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Jan 19 '26 14:01 github-actions[bot]