What
Thinking blocks are the model's earlier reasoning, which Claude Code sends back with later requests. When the service refuses a request (with error 400 or 422) and that request includes thinking or redacted_thinking blocks, Claude Code now runs a probe:
- It can repeat the request, then repeat it again with the thinking blocks removed.
- It remembers which models accept replayed thinking.
- It can show a hint to start a new session.
- The probe is on by default. Setting
CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBEturns it off. - The probe is also reported in usage reporting, and the existing handling of
max_tokensrefusals was moved into a separate helper.
Separately, the sandbox (the boundary that limits what commands can touch) now protects AppData/Roaming/Anthropic.
Why
A conversation that would otherwise fail on old thinking blocks can recover, and you may see a suggestion to start a new session. On Windows, one more Anthropic configuration folder is shielded from commands.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Fixed sessions stuck behind a gateway that rewrites API errors: an unknown 400 or 422 is silently resent, then without earlier thinking…