Unclear It is not clear under exactly what conditions apiKeyHelper and the cloud credential commands cause the refusal.
What
Claude Code can keep a spare process started ahead of time (pre-started, or parked) and hand it to a new session, which is called a claim. A session started from scratch is a cold start. Some project settings only take effect during a cold start, so claims now refuse more of them, and the spare process itself runs fewer project commands.
A claim is now refused, with a typed reason telling the caller to start the session cold, when the claimed directory's project settings set:
proxyAuthHelper(only whenCLAUDE_CODE_ENABLE_PROXY_AUTH_HELPERis set), for example "proxy_auth_helper_not_claimable: the proxy credential comes from a helper that the project names, which a parked process does not run; start this session cold".apiKeyHelperorotelHeadersHelper.- Cloud credential commands
awsAuthRefresh,awsCredentialExportorgcpAuthRefresh. - Project settings
env, project-scoped memory, or a start file that has changed. modelandfallbackModel, as before.
Four new reason codes were added for these. The settings files to inspect now come from a shared helper rather than a fixed list. Before, only env, agent, model, fallbackModel and permissions.defaultMode were checked.
In a pre-started process that is not a session (not claimed, or its claim failed):
proxyAuthHelperfrom project or local settings is skipped with a logged message.apiKeyHelperreturns nothing.awsAuthRefresh,awsCredentialExport,gcpAuthRefreshandotelHeadersHelperreturn early. Before, only the workspace-trust check stopped them.- A new Bedrock notice says the organization's AWS setup is used instead of the
awsCredentialExportcommand.
Why
A spare process could otherwise start your session without running the credential commands your project names. Now those sessions start cold instead, so project credential helpers are applied as you set them.
It is not clear under exactly what conditions `apiKeyHelper` and the cloud credential commands cause the refusal.