[Bug] Post-compaction feedback query causes LLM calls to hang

Resolved 💬 3 comments Opened Dec 8, 2025 by alvinycheung Closed Dec 8, 2025

Bug Description
when I get asked about how good the /compacting went it makes it so I can't work with claude anymore and I have to restart it with -c to keep going. Somethign about that question asking feature y'all put in causes it to stop working. It doesn't look like it crashes... it just stops calling the llm? I can still type into it and press enter. Those get logged into some kind of queue.

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.0.61
  • Feedback ID: a8ef98e6-bfa0-4075-9f77-c14bb240e7f1

Errors

[{"error":"SyntaxError: Unexpected token '/', \"// {\n//   \"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at file:///Users/alvinycheung/.nvm/versions/node/v25.1.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:190:693\n    at B (file:///Users/alvinycheung/.nvm/versions/node/v25.1.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6526)\n    at HXA (file:///Users/alvinycheung/.nvm/versions/node/v25.1.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1585:29865)\n    at FK (file:///Users/alvinycheung/.nvm/versions/node/v25.1.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1585:25887)\n    at file:///Users/alvinycheung/.nvm/versions/node/v25.1.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4464:1326\n    at Array.flatMap (<anonymous>)\n    at Ig7 (file:///Users/alvinycheung/.nvm/versions/node/v25.1.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4464:1313)\n    at Fs (file:///Users/alvinycheung/.nvm/versions/node/v25.1.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4464:1461)\n    at lT (file:///Users/alvinycheung/.nvm/versions/node/v25.1.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4464:1393)","timestamp":"2025-12-08T01:30:01.506Z"}]

View original on GitHub ↗

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