Worktrunk: Git worktree manager, designed for parallel agents, written in Rust (github.com)

🤖 AI Summary
Worktrunk is a new open‑source CLI (written in Rust) for managing Git worktrees that’s explicitly built for parallel AI-agent and multi‑developer workflows. It makes creating, navigating, inspecting, merging and cleaning up branch‑backed worktrees as routine as "git switch" — so you can spawn isolated agent workspaces quickly without the cost and drift of multiple clones. The project integrates lifecycle hooks, status tracking and safety checks (pre‑merge CI gates, post‑create installs, background dev servers), plus integrations for LLM-driven commit messages and Claude Code session/status reporting — all aimed at reducing cold starts, preventing agents from stepping on each other, and making local QA part of the worktree lifecycle. Technically, Worktrunk is installed via cargo and exposes commands like wt switch (create or switch worktrees with shell integration), wt list (with CI/Claude statuses), wt merge (squash, test/lint, push, and background cleanup), and wt remove. Config is TOML (~/.config/worktrunk/config.toml) with hook sections (post-create, post-start, pre-commit, pre-merge, post-merge), commit‑generation via LLMs, a JSON output mode for dashboards, an fzf‑style selector, and a statusline mode for prompts/editors. Safety features include first‑run approvals for project hooks, logs under .git/wt-logs, and path‑first argument resolution. For teams building multi‑agent toolchains or local CI workflows, Worktrunk slashes friction and codifies guardrails around parallel development.
Loading comments...
loading comments...