Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.283 ·

Agent-proxy governed git now covers several git hosts

Sessions set up by the runner get a governed git host list in CLAUDE_CODE_AGENT_PROXY_GIT_HOSTS and configure proxy git access for each host

Group of 2 Under the hood Internal Changes
JSON All of v2.1.283
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Cloud SessionsArea: what it touches
Internal ChangesKind: in v2.1.283,
Internal ChangesSection of the release

Unclear It is not confirmed that CLAUDE_CODE_AGENT_PROXY_GIT_CONFIG is what turns this setup on.

What

Governed git is the setup where a session's git traffic goes through a proxy and relay instead of the machine's own credentials. It used to apply to a single host. It now applies to a list of hosts.

  • When the self-hosted runner sets up a session with a git config and a host split from its tool_config (toolConfig.hostSplit.governed), it writes CLAUDE_CODE_AGENT_PROXY_GIT_HOSTS into the session's environment as a comma-separated list of governed hosts. The variable is added to the environment variables carried into sessions.
  • Inside the session, the governed-git setup reads that variable and keeps each entry that is a bare hostname. Other entries are ignored with a warning. If the variable is unset or empty, it falls back to a single default host.
  • The generated git config writes proxy and credential sections for every governed host. Hosts other than the primary have their extraHeader, cookieFile and credential helpers cleared and replaced with a helper that answers quit.
  • If the list has no usable host, the git config setup is skipped with a warning.
  • The gh path shim is enabled only when the default host is among the governed hosts.
  • The runner's session-exit environment now includes gitEnvironment.envOverrides.

Why

Cloud and self-hosted agent sessions can reach more than one governed git host through the proxy, while other hosts stay direct. If you set the host list yourself, entries that are not plain hostnames are dropped.

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 doubtIt is not confirmed that `CLAUDE_CODE_AGENT_PROXY_GIT_CONFIG` is what turns this setup on.

See this entry in the whole of v2.1.283 →

Feedback