pub fn is_session_worktree(root: &Path, wt_path: &Path) -> boolExpand description
Returns true if wt_path is a session worktree of root:
- directly under
<root>/.wt/with no<root>/.wt/<name>.start.json, or - under
<root>/.claude/worktrees/(excluding any nested.wtrun worktrees).