[Bug] Compact Command Reuse Causes Context Overflow
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
Found 2 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/2038
- 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
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
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.