Key points
- A security issue in zstd-compressed response decoding has been fixed.
- Subagents on different models no longer incorrectly use the main session's model for file reads.
- Sessions on third-party gateways no longer stop with context length errors on every turn.
This update also resolves multiple issues affecting subagent model sizing, session stability on third-party gateways, and error handling in various development environments.
The announcement
The release notes state that a security issue in zstd-compressed response decoding has been fixed. Additionally, the update adds a spinner tip in VS Code for re-running notebook cells and provides clearer error messages when organization policies block requests.
The context
Developers using Claude Code encountered issues where subagents with their own models were incorrectly moved to the plan-mode model when using opusplan or haiku settings. Sessions on many third-party gateways and Foundry were also stopping with context length errors on every turn instead of compacting.
The practical upshot
Users will see improved stability when resuming sessions after an unclean exit, as recent turns will no longer go missing. Shell commands that previously ran in the launch directory after the working directory was deleted now fail with a message and can be re-issued.
Methods and limits
It also does not specify which third-party gateways were affected by the context length errors. The release notes describe behavioral changes but do not explain the underlying causes of the bugs.
Why it matters
- AI application developers using zstd-compressed responses can now rely on the fixed decoding process, reducing potential security risks.
- Teams using subagents with different models will see more accurate behavior, as file reads and MCP results will no longer be incorrectly sized with the main session's model.
- Users on third-party gateways and Foundry will experience fewer interruptions, as sessions will now compact correctly instead of stopping with context length errors.
- Developers working with bare repositories or Android repo checkouts will find that inline git commands no longer stop with errors in worktrees.
Topics: Claude Code, Anthropic, security, subagents, zstd
Updated
Then / now / next
Subagents on different models incorrectly used the main session's model for file reads.
Subagents on different models correctly handle file reads and MCP results.
Monitor for future releases that may address additional security or stability issues.
Story timeline
- Then Subagents on different models incorrectly used the main session's model for file reads.
- 13 Nov 2026 v2.1.325
- Now Subagents on different models correctly handle file reads and MCP results.
- Next Monitor for future releases that may address additional security or stability issues.
Did this article give you the evidence you needed?
Your choice stays on this device. No public tally.Questions readers ask
What security issue was fixed in Claude Code v2.1.325?
A security issue in how zstd-compressed responses are decoded has been fixed.
How does this update affect subagents?
Subagents with their own model are no longer moved to the plan-mode model when the model setting is opusplan or haiku, and file reads are no longer incorrectly sized with the main session's model.
What happened to sessions on third-party gateways?
Sessions on many third-party gateways and Foundry no longer stop with a context length error on every turn; they now compact correctly.
Connected stories
Reading receipt
- A security issue in zstd-compressed response decoding has been fixed.
- Subagents on different models no longer incorrectly use the main session's model for file reads.
- Sessions on third-party gateways no longer stop with context length errors on every turn.
Still open: What is the specific nature of the zstd decoding vulnerability?
Still open: Which third-party gateways were affected by the context length errors?
