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.222 Home All releases olderv2.1.221 v2.1.223newer

Host-managed provider sessions take model policy from the parent process

Use it now
Useful3 Signal0
Settings Notable

Setting CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST makes the parent process dictate your model settings, ignoring your settings file.

CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST
What

When Claude Code runs under a host that manages the provider, settings-file model configuration is ignored in favour of policy handed down by the parent process.

Details
  • Settings resolution gained hostManagedProvider: te.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST.
  • With that env var set, model, fallbackModel, modelOverrides and provider env vars are stripped from the policy view.
  • A hostModelOverlay built from parent-managed settings is applied in their place; admin modelOverrides are stashed and re-applied to enforcement.
  • The managed-settings source enum gained a "parent" value, returned when a parent slice or host model overlay exists.
  • Inactive unless CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST is set.
Evidence

hostManagedProvider

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.222 →