mirror of
https://github.com/max-sixty/worktrunk.git
synced 2026-11-26 13:37:01 +08:00
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>