[Bug] Auto-Compact returns stale conversation state instead of current context
Status Closed — not planned
Reported on v2.1.7
Maintainer reply None cached
Activity 2 comments · opened Jan 14, 2026 · closed Feb 27, 2026
Bug Description
Have had a long sesh. built an app and then asked for a feature, then it compacted after i asked for this feature. while it was working on the feature (after it asked some questions about it) it compacted and then it returned the plan from the beginning of the session, to build the app - even though we already built the app and have moved on...
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.7
- Feedback ID: 4158fe1f-e00d-4146-9b1e-060a847f1b8e
Errors
[{"error":"Error: Request was aborted.\n at OBA._createMessage (file:///Users/goleary/.nvm/versions/node/v20.19.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:495:3157)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-01-14T05:59:54.065Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗