Claude Code v2.1.337 ·
Restoring the main agent on resume handles added system prompts
When a session is resumed, Claude Code now strips an agent's added system prompt before re-applying it and handles a given-up agent
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ResumeArea: what it touches
Bug FixesKind: in v2.1.337,
Bug FixesSection of the release
What
When you resume a session that was running as a particular agent, Claude Code restores that agent. The restore step now:
- removes any system prompt (the standing instructions given to the model) that had been appended for the agent, then applies it again
- compares system prompts as plain text
- accepts an option marking the agent as given up
Why
This may stop agent instructions from being duplicated or left stale after resuming.
See this entry in the whole of v2.1.337 →