Under the hood
The ExitWorktree tool was restructured to a session-scoped factory pattern, no behavior change.
The ExitWorktree tool's validateInput/call logic now lives behind a create(e) factory, matching the pattern used elsewhere for session-bound tools. This is an internal restructuring; the existing worktree-removal safety checks, covering uncommitted changes, commit counts, and ownership, are unchanged.