{"version":"2.1.239","anchor":"leaving-a-worktree-will-not-adopt-a-project-path-with-decept","canonical_anchor":"leaving-a-worktree-will-not-adopt-a-project-path-with-decept","heading":"Leaving a worktree will not adopt a project path with deceptive characters","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239\/e\/leaving-a-worktree-will-not-adopt-a-project-path-with-decept","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239","markdown":"### Leaving a worktree will not adopt a project path with deceptive characters\n\nLeaving a worktree keeps your old project root if the new path contains deceptive characters.\n\n**What**\n\nWhen you exit a git worktree, the project root Claude Code anchors to is only replaced if the new path passes a check for characters that could make it display as something other than what it is. If it fails, the previous anchor is kept and the refusal is recorded in the logs.\n\n**Evidence**\n\n`ExitWorktree: not installing projectRoot`\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}