{"version":"2.1.223","anchor":"cross-worktree-session-lookup-extracted","canonical_anchor":"cross-worktree-session-lookup-extracted","heading":"Cross-worktree session lookup extracted","tier":"internal","area":"Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.223\/e\/cross-worktree-session-lookup-extracted","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.223","markdown":"### Cross-worktree session lookup extracted\n\nThe code that finds a session across worktrees moved into a helper with no change you'd notice.\n\n**What**\n\nThe projects-directory scan used to find a session file across worktrees moved out of the call site into a helper, with no change in behaviour.\n\n**Details**\n\n- the inline directory walk and try\/catch are gone from the call site, replaced by a single helper call\n- the match still has to be unique and the result still reports `via: \"projectsScan\"`\n- skipped entirely when crossWorktree is false\n\n**Evidence**\n\n`via: \"projectsScan\"`\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}