Under the hood
Session state now tracks the inference gateway seen and any classifier fallback choice made
What
Claude Code's internal per-session state object gained new tracking for the auto-mode server classifier fallback:
- which inference gateway was observed for the session
- whether a fallback choice was made when the server-side classifier is unavailable, and what that choice was
- a one-shot flag for announcing that fallback to the user (so the announcement only happens once)
- whether the third-party server classifier was refused for this session
Why
This gives the new server-classifier fallback and billing-notice features a place to remember what's already happened in a session, so users aren't shown the same fallback notice repeatedly or asked to re-decide something already settled.