Files
worktrunk/plugins
Worktrunk Botandworktrunk-bot 04ad96208b docs: note that the Claude desktop app skips the plugin's worktree hooks (#4777)
The Agent Integration page says the plugin's
`WorktreeCreate`/`WorktreeRemove` hooks route Claude Code worktrees
through `wt`, without saying that this doesn't apply to worktree
sessions started from the Claude desktop app. The app creates those
worktrees itself, under `.claude/worktrees/`, and doesn't call plugin
worktree hooks. Upstream tracks this in
[anthropics/claude-code#29716](https://github.com/anthropics/claude-code/issues/29716),
which is still open. This PR adds one sentence to the worktree isolation
section saying so and linking that issue, and regenerates the two skill
mirrors. `test_docs_are_in_sync` passes.

The page doesn't recommend the workaround from #4776, which is to copy
the hooks into `~/.claude/settings.json` and disable the plugin. Two
things count against it. Disabling the plugin drops `/wt-switch-create`
and `/wt-diff`, and the CLI runs both copies when both are enabled. The
upstream thread also disagrees on whether settings-file hooks run in the
desktop app: one report says they do, and a later one says they don't.
The workaround stays documented on the issue for anyone who wants that
trade.

Closes #4776 — automated triage

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-11-13 12:42:26 -08:00
..