Working-tree upload now refuses linked worktrees and checkouts sitting in temporary scratch directories.
What's wrong with this entry?
Two new refusals stop an upload before it starts. linked_worktree covers a checkout whose worktree pointer files could not be verified, one using per-worktree git config, or one in an untrusted location. temp_root covers a checkout, or a symlink on the way to it, that lives under a temporary directory cloud sessions use as scratch space.
- Scratch roots are computed from
CLAUDE_CODE_TMPDIR,TMPDIR,TMPandTEMP. - Per-worktree config is detected via the git setting
extensions.worktreeConfig. - Settings-file identity is re-checked across
CLAUDE_CONFIG_DIR,HOME,USERPROFILEand related variables. - The older fallback path gained a matching
linked_worktreemessage.
under a directory cloud sessions on this machine use as scratch space
Strings lifted out of the shipped bundle, so the claim above can be checked against them.