{"version":"2.1.247","anchor":"working-tree-upload-refuses-linked-worktrees-and-scratch-spa","canonical_anchor":"working-tree-upload-refuses-linked-worktrees-and-scratch-spa","heading":"Working-tree upload refuses linked worktrees and scratch-space checkouts","tier":"notice","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247\/e\/working-tree-upload-refuses-linked-worktrees-and-scratch-spa","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247","markdown":"### Working-tree upload refuses linked worktrees and scratch-space checkouts\n\nWorking-tree upload now refuses linked worktrees and checkouts sitting in temporary scratch directories.\n\n**What**\n\nTwo 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.\n\n**Details**\n\n- Scratch roots are computed from `CLAUDE_CODE_TMPDIR`, `TMPDIR`, `TMP` and `TEMP`.\n- Per-worktree config is detected via the git setting `extensions.worktreeConfig`.\n- Settings-file identity is re-checked across `CLAUDE_CONFIG_DIR`, `HOME`, `USERPROFILE` and related variables.\n- The older fallback path gained a matching `linked_worktree` message.\n\n**Evidence**\n\n`under a directory cloud sessions on this machine use as scratch space`\n\n- Area: Cloud Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}