v2.0.5
BUGFIX: TTL ordering violation causes 400 error at Q5h=100%
When quota hits 100%, CC places ttl: "5m" cache_control markers. The interceptor was adding ttl: "1h" markers on other blocks, violating Anthropic's ordering constraint. Result: 400 invalid_request_error.
Fix: detect existing TTL tier from the payload before any extension runs. If any block has 5m, all injected markers now use 5m to match — across TTL injection, cache_control_normalize, and cache_control_sticky.
npm update claude-code-cache-fix
163 tests passing.