# Claude Code 2.1.211: prompt-caching billing regression fixed on Bedrock/Vertex/Mantle/Foundry

> Fixes a caching regression that billed the trailing system context block as fresh input tokens on every request across Bedrock, Vertex, Mantle, and Foundry. Also adds subagent text forwarding to stream-json and moves "always allow" rules to the repository root so approvals survive worktree switches.

| | |
|---|---|
| **Tool** | Claude Code |
| **Version** | 2.1.211 |
| **Kind** | release |
| **Published** | 2026-07-15 |
| **Observed** | 2026-08-11 |
| **Significance** | 3/5 |
| **Breaking** | no |
| **Categories** | fix, pricing, feature, security |

## What changed


- Fixed a prompt-caching regression on Bedrock, Vertex, Mantle, and Foundry billing the trailing system context block as fresh input every request
- Added `--forward-subagent-text` / `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT` to include subagent text and thinking in stream-json output
- "Always allow" rules now save at the repository root, so worktree approvals persist across sessions and worktrees
- A PreToolUse hook's `ask` decision is no longer overridden by auto mode for unsandboxed Bash — it floors at a prompt
- Permission previews relayed to chat channels neutralize bidirectional-override, zero-width, and look-alike quote characters
- Fixed subagents with an explicit model override reverting to the parent model on resume or follow-up
- Fixed parallel sessions all logging out after wake-from-sleep when sharing one credential store
- Fixed nested `.claude/rules/*.md` loading even when setting sources exclude project settings
- Fixed background jobs on gateway auth (`ANTHROPIC_AUTH_TOKEN` + `ANTHROPIC_BASE_URL`) reporting "Not logged in" after daemon respawn
- Fixed killed background agents auto-respawning and revived agents re-running stale prompts
- Fixed `/clear` not resetting the statusline cost counter, and `/loop` hiding the session from `/resume`
- Integer env vars (timeouts, token budgets, retry counts) accept `1e6` and `64_000` spellings
- Claude now reports still-running background agent status and waits for real completion instead of fabricating results
- Vim mode `s`/`S` work in NORMAL mode; `/usage-credits` confirms before messaging org admins
- Claude in Chrome: hardened file-upload path validation; `save_to_disk` on screenshots now actually writes the file and returns its path


## Sources

- [changelog_md](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) — retrieved 2026-08-11

## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/claude-code/2-1-211
Entity: https://changelogs.info/claude-code
Event ID: `evt_2026-07-15_claude-code_2-1-211`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
