What
The spend precheck now picks the most binding cap period that has spend against it and returns anthropic-ratelimit-unified-* headers describing that period.
Details
- headers cover status, reset, overage utilization, surpassed threshold, retry-after and the period itself
- the surpassed-threshold header trips at utilization 0.95 and 0.75
- blocked responses name the offending period and its reset time rather than a generic message
- failures reading the spend store now surface a
fetch_errordisabled reason instead of a bare error string
Evidence
anthropic-ratelimit-unified-overage-surpassed-threshold
Strings lifted out of the shipped bundle, so the claim above can be checked against them.