Unclear Under what condition Claude Code now stops reading saved sign-in tokens is not stated.
What
A background job saves the environment it runs with, its environment variables, to a state file. Before, only CLAUDE_CODE_ATTRIBUTION_PROJECT and path variables were checked there. Now Claude Code also:
- Checks that
ANTHROPIC_PROFILEis a valid profile name, the Anthropic profile to sign in with. - Checks that a saved sign-in record is valid.
- Keeps
ANTHROPIC_CONFIG_DIR, tidied into a standard path form.
The code that reads saved sign-in tokens also now returns nothing under a new condition.
Why
Signing in with an Anthropic profile now extends to background jobs.
Documented inapi/cli-sdks-libraries/cli/authentication
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Under what condition Claude Code now stops reading saved sign-in tokens is not stated.