Unclear It is not clear what the worktree behaviour does, so what setting CLAUDE_CODE_LAZY_WORKTREE changes is unknown.
Claude Code now recognises an environment variable (a setting you put in your shell before starting it) called CLAUDE_CODE_LAZY_WORKTREE. A worktree is a separate working copy of your git repository that Claude Code can create. One worktree behaviour runs only when several conditions hold and this variable is not set. Setting it, to any value, turns that behaviour off. The variable is also passed on to processes Claude Code starts.
Two other variable names now appear:
CLAUDE_CODE_DISABLE_SHIP, listed with the otherCLAUDE_CODE_DISABLE_*switchesCLAUDE_GATEWAY_ALLOW_LOOPBACK, which one part of Claude Code now reads
This is an opt-out for a worktree behaviour. The name suggests that behaviour delays creating the worktree until it is needed.
It is not clear what the worktree behaviour does, so what setting `CLAUDE_CODE_LAZY_WORKTREE` changes is unknown.