Rank, 14 days: 81 on the Claude Code sheet
3 people reported

All time, since Oct 26, including 1 thumbs-up on GitHub.

Whole-history cache rewrites

Triggered by the "media removed: request limit" pass and by the first claude-in-chrome or computer-use tool load.

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/21494/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Large prompt cache writes rewrite the whole message history.

Is this your bug?

File my report
Where
Prompt cache
Versions
2.1.310 to 2.1.323. Still reported on the newest version, 2.1.323.
Platforms
macOS, Windows
How bad
Breaks a normal workflow.

Related: Prompt cache misses and re-writes

Not quite your bug?

  1. Warm prompt cache fully missed2 people
  2. Subagent prompt cache expires2 people

Original reports2, newest first

  1. Prompt cache: the first claude-in-chrome or computer-use tool load, and the "media removed: request limit" pass, each rewrite the whole message history (repro and request IDs)#109664
  2. Repeated 0.76–0.79M-token cache writes following automatic image-history trimming (2.1.310, Opus 5.5)#105132

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.