{"version":"2.1.326","anchor":"plugin-worktree-hook-check-condition-changed","canonical_anchor":"plugin-worktree-hook-check-condition-changed","heading":"The rule for skipping early plugin worktree hooks has changed","tier":"internal","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/plugin-worktree-hook-check-condition-changed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### The rule for skipping early plugin worktree hooks has changed\n\nClaude Code now skips early setup of plugin worktree hooks when `CLAUDE_CODE_SYNC_PLUGIN_INSTALL` is set or a new condition fails\n\n**Unclear.** What the new check looks at is not known, so it is unclear when the early setup is now skipped.\n\n**What**\n\nClaude Code can set up plugins' worktree hooks (events a plugin reacts to when a worktree is created or removed) before it creates the worktree. The rule for when it skips that early step has changed. It now skips it when `CLAUDE_CODE_SYNC_PLUGIN_INSTALL` is set, or when a different check than before fails. When it skips, it can note that startup lists no plugins here.\n\n**Why**\n\nThis changes when plugin worktree hooks are ready ahead of the worktree.\n\n- Area: Plugins\n- Names: `CLAUDE_CODE_SYNC_PLUGIN_INSTALL`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}