Resolving conflicts
Detection, stage-1/2/3 read, resolution, and sequencer continue, skip or abort. External merge tools are never run.

Detection
The conflicted group in status comes from Git, and the kind of operation you are in is read from Git’s own marker files: merge, rebase, cherry-pick, revert, bisect, or a patch application. There is one extra case the app handles rather than ignoring: an unmerged index with no marker file at all, which is what an unresolved git apply leaves behind. It is reported as an apply in progress, so the controls you are offered match the state you are actually in.
Stages 1, 2 and 3: read, not reconstructed
For each conflicted path, GitAegis reads the three index stages directly: base, ours and theirs, plus the worktree file as Git left it. This is deliberately not a diff. A regular or combined diff is not a trustworthy reconstruction of the content Git will stage when the conflict is resolved, so the resolver does not build one.

Where a side is binary or too large to move through the interface, its content is omitted but its object id is not, so you can still choose the authoritative ours or theirs version without pushing megabytes of bytes through IPC to look at something unreadable.
The five resolutions
- Use ours: stage the stage-2 version.
- Use theirs: stage the stage-3 version.
- Write: stage the merged content you edited in the result pane.
- Stage existing. Take the worktree file as it stands, which is the right answer when you resolved it in your editor.
- Delete: resolve the path by removing it.
Every resolution carries the state token of the material you reviewed. If the file changed underneath you (your editor, another tool) the resolution is refused rather than staged silently over someone else’s write. Writes are symlink-contained, so a malicious link inside a repository cannot make a resolution land outside the working tree.
Each resolution returns the paths still conflicted, so the remaining count is Git’s answer rather than a tally the interface kept for itself.
Finishing, or not

Continue is a planned operation with a precondition that every conflicted path is resolved and staged, and it says plainly that Git can stop again at a later step. Abort restores through Git’s own abort path, and because that discards the edits you made to resolve the current conflict, a checkpoint is taken before it runs.
No external merge tool. Ever.
merge.tool is not consulted and no external process is spawned to resolve a conflict, in any mode. Resolution happens inside GitAegis. The same applies to diff.tool. If you prefer your editor, resolve the file there and use stage existing. That path is supported precisely because the alternative was launching something on your behalf.