You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Policy LimitsArea: what it touches
Bug FixesKind: in v2.1.275,
Bug FixesSection of the release
What
When Claude Code saves updated policy-limits data to its local cache, it now first checks whether it could actually read the existing on-disk "stamp" (a marker used to track the cache state). If that read failed, the save is aborted entirely for that cycle and nothing is written, with a log noting the cache stamp could not be read. Previously it would proceed to overwrite regardless.
A companion testing-only method, _settleCyclesForTesting, was also added to let tests wait for all in-progress fetch cycles to finish.
Why
This avoids silently clobbering the policy-limits cache when its current state can't be verified, reducing the chance of corrupting or losing track of cached policy data.