Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.232,
ImprovementsSection of the release
What
The stored per-source prompt-cache diagnosis data is now validated on load with hard size limits, so a corrupted or oversized file is rejected instead of being loaded wholesale.
Details
Strings are capped at 200 characters, tool-name and per-tool hash maps at 2000 entries, block hash arrays at 5000, and message hashes at 20000.
The globalCacheStrategy field is checked against a fixed set of accepted values, one of which is tool_based.
Clearing is now selective: a subset of sources can be invalidated rather than wiping the entire map.
Evidence
tool_based
Strings lifted out of the shipped bundle, so the claim above can be checked against them.