Pre-flight detection
ADE compares your active lanes — against each other and against their base — by runninggit merge-tree on the host that owns the worktrees. It predicts whether a merge or rebase would conflict without actually performing one, then caches the result and surfaces it as a status.
| Status | Meaning |
|---|---|
| Merge-ready | A base prediction exists, no predicted conflicts, and the lane isn’t behind. |
| Behind base | No conflicts, but the lane is behind its base and should rebase. |
| Conflict predicted | A dry merge predicts conflicts with the base or a peer lane. |
| Conflict active | A real merge or rebase is in progress and has produced actual conflicts. |
Predictions older than five minutes are marked stale and shown with a clock indicator rather than silently refetched — the UI annotates them, and clicking re-runs the prediction for that pair.
Risk levels
For each lane pair, ADE derives a risk level from how many files overlap and whether a real conflict is predicted.| Level | Meaning |
|---|---|
| None | No overlapping files. |
| Low | A small overlap — likely an easy merge. |
| Medium | Several shared files; review before merging. |
| High | Marker-level conflicts predicted, or heavy overlap — expect manual resolution. |
Live merge simulation
From a Graph edge or a lane’s merge panel, you can run a one-shot merge simulation between two lanes (or a lane and its base). ADE computes the merge base, runsgit merge-tree, and returns one of:
- Clean — no conflicts; the merged file list and diff stat.
- Conflict — the conflicting files, each with rendered conflict-marker previews.
- Error — a bad ref or corrupt index, surfaced rather than assumed clean.
Rebase when a lane drifts
When a lane falls behind its base, a rebase pulls it forward and is usually the cleanest way to clear a predicted conflict before it reaches a PR. ADE resolves the right comparison ref for you — a queue’s tracking branch if the lane is in a merge queue, the parent branch for a stacked lane, ororigin/<base> otherwise.

AI-assisted resolution
When a conflict needs more than a reorder, ADE can resolve it for you in two ways:Proposal flow
ADE builds a bounded context for the specific conflict, asks a model for a patch, and lets you apply it unstaged, staged, or as a commit — with one-click undo. If required file context is incomplete, it refuses to guess and tells you why.
External CLI resolver
For bigger merges, ADE spawns a Codex or Claude CLI session in the lane’s worktree (or a dedicated integration lane), captures the changes, and commits them as an explicit, reviewable step.
Prevention
- Keep lanes narrow so they touch fewer shared files.
- Stack related changes instead of editing the same area from unrelated lanes.
- Rebase long-running lanes regularly.
- Check Graph before merging several PRs at once.
- Ask an agent to explain a conflict before asking it to fix one.
Graph
See lane topology, stack order, and the risk matrix at a glance.
Pull requests
Review CI, comments, and merge readiness for each PR.
