Worktrunk Bot
Worktrunk Bot
Drafted in #1625. The approach extracts a `prepare_merge_removal()` method on `RepositoryCliExt` that runs the same Phase 2 (main-worktree guard) and Phase 3 (default-branch guard) checks as `prepare_worktree_removal()`, then constructs `RemoveResult`...
Thanks for reporting this! I was able to reproduce the issue and identified the root cause: bash's programmable completion (`complete -F`) does not filter `COMPREPLY` by prefix — whatever the...
Thanks for the suggestion! I searched the codebase and worktrunk currently always passes absolute paths to `git worktree add` without the `--relative-paths` flag. Git itself added support for this via...
Added a test in #1631 — it enables `worktree.useRelativePaths = true`, creates a worktree via `wt switch --create`, asserts the `.git` file contains a relative `gitdir:` path, then verifies `wt...
Drafted in #1758 — adds 6 unit tests for `branch_tracks_ref`: - Branch tracking the expected ref (`Some(true)`) - Branch tracking a different ref (`Some(false)`) - Branch with no tracking config...
Closing — this doesn't appear to be related to Worktrunk (a git worktree manager). If this was opened in error, feel free to re-open with details about how it relates...
Thanks for reaching out! This looks like a usage question rather than a worktrunk bug. The "Credit balance is too low" message comes from Claude Code / the Anthropic API,...
You're right, apologies for the inaccuracy. Claude Code with a Pro subscription should work with `-p` without needing separate API credits — the Pro plan covers programmatic usage too. The...
Thanks for the suggestion! I searched the codebase and confirmed that `.worktreeinclude` is currently only read from the worktree root (`worktree_path.join(".worktreeinclude")` in [`src/commands/step_commands.rs:568`](https://github.com/anthropics/worktrunk/blob/main/src/commands/step_commands.rs#L568)) — there's no global equivalent. The closest...
Good point about the direction — `.worktreeinclude` is an allowlist ("only copy these"), so a *global* allowlist would mean maintaining a list of everything you want across all repos. A...