{"version":"2.1.260","anchor":"exitworktree-tool-restructured-to-session-scoped-create-pa","canonical_anchor":"exitworktree-tool-restructured-to-session-scoped-create-pa","heading":"ExitWorktree tool restructured to session-scoped create() pattern","tier":"internal","area":"Worktrees","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260\/e\/exitworktree-tool-restructured-to-session-scoped-create-pa","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260","markdown":"### ExitWorktree tool restructured to session-scoped create() pattern\n\nThe ExitWorktree tool was restructured to a session-scoped factory pattern, no behavior change.\n\nThe `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.\n\n- Area: Worktrees\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}