Claude Code can now tell when a watch was cut off by traffic protection or server overload rather than a real error.
What's wrong with this entry?
Connection close reasons of the form cf_mitigated_<status> or upgrade_rejected_<status> are now decoded back into an HTTP status and a Cloudflare flag. The previous build only wrote those strings. A close counts as a load shed when the status is 5xx, 429 or 408, or when Cloudflare mitigated it.
- Failure telemetry now carries
shed,http_statusandcf_mitigatedfields; before it could only report a fixed stalled marker. - A shed close is folded into the stalled decision and no longer clears the cached token lease.
cf_mitigated, /^(cf_mitigated|upgrade_rejected)_(\d{1,3})$/
Strings lifted out of the shipped bundle, so the claim above can be checked against them.