{"version":"2.1.332","anchor":"fork-refuses-when-the-launch-worktree-changed-or-is-gone","canonical_anchor":"fork-refuses-when-the-launch-worktree-changed-or-is-gone","heading":"Forking a session checks that its worktree still exists and matches","tier":"notice","area":"Sessions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/fork-refuses-when-the-launch-worktree-changed-or-is-gone","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Forking a session checks that its worktree still exists and matches\n\nForking a session can now refuse if the worktree it started in has changed or been deleted\n\n**Unclear.** Whether this check is switched on for you is not known.\n\n**What**\n\nWhen you fork a session, meaning start a new conversation that branches off the current one, Claude Code can now check the worktree the session started in. A worktree is a separate working copy of a git repository. It refuses to fork in two cases:\n\n- The current worktree doesn't match the worktree the session started in\n\n- That worktree no longer exists, in which case it tells you to start a new session in your main checkout\n\nBefore, it used the starting folder without checking. The check sits behind an internal switch.\n\n**Why**\n\nA fork can no longer land in the wrong copy of your project, or in a folder that has been removed.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}