Worktrunk Bot

Results comments of Worktrunk Bot

Thanks for reporting this! I investigated the `git push` command that `wt merge` uses internally (in [`src/commands/worktree/push.rs`](https://github.com/anthropics/worktrunk/blob/main/src/commands/worktree/push.rs#L268-L274)): ```rust ctx.repo.run_command(&[ "push", "--receive-pack=git -c receive.denyCurrentBranch=updateInstead receive-pack", git_common_dir_str.as_ref(), &push_target, ]) ``` This push...

Thanks for confirming! That makes sense — `submodule.recurse=true` causes `git push` to try recursing into submodules, which fails for the local worktree-to-worktree push that `wt merge` uses internally. I've opened...

Investigated all three cases. The root cause is the same in each: the bot sets `start_line`/`line` to a range wider than the replacement text, so applying the suggestion silently deletes...

## Run 23387421034 — 2026-03-21T19:52Z Analyzed 5 sessions across 5 runs: - claude-review (23386968203) — reviewed PR #1641 (alias-autocomplete), correctly detected already-reviewed - claude-mention (23386797029) — responded to owner question...

Thanks for the suggestion! I searched the codebase and there's no `--exclude` CLI option today. The only filtering mechanism is the `.worktreeinclude` file. One workaround that might help: `.worktreeinclude` uses...

By default (no `.worktreeinclude` file), `wt step copy-ignored` copies **all** gitignored files to the new worktree. When `.worktreeinclude` exists, it acts as a **whitelist filter** on that set — only...

Thanks for the suggestion! I searched the codebase and confirmed there's no existing way to run blocking commands after a switch completes. Here's a summary of what exists today: -...

A few naming ideas, roughly in order of preference: **1. `post-switch` becomes blocking; rename background variant to `post-start-switch`** This aligns with the create-path pattern where `post-create` (blocking) precedes `post-start` (background)....

A few points that might help: **Symlinks are preserved by `copy-ignored`.** If you create `.env -> /shared/env` in your primary worktree, `copy-ignored` will recreate the same symlink in the destination...

Confirmed — `pre-switch` **does** expose `{{ branch }}` as the destination branch (the raw user input before resolution). However, `{{ worktree_path }}` in `pre-switch` points to the **source** (current) worktree,...