{"version":"2.1.330","anchor":"remote-control-shutdownhook-worktree-vcsisolate-hook-fold","canonical_anchor":"remote-control-shutdownhook-worktree-vcsisolate-hook-fold","heading":"Mods can supply the separate folder an agent works in","tier":"use","area":"Mods","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/remote-control-shutdownhook-worktree-vcsisolate-hook-fold","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Mods can supply the separate folder an agent works in\n\nA mod can now use a vcs.isolate hook to supply the separate folder an agent works in, instead of the one Claude Code would create\n\n**Unclear.** It is not clear whether mod authors can use the vcs.isolate hook in this release.\n\n**What**\n\nA mod is a user-written add-on to Claude Code, and a hook is code a mod runs when something happens. A mod can now provide a `vcs.isolate` hook that supplies the folder an agent works in when it is kept apart from your main copy of the project. Claude Code keeps that folder fixed for the agent and treats it as a copy that the hook created. If the folder cannot be used, Claude Code reports that it cannot use the `vcs.isolate` hook's folder.\n\n**Why**\n\nThis gives mods more control over where agents do their work.\n\n- Area: Mods\n- Names: `vcs.isolate`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}