Remote sessions now wait and retry for their credentials file instead of failing immediately.
What's wrong with this entry?
A remote session that has to read its access token from a file now retries on a fixed backoff (250, 500, 500, 750, 1000 ms) and then waits a grace period for OAuth or API credentials to appear, rather than giving up immediately. It logs "[spare-claim] session ingress token file not readable yet" while waiting and reports attempts, whether it recovered, and total wait time.
- Only runs for remote invocations started with
--sdk-urlthat have no inline session token:CLAUDE_CODE_REMOTEset,CLAUDE_CODE_SESSION_ACCESS_TOKENandCLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTORunset. - The file location can be overridden with
CLAUDE_SESSION_INGRESS_TOKEN_FILE. - A separate re-read path logs "Session ingress token re-read from well-known file".
cli_worker_lifecycle_claim_token_wait
Strings lifted out of the shipped bundle, so the claim above can be checked against them.