Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Self-hosted runners can share their model access with Claude Code started inside a session

Self-hosted runners gain opt-in nested model access over a socket, with a call budget, model allow list and a new managed setting for forced-login machines

Group of 4 Use it now Internal Changes
JSON All of v2.1.327
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
EnvironmentArea: what it touches
Internal ChangesKind: in v2.1.327,
What probably matters to youSection of the release

Unclear What each of the two variables does is not known.

What

A self-hosted runner is a machine you run that hosts Claude Code sessions. Commands in a runner session can now start another Claude Code (for example claude -p) that uses the runner's model access instead of its own credentials. It connects through a private unix socket, a local connection file, named by CLAUDE_CODE_RUNNER_MODEL_SOCKET.

  • --nested-model-access (env SELF_HOSTED_RUNNER_NESTED_MODEL_ACCESS) turns it on. It needs --nested-model-allow, a list of allowed models, or the runner will not start. A model outside the list is rejected with a message naming --nested-model-allow.
  • --nested-model-call-budget caps the number of calls. It defaults to 200.
  • Runner sessions get matching nestedModelAccess, nestedModelCallBudget and nestedModelAllow options. The runner help also mentions a SELF_HOSTED_RUNNER_DIFF_FINDS_NESTED_REPOSITORY env note.
  • The proxy behind the socket forwards only /v1/messages and token counting. It refuses on Windows, with third-party providers, for HIPAA organizations, with server-managed settings, with governed git, or when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB or ANTHROPIC_UNIX_SOCKET is set.
  • The nested Claude Code overwrites ANTHROPIC_UNIX_SOCKET, ANTHROPIC_BASE_URL and CLAUDE_CODE_OAUTH_TOKEN with placeholders. It declines for many reasons, including an existing credential, a scrubbed environment, --sdk-url on the command line, and modes that skip permission prompts. It sends a proof header, x-claude-runner-model-proof, derived from the session token, and looks up the organization at /runner/organization.
  • allowNestedModelAccessUnderForceLogin is a new managed setting (one set by an administrator). On a machine whose managed settings force a sign-in (forceLoginOrgUUID or forceLoginMethod), runner model access is refused unless this is true. The refusal message says to set it on self-hosted runner hosts only.
  • CLAUDE_CODE_RUNNER_MODEL_SOCKET and a second new variable, CLAUDE_CODE_DISABLE_PROXY_SCHEME_REPAIR, join the list of connection-related environment variables alongside ANTHROPIC_UNIX_SOCKET. What CLAUDE_CODE_DISABLE_PROXY_SCHEME_REPAIR does was not traced.

Separately, when a runner shuts down it now asks the server for the state of each turn before deciding whether to wait. That wait is measured from the start of the check, so it no longer restarts.

Why

This changes where model credentials flow on runner machines. Operators control it with the allow list and call budget. Administrators who force a sign-in must opt in explicitly with allowNestedModelAccessUnderForceLogin, and without it access is refused.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat each of the two variables does is not known.

See this entry in the whole of v2.1.327 →

Feedback