Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.275 ·

System-prompt "folded attachment" shape now tracked for cache-break diagnosis

Cache-break diagnostics now track the system prompt's folded attachment shape too

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaElsewherewhat it touches
KindInternal Changesin v2.1.275,
Under the hood No documentation found

Cache-break diagnostics now track the system prompt's folded attachment shape too

What

Claude Code already tracks the shape of messages sent to the model to help diagnose when the prompt cache breaks (a cache break means the model has to reprocess parts of the prompt it would otherwise reuse, which costs time and money). A new function now also computes a fingerprint of the system prompt's "folded attachment" spans, recording the type, length, and hash of each part. When a cache break happens, a diff of this shape (parts added, removed, reordered, or changed, plus length differences) is now included in the tengu_prompt_cache_break telemetry event.

Why

This gives Claude Code more detailed internal diagnostics for figuring out what specifically changed in the system prompt when a cache break occurs, building on the message-shape tracking already used for the same purpose.

Read from
Names in the bundletengu_prompt_cache_break

See this entry in the whole of v2.1.275 →

Feedback