# GitWand — Roadmap > Full release details: [CHANGELOG.md](./CHANGELOG.md) --- ## What's Next _Ordered by priority, last verified 2026-11-27 (v3.15.0 shipped: Combined Diffs, guided bisect (#317), the hardening batch (#314) and the Git Tree refs fingerprint (#315)). On 2026-11-26 the plan was re-cut. Two tracks now run side by side: 3.x finishes the work in progress and then takes fixes only (v3.15 and its patches; the performance release planned as v3.16 moved to the v4 track); v4 maps the app from top to bottom and prepares the new way of working and the new interface. Everything else moves to that v4.x line, because the main bundle is at 992/992 KB and every feature now raises its budget. The former "Later (unscheduled)" list is gone: each item is either placed in a version below, on the real-machine checklist, or in [Not planned](#not-planned-with-what-would-bring-it-back) with the condition that would bring it back. Agent Workspaces II (was v3.16) is split between v4.0 (the workspace, agent supervision and control) and v4.2 (the view across tasks); Stacked Branches II (was v3.18) moved to v4.4; Voice Input (was v3.17) is not planned; Blast Radius moved from v4.0 to v4.3 and is renamed Code Intelligence, after the agent work that gives it its use case. Full renumbering history: `git log -p -- roadmap.md`._ | Version | Codename | Why now | |---------|----------|---------| | **v3.15.x** | Harden (last 3.x line) | 3.15.0 shipped on 2026-11-27 (Combined Diffs, guided bisect, hardening, Git Tree refs); three parallel fix lots follow as 3.15.x patches. After that 3.x takes fixes only | | **v4.0.0** | The workspace | A break: one working environment where CLI agents are supervised and controlled — task sidebar, Session / Files / Integration, repository instruments. The map of the app is how it gets built | | **v4.1.0** | Resolution engine | The engine's written principles, the journal of resolutions, local accuracy, opt-in shared counters | | **v4.2.0** | Integrate | The merge queue across tasks: cross-worktree conflict prediction, proposed order — on the Conflict Predictor that already exists | | **v4.3.0** | Code Intelligence | Code-graph impact before merge: the cross-worktree prediction of v4.2, at symbol level | | **v4.4.0** | Workflows & forges | Stacked Branches II, SSH routing per identity, Gitea, File Explorer and watcher follow-ups | _Two tracks (decided 2026-11-26). **3.x**: finish what is in progress, then fixes only — no new feature, and fix only what v4.0 will not rewrite; lots are cut by area so they can run in parallel worktrees. **v4**: starts now, with the map of the app from top to bottom, then the new environment. Proposed mechanics, to confirm: one repository and one `main`, no long-lived v4 branch — the new workspace is a second frontend entry in `apps/desktop`, loaded as a lazy chunk behind a setting, on the same Rust commands and `packages/core`; a fix to shared code then serves both, 3.x builds carry the preview, and the 3.x main bundle does not grow._ _Direction for 4.x (2026-11-26): GitWand becomes the place where agent work becomes mergeable. Code is more and more written by agents, several at a time; the bottleneck moves from writing to integrating and verifying. Launching agents and showing their status is table stakes that agent CLIs will absorb. What holds: integration as the unit of work (predict, order, resolve what is certain, show a human only what needs judgment), agents as users (`@gitwand/mcp` and the CLI are first-class products, with their own goals in every release), measured trust (benchmark, per-pattern accuracy, open dataset), and attention as the scarce resource ("read these 40 lines", with the proof). The demo that sums it up: five agents on five worktrees, four integrated without a question, the one real conflict shown, two silent conflicts flagged that git would not have seen. v4 is a break, not an evolution (decided 2026-11-26): GitWand becomes the one environment the work happens in, and its job there is to **supervise and control CLI agents**. Today the maintainer works in an agent workspace and leaves it for GitWand; an integration view opened only at merge time comes too late to predict anything. The model: the sidebar is the list of tasks (one worktree each, every repository, the one waiting for an answer on top) and is always there; the main panel follows the selected task in three modes — **Session** (the agent's terminal), **Files** (the existing File Explorer, editor and diff, scoped to the task's changes), **Integration** (the merge flow, with the proof); **Integrate** is the view across tasks. The classic repository features are not a destination any more: they become **instruments of control and visualization** inside the environment (graph, restore points, guardrails, PR & CI), and the occasional ones (stash, tags, submodules, bisect, release notes) move to the command palette. Control is exercised first at the Git boundary — worktree, hooks, commit review, push — because every agent ends up there whatever its CLI; richer control comes per CLI where it exposes hooks. No new editor features: the agent writes, the existing editor is for the small fix. Someone who commits by hand loses nothing: their work is a task with a human as author. Mockups: https://claude.ai/artifact/7ZCmiLkTNXMmXPkYh5vXkm_ _v3.15.0 (combined diffs, guided bisect, AI requests only to approved endpoints, force pushes that lease on what you saw), v3.14.0 (stacked branches: declare a stack, restack after a parent change or a squash merge, GitHub retarget), v3.13.3 (create GitHub issues from GitWand and from the MCP server, issue references in commit messages, the Git advent calendar), v3.13.2 (`gh` calls target `origin` or its fork parent, not an `upstream` remote), v3.13.1 (live CI tab that knows which commit its checks ran on, Linux Git Tree reload loop, concurrent pushes serialized, GitHub orgs with OAuth restrictions through `gh`, MCP preview and write-tool fixes), v3.13.0 (Agent Workspaces I: worktree lifecycle hooks, real merge-back, removal with teardown and snapshot, restore as worktree), v3.12.5 (Git Tree follows ref moves, imports and Dockerfile resolvers stop keeping both sides), v3.12.4 (Windows build no longer needs the VC++ runtime), v3.12.3 (reset `--keep`, opt-in auto fast-forward, tracked-but-ignored warning, diffs that keep `--`/`++` lines, file history compare across renames, PR comment actions, in-house Markdown, GPU rendering on Linux), v3.12.2 (AI context for PRs and release notes, AI branch creation, AI language and model fixes), v3.12.1 (merge-back no longer loses data, security hardening, full-screen Settings, WIP as a Git Tree row, per-project identity), v3.12.0 (built-in terminal renderer, WIP in the Git Tree), v3.11.2 (Finder-like folder navigation), v3.11.1 (History-aware LLM fallback) and v3.11.0 (Merge preview-to-apply) shipped; see [Shipped](#shipped) below and the full detail in [CHANGELOG.md](./CHANGELOG.md)._ --- ### v3.15.x — Harden **3.15.0 — shipped 2026-11-27** (Combined Diffs, guided bisect #317, hardening batch #314, Git Tree refs fingerprint #315; see [Shipped](#shipped)). Kept from it: - #315, known gap, accepted: a ref that moves and comes back between two reads leaves stale decorations until the next ref move or a manual refresh. - #314, not tested: Windows, a real `glab`, the native dialog in the packaged app (see the checklist below). Its leftovers are in lot C. - #265: a stale block reason can linger up to one fetch tick (30 s); a branch literally named `HEAD` or `unknown` is treated as detached. - **Bundle budget** — 1,002 KB after 3.15.0 (main chunk measured at 1,001 KB), then 1,005 KB for the lot A resolvers (measured at 1,004 KB: `@gitwand/core` is in the main chunk), 1,009 KB for lot C (measured at 1,008 KB), and 1,011 KB for the QA follow-ups (#323, measured at 1,010 KB). These raises were the last ones: from v4.0 a feature lands in a lazy chunk. **3.15.x — lot A: resolvers** (wrong resolutions a user can see) - _Done on `fix/resolvers-dockerfile-imports`, unreleased (detail in CHANGELOG, Unreleased)._ Dockerfile resolver: one-sided deletions, comments matched by text, theirs' reorder kept; imports resolver: every import of a module compared, `require` bindings read. - Textual engine, "pure insertions" pattern: the union of insertions from both sides puts them after the base lines, so in a Dockerfile an instruction inserted before `USER node` on each side lands after it (seen during the lot A review; the Dockerfile resolver now settles that case itself, but other files reach the pattern). Insert each side's lines at their position - Dockerfile resolver: stages come out in ours' order, so a reorder of whole stages made on theirs is lost (instructions inside a stage are handled) **3.15.x — lot B: test net** (before v4.0 moves code) - _Done on `fix/test-net`, unreleased (tests only, nothing user-visible):_ - `packages/core` history tests that spawn git get a 30 s timeout (`GIT_TEST_TIMEOUT`), and the prompt-history tests share one read-only repo instead of building four (they took 7–8 s against the 5 s default under the full suite's load) - the log view epoch (#214) is tested: a scroll page or a `loadLog` result fetched for the view a filter change left is dropped, a forced reload refetches down to the viewed row plus a page (one page with no viewed row), and a filter change fetches one page and forgets the old view's depth. Removing the request-number, log-generation or anchor-reset guard, or the depth formula, fails a test; the epoch counter itself cannot be pinned: every view change also starts a newer request and bumps the log generation, which drop the same results - `FileExplorerPanel` tests await the lazy CodeMirror chunk and the file's text in the editor instead of a fixed number of ticks (the two roadmap entries for that flake were one) - parity `stack.test.mjs` › "stack-status is identical for every fixture state" gets 120 s (eleven stack fixtures: 17 s alone, 76 s against its 60 s in the full parity run on a loaded machine) - `useStacks-realBackend` › "retries a failed after-restack handling…" gets 60 s (it spawns git synchronously at every step: 35 s against its 30 s under heavy load, seen during this lot) - `merge_back_without_a_recorded_base_still_works`: not reproduced in 45 runs of the `scratch` tests alongside the full Rust suite (none in 15 runs on 2026-11-26 either); left as is. The `scratch.rs` test repos now remove their parent dir, where the task worktrees are created, instead of leaving it in the temp dir - parity-probe entries and parity tests for `read_commit_template` (empty key, template, directory, over 64 KiB, missing file) and `ai_http_request` (`none` auth against a loopback server: GET, POST body and headers, error status, redirect not followed, refused URLs and method) - Found in the lot B review, production behaviour, not changed there (tests only): `read_commit_template` (Rust and dev-server alike) - resolves a relative `commit.template` (`.gitmessage`) from the app's working directory, where git resolves it from the repository: join it onto the repo - the dev-server reads a template that is not valid UTF-8 with U+FFFD where Rust refuses it (the #188 shape): decode with `fatal: true` and refuse the same way, with a Latin-1 parity case - expands `~user/x` as `$HOME` + `user/x`: expand only a bare `~` or `~/` **3.15.x — lot C: security & data safety** - _Done on `fix/security-data-safety`, unreleased (detail in CHANGELOG, Unreleased):_ curl reads no curlrc (`-q`); #239 (a reflog tip counts as a local rewrite only when left by a rebase or an amend); the `ai-runs` sweep keeps the run of a live process; #234 (a read started before a PR edit lays the edit over); dev:web's AI endpoint gate (`GITWAND_DEV_AI_ORIGINS`); OpenAI-compatible servers without a key; allowed AI endpoints listed and revoked in Settings; remote images through the backend (`gwimg:`), `img-src` closed; Antigravity prompt on stdin, in plan mode; Copilot locked down to its file viewer, prompt off the argv; no user MCP server for Codex (`--ignore-user-config`) and opencode (disabled by name); Windows `claude --help` probe in a Job Object. - Left from it: - Copilot keeps its sessions (the prompt, so repository content) under `~/.copilot/session-state`; 1.0.117 has no switch to turn that off - Antigravity in plan mode: commands, file edits and `read_url_content` checked as denied (agy 1.5.4); `search_web` not checked. A plan-mode run may write its plan artifact where agy keeps them - the `--force-if-includes` fallback (a force push whose destination tip cannot be read) keeps git's own blind spot for a pulled commit later reset away: it is in the branch's reflog, so git accepts the push - #239's reflog rule only counts a tip a commit, cherry-pick, revert or `am` made here set, or one a rebase / `pull … (finish)` / amend left. A tip set by a rebase, a branch creation or a fast-forward merge is not counted (any of them can set a collaborator's commit: a fast-forward `git rebase origin/x` writes `rebase (finish)`), so after undoing such a commit and committing again, Sync stays the default unless the patch-equivalence check passes; Force Push stays available, with its confirmation - `worktreeService.devserver.test.ts` › "merges back like the backend…" timed out once at 30 s under the full desktop suite during the lot C review (12/12 alone): same load pattern as lot B's flakes - not tested in the packaged app: the `gwimg:` image scheme (avatars, README badges, accepted PR images), the Settings endpoint list against the real keychain, the Windows Job Object (CI compiles it) --- ### Performance & baselines — v4 track (was v3.16.0) _Moved to the v4 track on 2026-11-26, since 3.x takes fixes only. The measurements run against 3.x as it is and give the floor the new environment must hold; the changes land in the v4 work (the in-process git reads are backend and serve both; the diff views and highlighting are rebuilt with the new Files mode rather than patched twice). Already in place: vendored `git2` (diff, directory listing), Tauri Channels for streamed results, `@tanstack/vue-virtual` on the commit log and the file tree, a watcher that coalesces events and skips build folders, and the refs fingerprint of #315. What follows is what is left._ **Measure first** - **Linux inotify validation** (moved out of v3.11.0, 2026-09-14, same reason): the v3.10 watcher registers inotify watches across the working tree, and registration cost on a `node_modules`-sized checkout was never measured on real Linux hardware, the work having been done on macOS where FSEvents has a different cost model. It is a measurement, not a change: the outcome may be "nothing to do" or "the watcher needs rework", which is precisely why it cannot sit on a release's critical path. Needs doing before the watcher is leaned on any harder, and before the v4.3 indexer becomes its second consumer. - **Snapshot cost on very large working trees** — each snapshot runs `git add -A` into a scratch index, which is O(worktree) on a cold cache. Fine on normal repos, unmeasured on a 100k-file monorepo. Benchmark alongside the v3.10 FS-watcher work, where the same walk gains a second consumer. **Git reads in-process** - **libgit2 phases 3-4** — migrate `git_log`/`git_show` (revwalk, the real win on 40k commits — but the object-fetch loop needs optimizing first) then `git_file_log` (`--follow`/rename tracking to reimplement). Scheduled here; `gix` is evaluated in the spike below. - **`gix` spike, time-boxed** — same scope as phase 3 (revwalk for `git_log`/`git_show`), same parity tests, same benchmark repo; one decision at the end: stay on `git2` or move the reads to `gix`. Writes, filters, hooks and credentials stay on the CLI either way. - **SHA-256 / reftable repositories** (2026-10-08 scan: GitButler 0.19.10, Sublime Merge 2130, Zed) — git handles them, but a few GitWand parsers assume 40-hex ids (`git/libgit2.rs:754`, `dev-server.mjs:4165`). Audit every such assumption and add a SHA-256 fixture repo to the parity tests. - **Git Tree: reload only the first page on a refs change** (follow-up of #315) — a refs event whose refs did change still forces a full log reload and restarts the background prefetch (≈750 ms of `git log` on a 74k-commit repo), even when only rows of the first page moved. Reloading only the first page needs to know where new commits land in the held log (a fetched branch with old commit dates is inserted deep). **Rendering** - **Virtualize the diff views** — `useVirtualRows` covers `CommitLog`, `FileTreePane` and `PrInlineDiff`; `DiffViewer`, `CommitDiffViewer` and `CombinedDiffBody` render every line of a diff. - **Syntax highlighting off the main thread** — highlight.js runs on the main thread and its eager language set sits in the main bundle (`utils/highlight.ts`). Move it to a Web Worker (or to Rust), highlight the visible window only; this also gives bundle budget back. - **IPC payloads** — audit the `invoke()` calls that still return a whole log or a whole diff as one JSON; stream them over a Channel in pages, visible window plus a small buffer. **Baselines** - Publish the numbers next to the engine benchmark: cold start, first log page and full prefetch on the 74k-commit repo, a 50,000-line diff, status on a large working tree, watcher cost on Linux. v4.0 is checked against them, like the bundle budget (`apps/desktop/perf/`). --- ### Real-machine checklist (never gates a release) _Checks that need another machine, another person or the packaged app. Run when the machine or the reporter is available; a release does not wait for them._ - Real-machine check on Windows: hook commands through `cmd /D /C`, `%VAR%` expansion, ConPTY exit events and Job Object teardown were only covered by CI - The live CI tab (#295) and per-check commit (#296) were only tried against GitHub: check them on a real GitLab pipeline (merged-results included) and an Azure build - `gh` targeting (#300): creating and merging a pull request through `gh`, and GitHub Enterprise, not tried for real yet (reporter asked to test the build) - Issue creation (#301) and private-repository attachments (#302) were tried under `dev:web` only: check them in the packaged app - **Manual pass over the AI hunk queue in the packaged app** (outstanding from the issue #196 work). The UI half is done: a run against the real `claude` CLI under `pnpm dev:web` (4 complex hunks, one file) watched the batch stage 4 answers, confirmed one hunk and saw the other 3 survive renumbered onto the right hunks, saw a rerun re-buy nothing, and saw a cancelled call's late answer land nowhere. What is left is the responsiveness half, and it **cannot be checked under `dev:web`**: `dev-server.mjs` spawns the provider with `spawnSync`, so it blocks its own single thread for the whole call (measured: an unrelated API request waited 10.1s; the 4-hunk batch took 79s as four serialized calls, never 3 concurrent). The dev-server therefore shows the opposite of what the Rust `spawn_blocking` change fixes. The mechanism itself is now pinned by a Rust regression test (`commands::ai::tests`): three AI commands are put in flight on a deliberately single-worker runtime and a 50ms timer still fires in 50ms, where the same test measured 3.2s before the `spawn_blocking` change. What is left is therefore only the human half, in the packaged app: that the window keeps painting and the progress and partial-failure lines read correctly while a real batch runs. - **Follow-ups from #257 (GPU-first rendering on Linux)** (2026-10-13): - the software fallback is untested on the setups it is for: only the #135 (Ubuntu 26.04, native Wayland) and #139 (Mint 22 `.deb`) reporters can confirm that the second launch recovers. Ask them once it ships - the first launch that hits the EGL abort still shows nothing; only the next one switches to software. A launch that hangs without aborting is not detected - remove the shim (`commands/render_fallback.rs`, its two commands and the Settings row) once the EGL abort is no longer reported. It is not tied to a build host: #135 was on 26.04 - #264: `git_untrack_paths` needs git ≥ 2.25 (`--pathspec-from-file`) - #263: the fr/es/pt-BR/zh-CN strings for the Keep mode were not read by a native speaker - #314 and #315 were not tried in the packaged Tauri app; #314 not on Windows (native dialog, Credential Manager) nor against a real `glab` **Dated** - 25 December: check that the scheduled website deploy opened every advent door (cron 06:00 UTC in `deploy-website.yml`), else run it by hand - **Move the Linux build host to ubuntu-24.04** (around April 2027, when 22.04 leaves standard support) — release and bundle builds run on ubuntu-22.04 so the `.deb`/AppImage keep working on glibc 2.35 (22.04, Mint 21.x, Debian 12). Moving drops those systems, so announce it one release ahead. --- ### v4.0.0 — The workspace (a break) _A new working environment, not a rearranged one: GitWand supervises and controls agents that run in their CLI. It is built on the map of the app (106 Vue components, 354 Tauri commands in 33 Rust modules, a main bundle at its budget, several things that exist more than once), and it is the one release where removals and breaking changes are allowed. Developed as preview builds while 3.x only takes fixes; its largest risk is the terminal, which becomes the main surface and has to hold up all day (rendering, shortcuts, several sessions, recovery after a freeze)._ **The environment** - **Task sidebar, always there** — one row per task (a worktree and its branch), across repositories, grouped by repository; on top, what waits for an answer. Each row: agent or human, status, files changed, PR state, predicted conflict with another task. Replaces the repository tabs, the toolbar and the dock. - **Three modes for a task** — **Session**: the agent's terminal as the main surface. **Files**: the File Explorer, editor and diff that exist today as an overlay, given a real panel; opens on the task's changed files, with a switch to the whole tree; shows which session wrote a change. **Integration**: the merge flow (completed in v4.1). - **Repository instruments, not a repository view** — graph (every task's branch against the target), restore points (Time Machine: go back to before this session), guardrails, PR & CI: panels opened beside the task, for control and visualization. Stash, tags, submodules, bisect, release notes, new issue: command palette. - **The centre is never empty** — there is always a selected task; no "select something" screen. **Supervise and control agents** - **Control at the Git boundary first** — works for any CLI, because every agent ends up committing and pushing: worktree lock while an agent runs, lifecycle hooks (v3.13), commit review and secrets scan as gates (v3.7, v3.5), push held until validated, protected branches, restore points before and after a session. - **Guardrails per task** — what this agent may do without asking: paths it may touch, commands allowed, whether it may commit, whether it may push. Never auto-allow by default; a refusal is structured (principle 6). - **Stop, pause, resume** a session from the sidebar; a frozen or crashed session is recovered with its history. **Creation** - Start from a branch, a remote branch, a PR (`pull//head`) or a Launchpad issue (GitKraken 12.4): branch named after it, issue body as the starting prompt - Agent picker (Claude Code, Codex, Gemini, Antigravity, opencode… — the providers GitWand already knows), not Claude Code hard-wired - **Antigravity CLI (`agy`) as a first-class agent, early** (asked 2026-11-27) — GitWand already launches it in the terminal and uses it as an AI provider; what the workspace needs on top: recognise its sessions and worktrees (`detect_agent_tool`), live status from PTY and process like any CLI, then whatever hook mechanism it exposes for richer states and permission requests. Its two open hardening items are in the 3.15.x security lot (prompt still passed on argv, tools not restricted) and come first **Visibility** - A worktrees view, sortable and filterable, replacing the modal: branch, dirty count, ahead/behind, last activity, disk use, PR state, env URL, agent status - One WIP row per dirty worktree in the Git Tree (GitKraken 12.3), building on the #224 WIP-as-Git-Tree-entry work - Recognise worktrees created by other tools (`.claude/worktrees/`, Conductor, Superset…) and identify an agent session by its process, not by the presence of a `.claude/` folder — `detect_agent_tool` flags every worktree of a repo that commits `.claude/`, GitWand's own included - The task sidebar and the Integrate view keep a place for a per-task impact signal, so v4.3 can add "symbol-level impact" without redoing the screens **Agent status** - **Live status** — per session: running, waiting for input, idle, exited. Baseline with no integration: PTY output activity + process state (works for any CLI); richer states from each CLI's own hook mechanism where it has one, starting with Claude Code hooks. Shown on terminal tabs, in the worktrees view and as an OS notification when a background agent starts waiting - **Permission requests in-app** — when the CLI exposes it (Claude Code hooks first), surface the pending tool call with the exact command, Allow / Deny from the panel. Never auto-allow; an unanswered request stays pending in the terminal exactly as without GitWand **Cleanup** - `git worktree lock` while an agent runs (Claude Code does the same), unlock when it exits - Clean up once the PR is merged (v3.14 merged-PR detection, `gh_branch_pr` as the signal) or after N days inactive, single or batch (Dendreo's `clean --merged`), always through `teardown` **Follow-ups from v3.13.0** - Restore as worktree opens a tab on the restored worktree (a toast only today); removed worktrees leave the Recent list - The worktree manager shows "No worktree" for a moment while it loads; the apply button keeps "Merge and auto-resolve" in Rebase mode **The map (how it gets built)** - **Inventory by domain** (repository & status, history & Git Tree, diff, merge & resolution, forges & PRs, AI, worktrees & agents, terminal, settings): for each, its views, composables, Tauri commands, dev-server routes, weight in the bundle and how it is tested (unit, parity, `dev:web`, packaged app). Kept in the repo and updated like the command registry. - **Use it as the rule for new work** — a feature names the domain it belongs to before it is built; one that fits none is a decision, not an addition. - **How each domain is tested** — two PRs in a row (#314, #315) were verified under `dev:web` only, and `dev-server.mjs` behaves differently from the Rust side in places (`spawnSync` for AI calls, CRLF in diffs). The map states, per domain, what `dev:web` can and cannot prove. **Regroup** - **Views are re-homed before they are redesigned** — each existing view is lodged in the new environment by domain; the mockups decide the frame, the map decides where each piece goes. - **One surface per flow, as a rule** — a flow that today crosses several modals is a candidate for one screen that advances by steps. First application in v4.1 (merge). - **One lazy chunk per domain** — the main bundle keeps the shell and the repository view; every other domain loads when it is opened. Target: a main-bundle budget that goes down, then stops moving. - **Design: one button system** (2026-11-24, from the v3.14 GitHub QA) — `assets/main.css` has a global `.btn` (`--primary`, `--secondary`, `--ghost`, `--danger`, `--success`, `--icon`, `--sm`, `--xs`, `--lg`, `--ai`), used in ~70 components, yet ~119 component-local button classes (`.xxx__btn`, `.xxx-btn`, `.bm-btn`, `.eco-btn`…) restyle buttons on their own. Each one re-decides padding, radius, hover and disabled states, and they drift: the stack banner's primary button lost its accent on hover because a local `:hover` outranked the local modifier (fixed by moving it to `.btn`). Inventory the local classes, map each to a `.btn` variant or justify a new one (dense rows, toolbar segments, BaseModal's `.bm-btn` and its specificity rule in AGENTS.md), then migrate in batches with a before/after screenshot per batch, light and dark. - **Per-project identity everywhere** (from the #246 review) — the project's identity (`commitIdentityFor`) reaches plain commits and custom automations only; amend, split, `--no-ff` merge, revert and cherry-pick still use git's config, so the committer (and for merge/revert/cherry-pick the author) can differ inside one project. Route every commit-creating command through it. Also key `identityOverrideByRepo` on a canonical path (case-folded on case-insensitive filesystems, worktrees resolved to their main repo), so the same project opened through another spelling or a linked worktree keeps its identity - **One diff parser, one place that derives file status** — closes the four #269–#270 follow-ups below instead of patching each copy: - CRLF: Rust strips `\r` from diff line content, the dev-server keeps it (also true of `git_diff`) - file status (added/deleted/renamed) is still derived in several places with different coverage (`parse_diff_hunks`, `parse_multi_file_diff`, `devParseDiffHunks`, the dev-server `git-show` loop) - combined `@@@` hunk header numbers differ (Rust old 1,1 / new 0,1; core and the dev-server 0,1,0,1), and `isPureMove` on a combined hunk - strict hunk counts cut a hunk whose header undercounts its body; no forge path in the app sends such diffs today **Rebuild what the workspace touches** (added 2026-11-27) _The map counts and locates; this is what is done with it. The rule that bounds it: refactor only what the new environment touches. A view lodged in the new shell goes through a clean domain interface, and the old code is deleted once nothing calls it. The rest does not move. No behaviour change in a refactoring commit; the parity tests are the net._ - **Commands filed by domain** — `commands/ops.rs` holds 86 of the 347 commands. Split it along the map, one module per domain, with one naming rule. - **One interface for the forges** — GitHub, GitLab, Azure DevOps, Bitbucket and Gitea add up to 152 commands written side by side, forge by forge. One set of forge commands with five implementations behind it: the frontend stops knowing which forge it talks to, and most of the 105 commands with no `dev:web` route stop needing one each. - **Decide what `dev:web` runs** — `dev-server.mjs` is 11,497 lines, a second backend kept in step with the Rust one by hand and by parity tests. Study having `dev:web` call the real Rust backend, started beside it, before choosing: it would remove the duplicate and what guards it, at the cost of needing the Rust toolchain for frontend work. - **Structured errors** — a command returns a typed error (kind, what was computed, what is missing), not a sentence; same discipline as the structured refusals of principle 6. - **One place that spawns processes** — every child process gets a timeout and a kill of its whole tree, as #314 did case by case for the model-listing commands. - **The largest files** — `App.vue` (6,652 lines) is replaced by the new shell rather than split; `SettingsPanel.vue` (5,047) is cut by domain, and settings get one declaration instead of the two that AGENTS.md asks to keep in sync. - **Guards, so it does not grow back** — a lint rule forbids imports across domains except through a domain's interface; a size ceiling per file; the bundle check extended to one budget per lazy chunk. **Remove (breaking)** - **Decide the fate of the `explainOnly` option** (follow-up to the v3.7.2 predictor fix): it short-circuits `resolveHunk()` before the format-aware dispatch and the confidence gate, so any caller that reads `stats.autoResolved` after using it gets a structural `0`. That is exactly how `gitwand preview` and two MCP tools shipped broken. After the fix the option has zero consumers in the monorepo while staying part of the public `GitWandOptions` contract, so it is now a footgun with no user. Either remove it (breaking change for external consumers, if any) or redefine it as "classify and resolve, but do not assemble merged content", which is what every call site actually wanted. - **Retire the frontend's "default to GitHub" forge fallback** (follow-up to the v3.7.3 self-hosted-GitLab fix, #168): `useForge.ts`'s `getProviderByUrl`/`usePrPanel.ts`'s pre-resolution `forge` computed still assume `githubProvider` whenever detection hasn't resolved yet (no remote, `dev:web` mode, or a genuinely unrecognized forge) — a deliberate, documented backward-compat default, not an oversight. The Rust-side detection is now forge-agnostic end to end (URL match → `glab`/`gh auth status --hostname` probe), so the one remaining non-deterministic step is this UI default. Precedent exists for the alternative: Cursor Origin (#165) shows an honest "unsupported forge" state instead of guessing. Doing the same here would need the brief pre-resolution window (before `gitRemoteInfo()` returns) to render a neutral/loading state instead of an optimistic GitHub guess — deferred until there's a concrete report of it mattering, since today it never surfaces the wrong forge for supported CLIs. - **libgit2 for `list_repo_tree`** (candidate, 2026-10-01) — the File Explorer panel's one-shot tree is `git ls-files --cached --others --exclude-standard`, capped at 20,000 entries. It could read the index directly and classify untracked entries with `is_path_ignored`, the way v3.11.2's `list_repo_dir` does (66 ms for a 6,000-entry directory against 1.6 s with `git check-ignore`). Decision for v4.0: retire `list_repo_tree` (no frontend caller since v3.11.2, when the panel moved onto `useLazyRepoTree`) or migrate it to libgit2 if a caller returns. Same rule as every libgit2 migration: measure first, keep the CLI fallback, cover it with parity tests. libgit2 stays off anything that runs filters, hooks or external config (LFS, signing, credentials), off writes, and off algorithms it implements differently (blame, histogram/patience diffs). **Security, structural** - an XSS in the webview still drives every IPC command: scope commands per window/capability, and give `read_file`/`write_file` a registry of repositories the user opened rather than the `.git`-ancestor check (a dotfiles repo at `$HOME` passes it) --- ### v4.1.0 — Resolution engine _The engine's principles written down, then the loop that lets real use correct it. Starting points: `core-analyse.md` (2026-04: too textual, naive `whitespace_only`, discrete confidence, no post-resolution validation) and the measured accuracy of v3.9._ **Principles and research** - **A written position for the engine** — what it guarantees (deterministic, explainable, never silently applies a `complex` hunk), what it refuses to do, how confidence is defined and measured, and where it stands against the research on structured and semantic merge. Published in `docs/` and on the website; every resolver is then checked against it. - **Review `core-analyse.md` against today's code** — which of its weaknesses v3.9 to v3.12 closed, which remain, and which become v4.3 work (symbol level). **The journal and what it feeds** - **Journal of resolutions** (deferred from #301 part 3): a bad resolution found after the file is saved (tests failing after the merge) cannot be reported from GitWand, since nothing keeps the hunk, its versions or the engine's reasoning once the merge editor closes. A journal of applied resolutions would let "Report a bad resolution" work after the fact, and from bulk "resolve everything" runs that are never looked at hunk by hunk. - **Local accuracy screen** — "engine accuracy on this machine", read from the journal: per pattern and per language, how many resolutions were accepted, edited after apply, rejected or undone. Useful with nothing shared, and it is the same store as the Code Intelligence feedback loop (v4.3) and `useResolutionMemory`. - **Opt-in shared counters** — the only automatic channel, and off until the user turns it on: - asked once the screen above has numbers to show (around twenty resolutions), never at launch, with the exact payload displayed before the choice - what is sent: weekly aggregated counts keyed by conflict type, resolver, confidence bucket, language, engine version and outcome - what is never sent: file content, paths, repository names, hashes of lines, an installation identifier - the collection endpoint stores no IP address; legal review (GDPR) before it ships - a `.gitwandrc` key turns the question off for a repository or a team - the aggregated dataset is published, next to the benchmark - reading the data: "accepted" is not "correct"; edited, rejected and undone are the reliable signals - **Cases stay explicit, one by one** — a hunk is code and cannot be anonymized. Learning from a case goes through "Report a bad resolution" (#301), with a preview of what is sent, made possible after the fact by the journal. An optional skeleton form (identifiers and literals replaced by tokens) still shows structure, so it belongs to this channel only. **One merge surface** - **The merge flow on one screen** — today it crosses at least seven components (`MergePreviewPanel`, `ResolutionPreviewPanel`, `MergeEditor`, `MergeApplyReport`, `ResolveAutoSummaryModal`, `MergeBackDialog`, `MergeSuccessModal`). One surface that advances by steps: preview, what was resolved and why, what needs a decision, apply, report. - **The proof next to the decision** — every automatic resolution shows its pattern, its confidence and the measured accuracy of that pattern; the screen says how many lines are left for a human to read. - **Same state for agents** — the screen renders a structured state that `@gitwand/mcp` exposes as is. **Context and queue** - **Rebase preview loses commit provenance** (deferred from v3.11.0 lot A1): `preview_rebase` replays each commit of the stack separately, then deduplicates the results per file keeping the strongest conflict signal (`read.rs`, the `by_file` fold). Which replayed commit actually produced a given conflict is discarded in that fold, so the panel cannot say "this conflicts at commit 3 of 5", and a future per-commit "stop here" apply cannot be driven from the payload. Fixing it means a new field on the serialized `FileMergePreview`, which ripples into the dev-server route and the parity normalization, so it was left out of the release that added the routes. The scratch-file race and the missing `-L` labels in the same function were fixed; this one is purely an enrichment. - **History-aware prompts for the MCP** — align `buildResolveHunkPrompt` / `gitwand_resolve_hunk_llm` with the v3.11.1 history context (`collectHunkHistory` is already exported from `@gitwand/core`). - **Rename-aware history** — `blame -M -C` / `log --follow` for the v3.11.1 history context. - **Honor `.gitwandrc` `llmFallback.model` / `maxTokens` on the desktop** — ignored today in favour of the app's AI settings. - **Hard cancel for an in-flight AI call** (deferred from the issue #196 work): cancelling a hunk or a batch marks the entries idle and discards late results, but an already-spawned `claude -p` keeps running to completion. Killing it needs a Rust command holding the process handle plus a way to address it from the frontend, which is its own piece of work. --- ### v4.2.0 — Integrate: parallel work _What is left of Agent Workspaces II once the workspace itself is in v4.0 (re-cut 2026-11-26): the view across tasks. Placed before Code Intelligence: it rests on the Conflict Predictor that already exists, and parallel agents are where silent conflicts come from, which is the case v4.3 is built for._ **Parallel work — where the engine pays off** - **The Integrate view** — the merge queue of ready tasks (agents' and humans'): predicted conflicts between them and against the target, a proposed merge order, what will resolve automatically and what will need a decision, and how many lines are left for a human to read. The centrepiece of this release. - **Cross-worktree conflict prediction** — run the Conflict Predictor between parallel tasks and against the target before anything lands: "task A and task B will conflict on `useRepo.ts`, 3 hunks, 2 auto-resolvable". Strand only warns that two worktrees touch the same files; nobody predicts the actual conflicts. The headline of this release - Compare two attempts at the same task side by side, keep one (Strand) --- ### v4.3.0 — Code Intelligence: code-graph impact before merge _Renamed from "Blast Radius" on 2026-11-26: the release builds a layer (import graph, reverse dependencies, co-change, test mapping) that serves the Impact panel, silent-conflict detection, review ordering and the cross-worktree prediction of v4.2, so it is named after the layer, not after one of its outputs. "Code Intelligence", not "Intelligence": the layer is deterministic and local, with no model in it. "blast radius" stays in the text as the ordinary phrase._ _Inspired by Snipara's project-intelligence layer. Before a merge/rebase, answer: "what does this operation risk breaking?" — the natural extension of Conflict Predictor + `postMergeRisk` (v2.4.1), and a headline differentiator. The same graph also answers the question one step later: "did it actually break something a text merge couldn't see?"_ **Today's baseline** — `packages/core` already embeds tree-sitter (TS/JS/Python/Go/Rust WASM grammars), an ES/CJS import parser (`resolvers/imports.ts`) and parse-tree validation (`validate-parse-tree.ts`), but no dependency graph, caller discovery, or test mapping. - **Early exit before parsing** — `git diff --name-status` on the two branches first: if every path is either newly added with no `import`/`require` line referencing a symbol the other side changed, or matches an asset/doc extension (`.css`, `.png`, `.md`, …), the engine declares no possible semantic collision and returns without loading tree-sitter. Same spirit as `.gitwandrc`'s `generatedFiles` skip. Cheap, not literally free — an added file's imports still get scanned against the other side's changed-symbol list, since a new file can call into a renamed export it never touched in the diff - **Import graph** — `packages/core/src/codeanalysis/`: tree-sitter queries build the module adjacency graph (browser-safe, incremental). Cached locally, content-addressed by blob SHA (git's own object model, no external index format): a file's parsed edges are only recomputed when its blob changes, so re-running against an unchanged `main` costs nothing. Considered and dropped: downloading a prebuilt LSIF/SCIP index from CI — real repos rarely have one, and it would pull in exactly the cloud/infra dependency the local-first positioning avoids elsewhere on this page - **Reverse dependencies** — for each file touched by the operation: who imports it, which exported symbols changed - **Shallow parsing on dependents** — full AST only for the files a branch actually changed; on unmodified files reached through the reverse-dependency edges, tree-sitter queries pull import declarations and call expressions only, function bodies/loops/local variables are never walked unless the file itself was touched. Keeps the cost proportional to the blast radius, not to the repo - **Silent conflict detection (`detect_silent_conflict`)** — the case git's text merge never flags because the two sides touched different files: branch A renames a symbol or changes its signature, branch B keeps calling the old shape somewhere the line-level diff never intersects. Runs the same import graph against the merge's actual result (local `git merge --no-commit --no-ff`, zero side effects, same discipline as `gitwand_preview_merge`) instead of the pre-merge diff. A scored pattern registry (`renamed_export_vs_import`, `signature_change_vs_unchanged_call`, `deleted_variable_vs_scoped_reference`) reports a traced collision — `files_involved`, `confidence`, a `trace` built only from real symbol/line names, never a paraphrase — and never auto-fixes it. Mirrors the text engine's own rule (a `complex` hunk is never silently applied, v3.9.0) one layer up, at the symbol level instead of the line level - **Probable-test detection** — heuristic mapping (`*.test.*` / `*.spec.*` naming + import edges) → "these 12 tests likely cover the changed code" - **Co-change analysis** — "these files historically change together" mined from local `git log` (zero cloud, cheap); a second impact signal complementing the static import graph, exactly the history hop Greptile does server-side - **Impact panel** — new tab in `MergePreviewPanel`: impacted files ranked, affected symbols, suggested test scope; feeds an `impact` dimension alongside `postMergeRisk` - **Review ordering** — blast radius reused in the PR review (v3.5.0): files ranked by impact, "start with these 2 files" - **Feedback loop** — rejected impact predictions / auto-resolutions lower the pattern's confidence (extends `useResolutionMemory`), the local analog of Greptile v4's false-positive reduction; the Engine Accuracy release's lot F (derive the repo's conventions by replaying its own history) is the active, measured form of the same idea — the two should share one store - **Agents too** — exposed via `@gitwand/mcp` (`gitwand_impact`, `detect_silent_conflict`) and CLI only, never the `/agent` WebMCP page, which by design never touches a real repository or its history. Positioning: Greptile sells this as a paid API ("Genius API", $0.45/req) — ours is local, free, open source - **Package-graph pre-filter (optional)** — when the repo already has an Nx, Turborepo or Bazel project graph, use it as a coarse first pass: if `main`'s changed package isn't a dependency of the PR's changed package, declare a pass without loading tree-sitter at all. Falls back to the `pnpm-workspace.yaml`/`package.json` workspace graph GitWand already reads when none of the three is present, so this works the same on GitWand's own repo (plain pnpm workspaces, no Nx/Turborepo/Bazel) as anywhere else. Package-level only — two files inside the *same* package still go through the full reverse-dependency graph, since that's where `renamed_export_vs_import` actually lives - **CI/CD gate** — `detect_silent_conflict` doubles as a CLI check (`gitwand check-semantic`, `packages/cli`), runnable as a GitHub Actions / GitLab CI job against a PR's would-be merge (fetch base + head, no working-tree side effects). Ships advisory first — inline PR annotations — following the `gitwand scan` precedent (v3.5.0: non-blocking badge, opt-in pre-commit hook before anything blocked); becomes a hard-blocking gate only once its false-positive rate is measured and cleared, the same discipline that kept `--regenerate` CLI-only at 38.5% agreement against an 80% bar (Engine Accuracy, v3.9.0). `benchmark-gate.yml` is the existing precedent for a hard block already living in this repo's own CI - **Opt-in & lazy** — computed post-preview, never blocking the merge flow; enabled in Settings --- ### v4.4.0 — Workflows & forges **Stacked Branches II** — _what v3.14.0 deliberately left out_ - **Stacks tab in Today** and the `⌘⇧S` shortcut from the commit area (v3.14 shows a stack banner at the top of every view) - **Submit stack**: creates or updates the PR of each layer - **Stale-head guard** (from the 2026-10-08 scan, Conductor 0.89) — a layer is merged only if the PR's head is still the commit reviewed locally: pass the expected `sha` to the forge merge endpoint (`rest_merge_pr` sends only `merge_method` today; GitHub refuses with 409 on mismatch, GitLab has the same parameter). Applies to every in-app PR merge, not only stacks - **Archived Branches "merged" hint**: a one-click Archive on branches whose PR is merged (the v3.14 merged-PR signal feeds the v2.12 Archived Branches) - **Retargeting on GitLab / Azure DevOps** after a merged parent - **Switch back across worktrees** (known limitation of v3.14, from its review) — whichever worktree refreshes first settles a pending restack, and only the worktree that ran it switches branches. If another GitWand window, on another worktree, refreshes first, the restacking worktree stays on the top layer (nothing lost), and after an abort may stay on a detached HEAD. Fix: leave a "switch back" note for that worktree to act on at its next refresh (keyed on its id and the top's tip), without holding the stack meanwhile **Identity** - **SSH routing on identity profiles + wrong-account guard** (from the 2026-10-08 Multi-Git scan) — the v2.12 profiles (`useIdentity.ts`) only inject `user.name`/`user.email` at commit time; authentication still goes through the global SSH config. Add an optional SSH key per profile, routed per operation via `GIT_SSH_COMMAND` (fetch/pull/push/clone), auto-select rules on the origin URL (`github.com/acme/` → Pro), and a pre-push check: the account the key actually signs in as (`ssh -T`, remembered per key) vs. the one the remote expects; on mismatch, block with an explicit override, force-push included. Real pain for anyone juggling work and personal accounts, and author + key always switch together, so a repo can no longer push as one account and commit as another. **Forges** - **Gitea, the part worth doing** (from the v3.11.0 Gitea lot, issue #193): forge-side auto-merge via the merge endpoint's `merge_when_checks_succeed`; submitting and dismissing reviews, per-file review history; a test file for `SettingsAccountsTab.vue`, where the frontend-to-Rust join already broke once; and the small defects from the 2026-09-16 review: commit links force `https` and drop the port, `openOnForge` sends a Gitea repo to github.com (as it does for azure and cursor), the account form keeps a stale username when the forge select changes, the dev-server `gitea-pr-count` route and the Rust command disagree on ceiling and on error handling. The rest is in Not planned. - On a fork, issues read through `gh` come from the parent, through the token from `origin`: align the two; reviewer and branch lists stay on `origin` - **Follow-up: PR review entry point** (subset of a PR's commits) — needs a PR commit list per forge and a fetch of `pull/N/head` **File Explorer, watcher, history** - **Stage / unstage from the File Explorer panel** (the one File Explorer follow-up kept from v3.11.2, spec §10) - **Re-list loaded folders without the watcher** (follow-up to v3.11.2) — the File Explorer panel re-lists a loaded folder only on a watcher event. With Live Repo off, or with the watcher unhealthy (network mounts, for instance), new and deleted files never appear in a folder already loaded, while the folder badges, fed by status polling, do change, so the tree and its badges disagree. Add a Refresh action, or re-list the loaded folders whenever the `repoFiles` path set changes and the watcher is not healthy. - **Refresh a clean File Explorer tab on an external change.** A tab's buffer is read when the tab opens. Since v3.11.2 a clean tab re-reads the disk when it leaves its Diff side, but a tab that stays on File does not see an edit made outside GitWand until it is reopened. The watcher already reports the path, so a clean tab could reload in place, and a dirty one could offer to. - **Live Repo watcher blind spot on ignored folders.** The watcher drops events under `node_modules`, `target`, `dist`, `.venv` and `__pycache__`, so an ignored folder expanded with "Show ignored" in the File Explorer does not refresh live. Collapsing and re-expanding it re-lists it. - a file history entry outside the loaded history (line-range result, rebased commit) has no known name before a rename; the Compare tab says so instead of guessing — load more history, or have `git log -L` results carry names - **Commit Review coverage on a content-only restage** — v3.7.0's staged-set watcher fingerprints staged file paths + statuses, not content, so editing an already-staged file's content without changing which files are staged doesn't retrigger a coverage/finding recompute automatically (the pre-commit gate still recomputes coverage honestly right before the trailer is written, so the record itself stays accurate — this is a UI-staleness gap between review passes, not a data-integrity one). **Bisect** - **`git bisect run` from the bisect banner** (follow-up of #317) — run a user command at each step and let its exit code mark the commit. Same questions as worktree `setup`: where it runs (a terminal tab, so its output stays visible), stopping it, a timeout, and whether a command saved per repo needs the trust prompt. --- ### For reflection — competitive scan (GitUp · Aurees · Snipara · Strand · GitComet · RelaGit) _Competitive scan from 2026-06-24 across 6 clients/tools (Snipara, GitDriv, GitUp, GitX-dev, Aurees, GitBlade), updated 2026-07-20. High-signal leads were promoted into the versioned sections above after a code audit — PR Review 2.0 (inspired by Greptile) → **v3.5.0 (shipped)**, Commit Review (inspired by git-lrc) → **v3.7.0 (shipped)**, global snapshots/undo → **v3.8.0**, Live Map + libgit2 phase 1 → **v3.10.0**, editable diff + merge preview-to-apply → **v3.11.0**, Combined Diffs → **v3.15.0**, code graph/blast radius → **v4.3.0** (Code Intelligence). Discarded leads (GitDriv = beginner web drag-and-drop, GitX-dev = near-dead fork, GitBlade = parity only, abandoned since 2019) bring nothing advanced._ **2026-07-09 scan** — three serious new competitors (all post-dating v2.15.0), now folded into the [Competitive landscape](#competitive-landscape) table above: **Strand** ([strand/0.5.0](https://github.com/danielss-dev/strand), agent workspaces via worktrees), **GitComet** ([gitcomet/0.1.15](https://github.com/Auto-Explore/GitComet), pure Rust+GPUI perf), **RelaGit** ([relagit/0.16](https://github.com/relagit/relagit), design/SolidJS). _Synthesis: none of the three addresses structured conflict-resolution AI (Strand = agent workspaces, GitComet = perf, RelaGit = design) — GitWand's moat (auto-resolve + multi-repo Launchpad + extensible CLI/MCP) stays intact. Worth cultivating: the v3.8–v3.11 pipeline (preview-to-apply) + v4.3 code graph to widen the gap. Worth borrowing from their respective strengths: published a11y/perf baselines (Strand, → v3.10 benchmark pass), SolidJS vs Vue 3 benchmark on heavy diffs (RelaGit, → v3.10 perf pass)._ **2026-10-08 scan** — **Multi-Git** ([AnthonyKopri/multi-git](https://github.com/AnthonyKopri/multi-git), MIT, Electron/Node): multi-account SSH, safety net, coding-agent launcher, JSON CLI + MCP. No conflict AI (ours/theirs/manual only). Most of its safety layer is already covered: Recovery Points / Recently Discarded ≈ Time Machine (v3.8.0), "behind upstream" fast-forward ≈ v3.6.0, MCP `dry_run` + structured refusals ≈ design principle 6. Two leads kept: **SSH routing on identity profiles** (→ **v4.4.0**) and **opt-in auto fast-forward after fetch** (shipped in v3.12.3). Discarded: passphrase vault (the system agent/keychain does the job), parity features (bisect, notes, LFS, patches). **2026-10-08 changelog scan** — April→October release notes of GitKraken, GitButler, Tower, Fork, Sublime Merge, GitHub Desktop, Strand, GitComet, RelaGit, GitSquid, plus Zed, VS Code, lazygit, Conductor, Nimbalyst and the jj GUIs. Promoted: Agent Control → Agent Workspaces after the worktree audit (split on 2026-10-10 into **v3.13.0** and **v3.16.0**, the latter re-cut as **v4.2.0** on 2026-11-26); merged-PR detection and stale-head merge guard → Stacked Branches (**v3.14.0**). **Gitoryx** ([gitoryx.com](https://www.gitoryx.com/changelog), v1.0.1, 2026-10-06) added after the scan: only gaps worth taking are guided bisect and the tracked-but-ignored warning (bisect → **v3.15.0**; the warning shipped in v3.12.3); sprint view, GitFlow and gitmoji discarded, changelog generation ≈ our tag-triggered release notes. Already covered or planned: cherry-pick/revert conflict indicator (Fork 2.66 ≈ Conflict Predictor v2.20), combined diff (Tower 14.1 ≈ v3.15), stacked PRs (GitButler 0.22, VS Code ≈ v3.14), Forgejo, file history, pickaxe search. **Moat alert:** GitButler 0.21 ships AI-assisted conflict resolution and `but resolve` (0.22), Gitoryx an auto-resolve "wand" for identical blocks (0.0.31) and AI conflict resolution (0.0.42), IntelliJ 2026.2 a "streamlined conflict resolution flow" — "nobody else does conflict AI" no longer holds for GitButler; the measured-accuracy benchmark (v3.9) is the answer to keep forward. **Still watching:** - **Per-hunk commit attribution for parallel agents** (Nimbalyst 0.75) — when several sessions edit the same file, each commits only its own hunks. Interesting once Agent Workspaces (v4.2) knows which session wrote what; speculative before. - **`GitUpKit`** ([gitup.co](https://gitup.co/)) — their SDK for building Git clients, worth studying. - **Verification Plans attached to handoffs** (Snipara) — every PR/change carries the checks it must pass; overlaps with the CI annotations (v2.18.0). - **Greptile ([greptile.com](https://www.greptile.com/))** — largely absorbed into the plan (2026-07-02): multi-hop pre-review + confidence scores → **v3.5.0 (shipped)**, hot index → **v3.10.0**, LLM-fallback historical context → **v3.11.0**, local code graph + co-change + feedback loop → **v4.3.0**. Still watching: their public AI-reviewer benchmark (reusable for the v3.5.0 benchmark work) and how the Genius API evolves. - **git-lrc / LiveReview ([HexmosTech](https://github.com/HexmosTech/git-lrc))** — concept absorbed in **v3.7.0** (Commit Review). Still watching: their LiveReview team offering (dashboards, org policies, review analytics) — if the `GitWand-Review` trailer catches on, a cross-repo rollup in Today/Dashboard would be the local equivalent. - **FinderGit** — UX worth borrowing (file-tree first), macOS-only today; the Finder-like sidebar concept has been promoted to **v3.11.0**. Cross-platform via Tauri is a structural advantage over FinderGit's solo-dev status. --- ### Not planned (with what would bring it back) _Reviewed on 2026-11-26: too costly for the case they serve, or no real case yet. Kept here so the reasoning is not redone._ - **Voice Input** (was v3.17.0: local dictation in the commit panel through embedded Whisper, on-demand models, optional AI formatting) — an embedded model, downloads and microphone permissions on three systems, for a field the system dictation already reaches. Back if users ask for it, and then as an optional module, not in the main app. - **File Explorer: file operations (rename, delete, create) and tree-wide name search** — pulls the app toward an IDE, which the Vision excludes; search would also have to work with the 5,000-per-folder listing cap. Back with a concrete workflow that cannot be done from the terminal or the editor. - **Gitea, the rest**: check annotations, Gitea Actions logs, cross-fork PR creation, exact PR counts (the total is in the `X-Total-Count` header and `curl_with_status` captures no headers, so it means a transport change for every forge), and the old Gitea that ignores an unrecognised merge field. Back on a user report. - 97 forge commands are registered as `GAP:` (Azure DevOps and Bitbucket PRs, GitLab MRs beyond auto-merge and issues, Gitea beyond the 8 read routes, and some GitHub PR actions, reactions and auth flows) — dev:web cannot exercise them - _Accepted as is: covering them in `dev:web` costs more than it proves for forges that cannot be exercised for real here. The v4.0 map records them as untested rather than leaving them as a to-do._ - **Tree-shaped stacks** (a parent with several children) - **Bottom-up restack for git < 2.38** (no `--update-refs`), if users ask for it - **Snapshot rebase/cherry-pick state** — v3.8 restores `MERGE_HEAD` but not `.git/rebase-merge/` or `.git/sequencer/`, so restoring a snapshot taken mid-rebase or mid-cherry-pick brings the files and index stages back without the in-progress sequence. Restoring those is a directory copy rather than a plumbing call, which is why it was left out of the first pass. Revisit if users report rewinding mid-rebase. - **Multi-forge PR-freshness signal parity** — follow-up to the branch-badge background-prefetch/cache work (PR #125): GitLab/Bitbucket/Azure already get the breadth fix (background drain past the first page), but not the cheap freshness-signal instant-cache-restore fast path — GitHub-only today, since the other three don't yet have an equivalent cheap "most-recently-updated PR" query built. Deferred until there's real non-GitHub usage pressure. - **Cursor-based PR-list pagination (Rust)** — already flagged in-code as Phase 2/v2.9 (`gh_list_prs_inner`/`rest_list_prs` comments, predates PR #125): replace the naive offset+limit re-fetch, which re-walks from the start on every page, with a cursor-based `gh api graphql` query. Removes the quadratic re-fetch cost for repos with very large open-PR counts; most repos stay well under the current 300-PR prefetch ceiling, so this is scalability hardening, not an urgent fix. - **Commit Review "Fix with agent" in a scratch worktree** — follow-up to v3.7.0: the originally-planned "optionally in an AI-task scratch worktree" variant was cut after manual QA against real `claude`/`codex` CLIs found a brand-new scratch worktree always hits a first-run "trust this directory?" onboarding screen that misinterprets the piped prompt as menu navigation (drove a real `brew upgrade --cask codex` in testing). Revisit once there's a real fix — pre-trusting the directory before launching the agent, or detecting the onboarding screen before writing. - **Let an in-flight AI call survive a hunk renumbering** (deferred from the issue #196 work): confirming one hunk renumbers every later one, and the queue's answer to that is to keep its settled suggestions (renumbered) and discard whatever is still running, because a run captured its index in its closure when it was dispatched. Keeping those runs alive means giving each one a token the queue resolves to an index at write time, so a renumbering rewrites the mapping rather than invalidating the work. Worth doing only if batches get slow enough that discarding a few in-flight calls is felt. - **Dedicated `git_conflict_history` Rust command** — one IPC round-trip and a real process timeout, if the `gitExec` round-trips of v3.11.1 prove slow. - **Verification Plans attached to handoffs** (Snipara) — every PR/change carries the checks it must pass; overlaps with the CI annotations (v2.18.0). ### Measured and declined, known properties - **libgit2 phase 2: stage/unstage** (moved out of v3.11.0, 2026-09-14, **measured and declined**): the plan was index-level `git2` staging behind a CLI fallback, mirroring the v3.10 `git_diff` migration. Measured before building, and the numbers say not to. **Perf:** the win is a flat ~15 ms, which is the subprocess spawn and nothing else, because both paths pay the same hashing cost. `git add` against libgit2, median of 7 runs: 1 file 17.1 vs 1.8 ms, 100 files 79.7 vs 64.1, 1000 files 926.7 vs 874.7, 5000 files 4997 vs 4487. Staging is batched (one call for N paths), so that 15 ms is per user action, and every `stageFiles` is followed by a `refresh()` whose `git status` alone costs 20 ms on a 1000-file repo and 31 ms on 5000. The saving is smaller than the refresh that immediately follows it. **Correctness:** 8 of 9 scenarios write a byte-identical index (modified, untracked, deleted, CRLF under `text=auto` + `core.autocrlf`, exec bit, symlink, conflicted-resolve, and `unstage` via `reset_default`). The ninth diverges: libgit2 implements the built-in CRLF filter but **executes no external `filter..clean` process**, which is exactly the Git LFS mechanism. A probe with a filter rewriting `SECRET` to `REDACTED` had the CLI store `value=REDACTED` and libgit2 store `value=SECRET`; on an LFS repo that is the raw binary in the index instead of the pointer, and git then reports the file as `AM` rather than `A`, so it reads as "still modified" rather than as corruption. A guard is possible (`repo.get_attr(path, "filter")` to detect filtered paths and defer to the CLI), but a fast path plus a detector plus a fallback plus parity coverage, all for 15 ms, does not pay for itself. Revisit only if staging latency becomes a real complaint, in which case the measurement points at the post-action `refresh()` rather than at `git add`, and the v3.10 watcher is already the infrastructure for that. - **libgit2 blame** (moved out of v3.11.0, 2026-09-14, because it cannot be completed on demand): `git_blame`'s fast path was written, tested and then left disabled in v3.10.0. `blame_attribution_matches_the_cli_on_a_moved_block` exposed a git-version-dependent attribution divergence on a moved block between libgit2's bundled Myers xdiff and the CLI's histogram blame: green against git 2.50.1, red against 2.55.0. This is a disagreement between two algorithms, not an unfinished task, so it has no estimate and no owner action short of resolving the divergence upstream or reimplementing the attribution. Blame attribution is user-visible, so the CLI stays authoritative. `libgit2_blame` and its tests stay in tree as the regression guard; re-enabling it means resolving the divergence first, not deleting the test. - **Snapshot refs are visible to a bare `git log --all`** — GitWand excludes them from every traversal it runs, but any ref under `refs/` is by definition part of `--all`, so a user typing it in a terminal sees snapshot commits, exactly as they see `refs/stash`. Nothing to fix short of abandoning refs entirely (which would let `gc` eat the snapshots); documented here so it is a known property rather than a surprise. - Claude Code still creates one empty `~/.claude/projects//` folder per run (no flag avoids it; `--no-session-persistence` already drops the transcript) --- ## Vision GitWand is a native Git client that **understands** code, resolves trivial conflicts on its own, and makes visible what the terminal hides. Positioning: neither "yet another Git GUI" nor an IDE. A first-class Git navigation tool — fast, local-first, cross-platform — with a unique algorithmic intelligence for conflict resolution, and a surface for interacting with AI agents (MCP, Agent Sessions, terminal). **Core values**: open source (MIT) · native performance (Tauri 2 + Rust) · zero mandatory cloud · every feature optional and explicit. --- ## Competitive landscape | Client | Stack | Price | Strengths | Weaknesses | |--------|-------|-------|-----------|------------| | **Kaleidoscope** | macOS native | ~€150/yr | Image diff, folder diff, visual 3-way merge | macOS-only, no Git workflow, no auto-resolve | | **GitHub Desktop** | Electron | Free | Simple, GitHub PR workflow, cherry-pick/rebase | GitHub only, basic diff, no AI, no auto-resolve | | **GitButler** | Tauri/Rust | Free | Virtual branches, stacked PRs, Agents Tab (Claude Code); MCP server, Series A Apr 2026 | Unfamiliar paradigm, no algorithmic auto-resolve | | **GitKraken** | Electron | $8/mo | Agent Mode v12.0, multi-forge, Launchpad, cloud Workspaces, AI commit/PR/merge | Paid, Electron, cloud account required for advanced features | | **GitSquid** | Tauri/Rust | €49/yr | Conflict Predictor, scratch worktree, Monorepo Scope, secrets scanner, multi-forge | Paid, no algorithmic auto-resolve | | **Fork** | Native | $50 | Fast, clean UI, large repos | No inline PR review, no auto-resolve | | **Tower** | Native | $69/yr | AI commits (Claude Code + Codex, v16 May 2026), multi-forge | Paid, no resolve engine | | **Sublime Merge** | Native | $99 | Ultra-fast, configurable `diff_algorithm` | No PR workflow, no AI, no auto-resolve | | **Strand** | Tauri 2 + React | Free/OSS | Agent-native worktree sessions (parallel agent workspaces), full worktree lifecycle (merge+archive+recovery), WCAG 2.1 a11y, published perf baselines | No conflict AI, mono-repo only, no Launchpad equivalent | | **Gitoryx** | Native (non-Electron) | Freemium (private repos capped at 30 commits on Free) | Very active (36 releases May→Oct 2026, v1.0 on 2026-10-01): guided bisect, identity profiles per repo, auto-resolve wand for identical conflict blocks + conflict map, AI conflict resolution and commit explanation, changelog generation | Proprietary, conflict handling shallow (identical blocks + LLM), no engine accuracy measurement | | **GitComet** | Rust + GPUI | Free/OSS | Zed-level responsiveness, dual GUI+headless (difftool/mergetool), Linux-first, documented perf on Chromium-scale repos | No AI, no worktrees, no multi-repo, no conflict resolution (strategy algo only) | | **RelaGit** | Electron + SolidJS | Free/OSS | Fine-grained reactivity (SolidJS), native AI SDK (`@ai-sdk/anthropic`) for commit suggestions, community theme ecosystem, popout windows | Electron (heavy), fragile beta, no worktree/launchpad, no structured conflict AI | --- ## Shipped > Full change details per version: [CHANGELOG.md](./CHANGELOG.md) | Version | Highlights | |---------|-----------| | **v3.15.0** | **Combined diffs** (#311) — several commits, even non-consecutive, reviewed as one net change (replayed with `git merge-tree`), each line attributed to its commit, optional AI summary, from the Git Tree or a file's history · **Guided bisect** (#317) — start from the Git Tree, Good / Bad / Skip from a banner that also follows a bisect started in a terminal, culprit opened in the Git Tree, End bisect · AI requests go only to endpoints you approved, PR/MR bodies on stdin, model listing times out (#314) · the Git Tree skips refs events that change nothing it shows (#315) · force pushes lease on what you were shown (#312) · PR actions on a fork act on the PR you see (#313) | | **v3.14.0** | **Stacked branches** (#310) — *Stack on…* records a branch's parent in local git config, suggested from a GitHub PR based on another local branch · detects a parent that moved or was merged (GitHub PR, squash merges included; git's own signals elsewhere) · one restack for the whole stack (`git rebase --update-refs`) after a conflict preview, from whichever layer you are on · after a merged parent the next PR is retargeted on GitHub and the merged branch can be deleted locally · a push offer for the moved layers (force-with-lease, never automatic) · refusals that name their reason (worktree, dirty tree, git < 2.38, merged work missing) | | **v3.13.3** | **Create GitHub issues without leaving GitWand** (#301, #304–#309) — a "New issue" window (toolbar, ⌘K, ⌘⇧I) targeting `origin` or its fork parent · from a commit, from selected diff lines (with a permalink) or from a bad resolution, which can go to GitWand's own repository after a secrets scan · `#` in the commit message lists open issues · issue templates and issue forms · MCP `gitwand_create_issue` (preview by default, one create per preview, secrets scan) · **Git advent calendar** (#297) — `gitwand advent` and gitwand.app/advent, 24 little-known git commands in December · GitHub attachments show in pull requests, private repositories included (#303, #302) · large AI prompts no longer sent empty with curl 7.x (#304) | | **v3.13.2** | **`gh` no longer targets an `upstream` remote** (#300, #298) — without a token, every `gh` call names its repository (the fork parent, else `origin`), so the pull request list and Create PR stop hitting an unrelated `upstream` · merging still deletes the local branch · SSH aliases, any SSH user and GitHub Enterprise `origin`s resolved as `gh` does | | **v3.13.1** | **The CI tab follows a running CI** (#295) — re-fetched every 15 s while a check runs, the pull request reloaded once when the last one finishes, failed fetches reported as errors instead of "no checks" · **it knows which commit its checks ran on** (#296) — checks from a previous commit are named and followed for up to ten minutes after a push, the merge banner unchanged · Linux Git Tree no longer reloads in a loop (#292, #287) · concurrent pushes serialized, publishing a branch no longer fails with "reference already exists" (#291) · GitHub orgs with OAuth App restrictions go through `gh` (#294) · MCP: rebase/cherry-pick previews resolve, YAML/TOML checked, an empty resolution removes the block (#293) | | **v3.13.0** | **Agent Workspaces I — lifecycle & merge-back** (#281–#290) — a `worktree` section in `.gitwandrc` (`dir`, `include`, `setup`, `teardown`, `url`) run only once trusted · new worktrees and AI tasks start from the freshly fetched remote default branch, get their `include` files and run `setup` in a terminal tab · one removal sequence: guards (lock, `.worktree-keep`, other tools), processes stopped, snapshot, `teardown` before removal · merge-back as a real merge, rebase or squash through preview → apply · a removed worktree restorable as a new one from the Time Machine | | **v3.12.5** | **The Git Tree follows ref moves that keep the newest commit** (#266, #267) — labels, lanes and the trunk pin refresh after a reset onto `origin/main`, a branch on an existing commit or a checkout, without a restart · **imports and Dockerfile resolvers stop keeping both sides** (#278) — a name declared by both added imports is left to you, Dockerfile stages paired by alias or position and merged against base · rustls 0.23.46, DOMPurify 3.4.17, Vite 6.4.5 | | **v3.12.4** | **Windows app starts without the Visual C++ Redistributable** — the C runtime is linked statically (it had been imported since v3.11.2, so winget rejected v3.11.2 to v3.12.3), and the release fails if the exe imports it again · the asset re-upload step looks in the real bundle folder (#273) · `SECURITY.md` (#272) | | **v3.12.3** | **Reset `--keep`** (#263) · **opt-in auto fast-forward after fetch** (#265) · **tracked files matching `.gitignore`** warning + untrack (#264) · **PR comment actions** on GitHub, in-house Markdown renderer, GPU rendering by default on Linux with an automatic software fallback (#257) · diff parsers bounded by hunk counts keep `--`/`++` lines (#270) · file history compare in the desktop app, across renames (#269) · `non_overlapping` no duplicate lines under `diff3` (#259) · MCP residual-marker check (#260), Bitbucket PR-list pagination (#261), PR write actions on forks (#262), global-shortcut startup (#256) · command registry covers forge wrappers and Rust registration (#268, #269) | | **v3.12.2** | **Extra context for AI-written PRs and release notes**, **create a branch with AI** from the branch selector, commit AI language chips translate the current message, one shared frame for AI split buttons (#252) · AI generation follows the chosen language and model again (stale settings write-back), no phantom `origin` branch and every remote's branches count as remote (#255), identity menu no longer clipped (#252) · modal close buttons aligned, light-theme dividers and minimap visible, larger modal/Help titles (#253, #254) · tests pinned to `en-US` (#251) | | **v3.12.1** | **AI-task merge-back no longer loses data** (#233, #247) — squash-merge only when the main checkout's `HEAD` is in the task's history and the task's starting commit/branch still holds, all or nothing, snapshot first (dry run, so a refusal leaves none); closing a terminal stops the agent's process groups; a cleanup failure closes the task with a warning · **Security hardening** (#244) — AI CLIs from an allowlisted env, each run in a fresh private directory, Claude with no tools/project settings/MCP, prompts on stdin; AI key in the OS keychain, bound to its endpoint; CSP to fixed hosts; remote images and Gravatar opt-in; telemetry opt-out; file commands confined to git work trees · **Full-screen Settings** aligned with Help, **per-project commit identity** with its signing key (#246) · **WIP as a Git Tree row** (#224) · AI PR-description update and in-place edit (#234), reasoning effort forwarded + provider model lists (#237), unified AI templates with per-repo output language (#238), force push after a local rebase (#239), responsive header (#240), discard keeps staged work (#241), terminal polish (#242), plus graph, stash, rebase and diff fixes (#222–#236, #243, #245) · Dependabot #127/#128 (#249) | | **v3.12.0** | **Built-in terminal renderer** — xterm.js replaced by GitWand's own VT emulator and DOM renderer (`utils/vt`) that rebuilds only changed rows, fast even on software GL; bundled Symbols Nerd Font for prompt icons; terminal follows the tab surface and light/dark theme · **WIP in the Git Tree** — the Changes dock entry becomes a WIP tab glued to the Git Tree, the WIP diff overlays the graph · **Cherry-pick as WIP** (`--no-commit`) · reset/checkout refresh the Git Tree immediately (#213) · staged files can be discarded, including staged renames · WIP on the trunk head stays on lane 0 · dependency security pass (rustls 0.23.45, MCP SDK transitive deps, DOMPurify 3.4.16) | | **v3.11.2** | **Finder-like folder navigation** — the File Explorer panel becomes the file browser (the separate Browse view is gone): lazy per-folder `list_repo_dir` with in-process libgit2 ignore classification (5 000-entry cap, 66 ms for a 6 000-file folder vs 1.6 s for `git check-ignore`), live re-listing from the Live Repo watcher, a virtualized keyboard-first `role="tree"`, change badges on every folder above a changed file, per-tab Diff \| File with a Working tree \| Index switch, context menu (Copy path, Reveal in Finder/Explorer via `reveal_in_file_manager`, Scope here) · `git_diff`/`write_file` go through a filesystem-resolving `safe_repo_path` · the untracked-file diff gets the 5 MB cap · `getGitDiff` stops dropping the truncation, untracked-directory and nested-repo fields on Tauri · Linux AppImage launcher shipped `0755` (`@tauri-apps/cli` 2.12, CI mode check) | | **v3.11.1** | **History-aware LLM fallback** — `llm_proposed` and "Resolve with AI" now tell the model why each side changed the conflicting lines: the commits since the merge base, with their messages, plus range diffs within a token budget (1 500 by default, 200–8 000). Computed locally through an injected `GitRunner`, so `@gitwand/core` stays browser-safe, and collected only for hunks actually sent to a model · an explicit "History unavailable" line instead of a silent gap · a `.gitwandrc` opt-out that wins over the app setting · shown in the LLM trace panel · fixes: `MergeEditor` never received the repo path, which had silently disabled custom automations and resolution-memory apply; saving Settings no longer drops unknown `llmFallback` keys | | **v3.11.0** | **Merge preview-to-apply + editable diff** — "Merge and auto-resolve" runs the real operation and re-runs the engine against what git produced, applying what passes the gates and stopping on the residual; a numeric confidence bar (`minConfidenceScore`) ANDed with the label gate across desktop, `.gitwandrc`, CLI and MCP; per-hunk opt-out; CodeMirror 6 in the merge editor and an editable inline diff · **Gitea and Forgejo support** (#193) verified against a live 1.27.3 server · **Forge-side auto-merge** on GitHub, GitLab and Azure, with Bitbucket refusing honestly rather than pretending · **Abort and continue tell the truth** (#197, #202): one `git_operation_action` for merge, cherry-pick, revert and rebase, three outcomes instead of two, confirmation before discarding resolution work, and nothing auto-continues · **A declared Tauri-to-dev-server command registry** with a guard, plus failure parity for 27 write commands — which found and fixed a submodule update that reported success whatever git did, and two routes that 404'd under `dev:web` | | **v3.10.0** | **Live Repo** (#178) — a `notify` filesystem watcher replaces the 2s status poll, which becomes a 15s fallback; raw OS events are coalesced into typed `RepoChangeEvent`s over a scoped `tauri::ipc::Channel` (SSE under `dev:web`), one watcher per repo shared by N subscribers, designed as the hook for the v4.3 incremental indexer. libgit2 phase 1 lands on `git_diff` only (see Later (unscheduled) for why `git_blame` did not). `clone`/`fetch` progress moves off the global broadcast onto per-invoke channels, `packages/core` resolution moves into a Comlink Web Worker, and the Today inbox stops being read-only: merge, nudge and a direct jump into the resolver. | | **v3.9.1** | **No-fast-forward merge option** (#177) — the merge-into-current popover gets an "Always create a merge commit" checkbox, forcing `git merge --no-ff` even when a fast-forward is possible. Off by default · CLI update notice — `gitwand` checks npm for a newer version at most once every 24h and prints a one-line notice for a global (non-`npx`) install | | **v3.9.0** | **Engine Accuracy** — the engine's claims are now measured against ~1,700 real merges instead of asserted (`benchmark/`, 8 pinned public repos, byte-for-byte comparison with what teams actually committed) · no `complex` hunk is ever silently applied (`format_semantic` reclassification, scored and traced) · a resolution that breaks a format invariant (double `Unreleased`, duplicate JSON key) is retracted · generated files (lockfiles, bundles) decline by default instead of an auto-merge measured wrong ~100% of the time (`resolveGeneratedFiles` opt-in) · the engine knows what merge it's in (`MergeContext`) — version-identity conflicts resolve to the target branch, laravel agreement 24 → 83% · `package.json`/`composer.json` fragments merge by key instead of line-by-line · **`gitwand conventions`** measures a repo's own merge history to derive its policies, always losing to an explicit `.gitwandrc` · a sandboxed `--regenerate` tier runs the ecosystem's own installer in a disposable worktree for declined lockfiles, measured at 38.5% agreement against an 80% bar so it stays CLI-only rather than shipping to desktop · `benchmark-gate.yml` CI check blocks any future PR that regresses agreement on the pinned corpus | | **v3.8.0** | **Time Machine** — repo snapshots & global undo. Every destructive operation (discard, reset, checkout, branch switch, bulk resolution apply) first captures a restorable snapshot of the working tree (untracked included), the index and conflict stages 1/2/3, written with git plumbing under `refs/gitwand/snapshots/` and restored via `read-tree` so it never refuses on a dirty tree · **undo offered where the action happened** — a single-slot toast with an Undo button and a `⌘Z` hint, since a discard previously gave no feedback at all · **global `⌘Z` / `⇧⌘Z`** now rewind and replay repo operations, reporting through that same toast · the existing rewind popover (`⌘⇧U`) **lists snapshots merged with git's reflog** instead of the reflog alone, with a full-history modal behind its footer link; restoring is itself undoable via a `pre-restore` snapshot · retention settings (age + count caps, pruned on repo open) and opt-in AI snapshot labels · snapshot refs excluded from every `--all` traversal, and every ref move a restore makes carries an explicit reflog message | | **v3.7.0** | **Commit Review** — micro AI reviews in the Changes panel (inspiration [git-lrc](https://github.com/HexmosTech/git-lrc), fully local instead of a cloud+browser detour). "Review staged changes" runs the pre-review engine against the staged diff (inline findings, severity badges, `n`/`p`/`x` navigation) · **Fix with agent** pipes findings into a terminal AI agent session against the current repo (the scratch-worktree variant was cut after manual QA found it could hit a CLI's first-run "trust this directory?" screen and misfire a real command — tracked as a follow-up) · **Iterations & coverage** tracking bound to HEAD · **Review / Vouch / Skip** commit-time decision recorded as a `GitWand-Review:` trailer · per-repo **`.gitwandrc` opt-in** overriding the app Setting in either direction · a composable **pre-commit hook** merging the shipped v3.5.0 secrets section with a new warn-only review reminder · a real focus trap added to `BaseModal`, fixing a foundational a11y gap inherited by every modal in the app · fixed a core reactivity bug where routine background polling silently wiped findings, plus a dozen smaller findings from a dedicated product/code review round | | **v3.6.6** | **Dev loop & CI build times** (pure tooling/perf chore, no product surface) — `ci.yml`'s 3-bundle-per-push `desktop` job replaced by a fast `rust-check` (fmt/clippy/check/test, now on PRs too) + a path-filtered `bundle-smoke` job (~230 billed CI min saved/push); Rust cache across all 3 workflows; `[profile.ci]`/`[profile.dev]` cut a post-edit `cargo build` from ~21s to ~6.5s; measured `cargo llvm-lines`/`--timings` to rule out the previously-planned `gitwand-git` crate split; Vitest defaults to `environment: "node"` instead of global `jsdom` (setup time ~96s→~17s); secrets-scanner ignore-regex precompiled (~24x Rust/~2.5x TS); `@gitwand/core`'s resolution engine lazy-loaded out of the boot chunk (main bundle −185 KB raw); deduped `reqwest` (dropped `native-tls`/`openssl-sys`, removed `libssl-dev` from CI); anonymous telemetry gated behind an explicit `telemetry` Cargo feature with a build-time guard against a telemetry-less release | | **v3.6.0** | Post-checkout **"Update branch" prompt** — one-click fast-forward (with stash/restore) or "Continue on local branch" when checking out a branch that's behind its upstream with no divergent commits, per-branch mute · **Non-blocking rebase-conflict handoff** (#128) — an interactive rebase conflict now closes the blocking `RebaseEditor` modal and hands off to the existing rebase banner + inline `MergeEditor` instead of trapping resolution behind an overlay; also fixes a UI freeze on very long/minified conflicting lines (word-diff now guards against pathological line lengths) · **CommitGraph animation polish** (#127) — no more layout shifts/flicker during pagination loading | | **v3.5.0** | **PR Review 2.0** — GitHub-standard keymap (`J`/`K`/`⇧J`/`⇧K`/`V`/`⇧V`/`T`/`C`/`N`/`P`/`⌘Enter`), viewed-file tracking, pending-review persistence, dismiss review/request reviewers, local opt-in AI pre-review pipeline (multi-hop, confidence-scored findings), PR summary block, unified `LineAnnotation` gutter model, GitLab review completion, lazy per-file diff loading + virtualized rendering (PR detail hot path 6→3 forge calls) · **Pre-commit secrets scanner** — zero-network local scanner (AWS/GCP/Azure/GitHub/GitLab/Slack/Stripe/OpenAI/Anthropic/RSA/JWT/high-entropy), non-blocking commit-area badge, `.gitwandrc` extensible patterns, dual Rust+TS implementation, CLI `gitwand scan`, opt-in pre-commit hook · **PR badges: background prefetch & cache** (git-log style) past the first page, plus a real open-PR count on the dock badge · Repo-tab reordering via pointer events (mouse/touch/pen) + keyboard a11y · File Explorer Save button moved next to the lock toggle | | **v3.4.0** | **Conflict-engine bundle** — `token_level_merge` pattern (line/token decomposition, never auto-applied, user-confirmed via `TokenMergePanel`) · **2-way base recovery** from the git index (unlocks diff3-only patterns on default-conflictstyle repos, guarded against clobbering manual edits) · **`ResolutionPreviewPanel`** + per-hunk "Resolve auto" confirmation · **recoverable-before-model metric** (`summarizeTiers`, surfaced in CLI/desktop/MCP + local cumulative stats in Settings, backed by a corpus regression guard + golden-funnel CI gate) · `value_only_change` extended to diff3 with semver/timestamp-max resolution · deterministic recoverers forced before the LLM path · **data-loss fixes** (imports resolver emptying hunks, `insertion_at_boundary` dropping duplicate-line insertions, `whitespace_only` false positive in string literals, rename detection matching inside strings/comments) · git log pagination/caching fixes. Measured: manual residual halved on a 2000-merge production corpus (5.6%→2.7% of hunks) | | **v3.3.0** | **Blame gutter** in the File Explorer's CodeMirror editor — opt-in author/date gutter, deduped per commit run, hover tooltip · **Telemetry moved to Aptabase** — Umami Cloud was silently dropping every launch ping (non-browser User-Agent filtering); replaced with App-Key-authenticated Aptabase, including a self-hosted upstream crash fix (`tokio::spawn` → `tauri::async_runtime::spawn`) · Azure DevOps PR base-branch picker now lists server-side branches, not just local refs | | **v3.2.0** | **Integrated terminal** (WebGL rendering, inline search, clickable links, typed tabs with unread dot, real PTY agent launch, "New AI task" scratch-worktree button) · **File Explorer / Editor panel** (gitignore-aware tree, CodeMirror 6 editor, lock/undo/save toolbar) · **Git Tree** (filter mode, branch/author quick-toggles, date-bucket separators, branch autocomplete + `#PR` search) · Per-project worktree submenu + AI-task worktree management · Submodule update checking/applying · Per-author line churn stats · Antigravity CLI provider · Rebase onto any ref + branch reset · Sidebar unified Changes section · Tauri 2.11 | | **v3.1.0** | Customizable dock & startup view, PR create unpublished-branch warning, customizable release-note templates, anonymous GDPR-compliant launch ping, website screenshot slideshow & lightbox, pnpm 11.9.0 | | **v3.0.0** | **Today** (triaged action inbox, urgency tiers, state-aware primary actions, Launchpad → Today rename) · **VS Code extension on the Marketplace** (esbuild bundle, `publish-vscode.yml` CI, 4 extension bug fixes, CLI validation surfacing) · **Dashboard** (contributor modal, activity tooltips, fortnight stats, Git-Tree commit navigation) · **Branches** (top-contributor avatars, pinned section, move uncommitted changes on switch, force-delete prompt) · Fullscreen markdown image viewer · Website hero toggle + clickable platform cards | | **v2.24.0** | Full-screen views & in-app Launchpad — the permanent sidebar/Git-Tree strips give way to a floating bottom-center `AppDock`; Dashboard, Changes, History, PRs and a first-class full-screen Git Tree each render full-bleed (`RepoSidebar` gains a `pane` prop; collapsible, persisted commit composer rail). Launchpad gains in-app issue review (`IssueDetailView` + `useIssuePanel`), an action inbox (`useLaunchpadInbox` / `useRepoActionCards`), extracted scope (`useLaunchpadScope`) and internal navigation. The list/tree file-tree toggle extends to the history (commit) sidebar (`useFileTree` generalised over any `{ path }` entry). Plus a Linux AppImage follow-up: URL openers de-pollute `PATH`/`XDG_*` so a spawned `xdg-open` resolves the system browser instead of silently no-opening (#52), with opener stderr/exit captured. `EditCommitOverlay`/`SplitCommitModal` lazy-loaded. Full dev:web parity + 5-locale i18n | | **v2.23.0** | Changes sidebar & rebase polish — list/tree layout toggle for the changes view (collapsible folders, persisted layout + per-section collapse state, auto-expand to the selected file) via a new `useFileTree` composable; per-file and per-folder stage/unstage/discard fused into an always-visible segmented "action group". Interactive rebase now works in the packaged desktop app (dedicated `git_interactive_rebase` Tauri command replacing a dev-only HTTP endpoint) and branch pickers list branches by most-recent commit (shared `branchSort`). Plus a Linux AppImage fix: external links/OAuth buttons route through a robust multi-opener chain. Full dev:web parity + 5-locale i18n | | **v2.22.0** | Advanced conflict resolution — file-level bulk resolution ("Accept all: Current · Incoming · Both" in one click, persistent memorize-rule toast, one-click "Apply rule to N hunks"); tree-conflict resolution for markerless conflicts (modify/delete, both-deleted, add/delete) via `get_tree_conflicts`/`resolve_tree_conflict` with a dedicated editor panel + sidebar badge; markerless content-conflict reconstruction (`reconstruct_conflict` rebuilds the 3-way text from index stages when the working tree lost its `<<<<<<<` markers). Plus remote-state reliability fixes: false "Publish branch" on already-published branches (`remote_branch_exists`), false "offline" blocking push/pull (WKWebView spurious events → hysteresis + authoritative `confirmOnline` probe), and `git_remote_info` preferring `origin` (fixes the bogus "unpushed tags" modal). Full dev:web parity + 5-locale i18n | | **v2.21.0** | Monorepo Scope — pick a sub-workspace and scope the commit graph, search & stats to its file tree. Auto-detects 6 workspace formats (pnpm, npm/yarn, Cargo `[workspace]`, `nx.json`, `turbo.json`, `go.work`), parsed natively in Rust with a documented precedence; scope persisted per repo (additive `scope` field in `.gitwand-workspace.json`, validated on load); `git_log` pathspec filtering + a new `git_rev_count` driving a stable "N commits hidden" badge; sidebar `ScopePicker` (auto-detected packages + "Custom folder…" ad-hoc), active-scope chip & badge in the graph header. Picker shows only on detected monorepos; full dev:web parity via a mock `detect-monorepo` route | | **v2.20.0** | Scratch worktree + extended Conflict Predictor — "Resolve in scratch worktree" from the merge preview opens a temporary isolated `gitwand-scratch-` worktree as a repo tab (resolve away from the active checkout, bring changes back in one click or discard, auto-cleanup, origin-anchored lifecycle); Conflict Predictor extended to rebase (per-commit replay against `onto`) and cherry-pick — side-effect-free `preview_rebase` / `preview_cherry_pick` Tauri commands, MCP `gitwand_preview_merge` `operation` param, new `gitwand preview` CLI command, operation selector + risk badge (low/medium/high) + hunk-by-hunk preview in the panel | | **v2.19.0** | GitHub OAuth & Azure DevOps + cross-fork PRs — "Sign in with GitHub" via OAuth device flow (tokens in the OS keychain, tokenless REST path, no `gh` CLI required), Azure DevOps as a first-class forge (`AzureProvider`, Entra ID device flow + auto token refresh, PR list/detail/diff/create/merge/checkout, comments, branch-policy CI checks, reviewer votes), cross-fork pull requests (target-repo selector defaulting to upstream, fork PRs surfaced in the list), and a backend performance pass (async Tauri commands, disk-persisted SWR PR cache, libgit2 `git_status` fast-path) | | **v2.18.0** | Inline CI Check Annotations — check-run annotations overlaid in the PR diff across the three forges (GitHub check-runs API, GitLab `artifacts:reports:codequality`, Bitbucket Reports API), gutter icons ❌/⚠/ℹ with hover tooltip, clickable "N annotations" badge in the CI tab, per-file ⚠ count in the diff sidebar, forge-agnostic `CIAnnotation` type + `ForgeProvider.getCheckAnnotations()`, lazy one-shot fetch per PR; Copilot CLI as a fourth AI provider (text-only sandbox) | | **v2.17.0** | opencode provider + per-CLI model picker — `opencode-cli` as a first-class AI provider (`opencode run`, binary discovery, Settings status), second model select under the provider picker for the three CLI agents (opencode enumerates via `opencode models`, Claude Code aliases, Codex free-text), `aiModelByProvider` persisted per provider, `--model` threaded through all three CLIs | | **v2.16.0** | PR Activity Notifications — background Launchpad poller, zero-network snapshot diff (`useLaunchpadNotifications`) for CI flips / review requests / new comments / merge-close, native OS notifications via `tauri-plugin-notification` (background-only), Settings granularity (All · Reviews & comments · CI failures only · None) + "by people" bot filter, enriched `workspace_prs_all` (CI/review/comment fields) | | **v2.15.1** | Git Tree polish & quick actions — Force push (branch context menu + protected-trunk/diverged-remote guard), Quick Stash `⌘⇧,` (instant, AI label) + pending badge in the commit area, Submodules in the Git Tree (branch-picker section, per-commit pointed-SHA badge, click-to-navigate) | | **v2.15.0** | Git Tree multi-branch — Git Tree as primary view, Log panel removed, unified context menus, stash/branch/tag management from the graph, DAG trunk-pinning, WIP node, search bar | | **v2.14.0** | Forge completeness — GitLab `updateComment`/`deleteComment`/CI checks, complete Bitbucket stubs, forge-agnostic `getConflictPreview`/`getHotspots`, multi-account provider | | **v2.13.0** | AI & Review — custom AI prompt presets, GitHub-native inline code suggestions in PRs | | **v2.12.0** | Branch Management & Identity — Archived Branches, Pinned Branches, Multiple Committer Identities, Commit Templates | | **v2.11.0** | Large-scale performance — `backend.ts` domain split, Fork Point visualization, transparent command log (`⌘⇧L`), real-time clone progress, CommitLog pagination | | **v2.10.0** | Forge integrations + MCP catalog — GitLab MRs, Bitbucket PRs, multi-account, in-app MCP catalog (Settings > MCP, one-click install) | | **v2.9.0** | Launchpad — cross-repo PRs/Issues/WIP/Team dashboard, pin/snooze, `⌘L`, lazy Team, 95 green tests | | **v2.8.0** | Agent Sessions View + Scheduled AI tasks — Agents panel, active MCP sessions, launch Claude Code from GitWand | | **v2.8.2** | Performance hardening — lazy-load 20 panels, bundle −150 KB, libgit2 fast-path, consolidated polling, `lib.rs` split into 6 domains | | **v2.7.0** | Multi-repo Workspaces + Hooks manager + Worktree first-class — tab=worktree, quick-create "New task" (`⌘⇧N`), cross-worktree status | | **v2.6.0** | `@gitwand/core` Refactoring-aware merge — rename/move detection, opt-in via `.gitwandrc` | | **v2.5.0** | LLM fallback opt-in — `llm_proposed` pattern, `resolveAsync()`, audit trail, desktop+CLI+MCP tie-in | | **v2.4.1** | Semantic post-merge validation — tree-sitter parse-tree validity, opt-in `tsc --noEmit`, `postMergeRisk` dimension | | **v2.3.0** | Tree-sitter structural dispatcher — entity-by-entity merge for TS/JS/Python/Go/Rust, +20-30% auto-resolution | | **v2.2.0** | Format profile registry + JSON Patch arrays — `/dependencies`, `/scripts`, RFC 6902, +10-15% on JSON/YAML | | **v2.1.0** | Histogram diff & block-move detection — Patience++, Rabin-Karp rolling hash | | **v2.0.0** | Distribution & polish — Clone & Fork from the UI, Codex CLI provider, native macOS menu bar, Contributors Dashboard | | **v1.9.0** | Git 2.54 suite — commit context menu (checkout/reset/revert/branch/tag/cherry-pick), Trailers, Blame diff algorithm, File history line-range + pickaxe, Tags panel, Conventional Commits prefixes | | **v1.8.0** | Design system & modal foundations — AppHeader split, BaseModal, merge editor line numbers + minimap, PR description markdown | | **v1.7.0** | Split commit by hunks — line-by-line selection, integrated into interactive rebase | | **v1.6.x** | Folder diff, Image diff, Submodules & Worktrees, `@gitwand/core`/`@gitwand/cli`/`@gitwand/mcp` published on npm + MCP Registry | | **v1.5.x** | Hardening, performance & English-first — XSS, LCS O(min), CI Rust↔Node parity, macOS TCC fix | | **v1.4.0** | Pattern registry — `reorder_only`, `insertion_at_boundary`, desktop auto-update | | **v1.3.0** | AI Everywhere — branch naming, PR writing, hunk review, conflict explanation, commit search, release notes | | **v1.2.0** | Interactive Rebase, Absorb, AI commits, Undo stack | | **v1.1.0** | MCP server (`@gitwand/mcp`) — 5 tools, 3 resources, Claude Code slash commands, enriched CLI JSON | | **v1.0.0** | Full Git client + resolution engine — 8 patterns, diff3 LCS, format-aware resolvers, PR workflow + integrated Code Review | --- ## Design principles 1. **Intelligence first** — Every screen should offer more than the terminal. 2. **Native performance** — Tauri 2 + Rust. Sub-1s startup, smooth on 100k+ commits. 3. **Progressive** — Works immediately for simple cases. Advanced features are discovered naturally. 4. **Cross-platform** — macOS, Linux, Windows. Same quality everywhere. 5. **Free and open source** — Core and desktop under MIT. 6. **Refusal is structured, not silent**: any tool that declines to decide (a pending hunk, a detected silent conflict) hands back `agent_guardrails` built only from facts it actually computed (the diff, the signature, the missing argument), never inferred domain judgment like "this is security-critical." Applies everywhere a `@gitwand/mcp` tool can refuse (`gitwand_resolve_conflicts` today, `detect_silent_conflict` in v4.3.0); the `/agent` WebMCP page has no repository to reason from, so it never carries this.