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

[Bug] Compact Command Reuse Causes Context Overflow

Open t0r0id opened this issue 1 year ago • 3 comments

Bug Description If the compact command is used more than once in the same session, it uses the context from before the previous compact operation, which can cause a context overflow error.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.109
  • Feedback ID: 05ac2aab-b3b0-4ee5-9c61-4f8054f10ea3
Image

t0r0id avatar Sep 09 '25 11:09 t0r0id

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/2038
  2. https://github.com/anthropics/claude-code/issues/6434

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 09 '25 11:09 github-actions[bot]

This issue has been automatically closed as a duplicate of #2038.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Sep 13 '25 09:09 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 Sep 20 '25 14:09 github-actions[bot]