Why does your resumed Claude Code session still lose recent turns?
If Claude Code crashes or is killed mid-session, resuming could silently drop your most recent turns, losing context you relied on. The current release fixes resumed sessions so recent turns survive an unclean exit.
What it is
Claude Code persists conversation state so a session can be resumed later. This release fixes a bug where recent turns sometimes went missing from a resumed session after Claude Code stopped without a clean exit.
Applied case
You leave a long Claude Code session running and your terminal or machine dies, so the process exits uncleanly. When you resume, you previously risked the newest turns vanishing, meaning Claude would forget your latest edits and instructions. After updating, resuming the same crashed session keeps those turns intact, so you continue where you left off instead of re-explaining. The same release also stops sessions on third-party gateways and Foundry from failing with a context length error every turn instead of compacting, a related context-loss pain.
- Update before resuming a session that crashed, so recent turns are not dropped
When to use it
Use when you rely on resuming sessions after crashes, disconnects, or non-clean exits.
Skip when you always end sessions cleanly with exit and never resume old ones.
/rewindRead more
Recommended for you
- ContextClaude Code
Why does a long Claude Code session still burn your context?
Idle conversations over 200K tokens get summarized automatically in VS Code and Claude Desktop, but only when the prompt cache has expired.
- ContextClaude Code
Why is the MCP you connected invisible to your spawned agent?
MCPs you wire into your main session do not cross into spawned sub-agents. The agent reports Linear unavailable and invents its scope from prompt text.
- ContextOpencode
How do you free context room across models without counting tokens?
Hardcoding a token buffer breaks when you switch between models with small and large context windows, so one setting can never fit them all.
- ContextClaude Code
Why show your codebase to the agent instead of describing it?
You described your project in English. The agent produced generic code that matches none of it. Stop describing. Mention the file. Run the command.
Enjoyed this article?
Subscribe for new articles. No spam. Unsubscribe anytime.