Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.227 Home All releases olderv2.1.226 v2.1.228newer
Claude Code v2.1.227

Feature-flag client refreshes the OAuth token before it starts

Under the hood
Useful2 Signal2
Startup

Startup refreshes your token first so feature flags don't load with stale credentials.

What

At startup, Claude Code now attempts an OAuth token refresh, bounded by a 5 second timeout, before creating the feature-flag client and resolving its auth headers. Previously a stale token could produce an unauthenticated flag fetch at startup. Failures are logged at debug level (recording 'timeout' or the error name) and startup continues either way.

Details
  • Runs only once workspace trust is established.
Evidence

GrowthBook pre-init OAuth refresh

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.227 →