The background daemon now restores Cloud gateway sign-in early at startup
When Claude Code's background daemon starts up, it now runs a step called restoreGatewayAuthForFastPath before other initialization work, such as policy limits and fast-path credentials. This restores the daemon's signed-in state with Anthropic's Cloud gateway.
If this step fails, the daemon logs a warning and continues as if it were not signed in to the gateway, until the daemon is restarted.
Running this restoration early means gateway-dependent features are more likely to work correctly right after the daemon starts, rather than only after some other initialization completes. If the restoration fails, some gateway-backed functionality may be unavailable until the next restart.