What it does
Create managed worktrees from trusted repos
Choose a baseline: the default branch, a specific branch, or the current
branch including uncommitted changes.
Unified managed root
Stored under
<appData>/worktrees by default (kv worktrees.root is
configurable), with a registry recording each worktree’s metadata.Session ↔ worktree binding
Open a session inside a worktree — agent tools and the sandbox work
natively, no extra configuration.
Uncommitted changes follow
Tracked diff applied + untracked files copied;
.worktreeinclude
semantics: ignored files copied per the manifest, symlinks skipped,
existing files never overwritten, and AGENTS.override.md is included
automatically.Wrapping up and cleanup
Two ways to finish, both from the settings page:- “Create branch”: pin the worktree’s content as a
kova/<slug>branch — the work is preserved; - “Delete”: the whole directory moves to trash (kept, restorable), and trash is auto-cleaned after 7 days; restore from the list with one click if you deleted by mistake.
Reference semantics: the managed-worktrees shape used by mainstream coding
agents. Implementation is covered by a real main-process smoke run
(
bun run smoke:worktrees) and unit tests
(apps/electron/test/git-worktrees.test.ts).