Worktrunk Bot
Worktrunk Bot
The hook rationalization in #1679 (commit efad9312) resolves the concerns raised here: - `post-create` renamed to `pre-start` — the confusing "post-create blocks before post-start" paradox is gone - Docs now...
Yes — your assumption is correct. `pre-start` runs **after** the worktree directory is created (after `git worktree add`), as a blocking step before `post-start` and any `--execute` command. Full order...
A couple of data points for the readiness question: **Bake time.** The `post-create` → `pre-start` rename shipped in v0.32.0 on 2026-03-25 — 27 days and 17 releases (v0.32.0…v0.42.0) ago. The...
Yes, caught it. Before opening the PR I want to confirm how you want to handle the one compat wrinkle I flagged, since it changes what the PR body needs...
Thanks for reporting this! I was able to reproduce the issue and identified the root cause: when `wt remove` renames the worktree directory to a staging path (`.wt-removing-`) but the...
Good to know it did complete! That's actually the expected behavior — `wt remove` renames the directory to a staging path (`.wt-removing-*`) first so you can keep working immediately, then...
Good idea — hiding it from the user's workspace would avoid the confusion entirely. The reason the current implementation uses a sibling path is that `rename()` only works within the...
Drafted in #1583 — staging directories now go to `.git/wt-trash/` (following the existing `.git/wt-logs/` convention). The rename is still instant since `.git/` is always on the same filesystem as worktrees....
Thanks for the follow-up and for clarifying what you meant in #1571! **On `copy-ignored` placement:** You're right that the docs default to showing `copy-ignored` in `post-start`, which is misleading for...
@max-sixty The current `post-start` example shows `copy-ignored` alongside `npm run dev`, but `post-create` has `npm ci`. Since `post-start` runs *after* `post-create`, the `node_modules/` copy hasn't happened yet when `npm ci`...