Lost Work
Finding commits nothing points at, across every source it scans, and putting a branch back on one.

What counts as lost
Commits that still exist in the object database but that no branch or tag points at any more: work lost to a hard reset, an amended commit, a deleted branch, an abandoned rebase, or a dropped stash. Doctor (⌘5) → Lost Work. Everything on this tab is read-only until you choose to recover a candidate.
The six sources
| Source | What is read |
|---|---|
| Reflog | git reflog -n 40 |
| Stash reflog | git stash list |
| Flight Recorder | the “before” oids of ref movements in the last 100 events |
| GitAegis recovery refs | everything under refs/aegis/ |
| Capsules | git bundle list-heads over the 5 most recent capsules’ repository.bundle |
| Sibling clones | the HEADs of registered worktrees |
How candidates are filtered and ranked
A candidate reachable from any branch or tag is discarded. It is not lost. An oid that no longer resolves to an object is discarded too. Each surviving candidate is enriched with its author, date, subject and changed-file counts, then ranked with recency dominant.
The reasons behind each rank are shown next to it, so you can judge the ranking rather than trust it.

Deep scan, and its bound
Those six sources are cheap, which is why they are the default. Deep scan, in the top right of the tab, adds a git fsck --unreachable --dangling walk of the object database and merges the unreachable and dangling commits it reports into the same ranked list. It reads the object database rather than sampling logs, so it finds work no reflog remembers, and on a large repository it takes noticeably longer, which is why it stays a request rather than the default. Press it again to go back to the shallow scan.
The walk is bounded: the first 200 commits fsck reports are examined and the rest are not, because each candidate costs two further Git invocations to verify. The budget counts commits, never fsck’s output lines: dangling blobs and trees usually outnumber commits by orders of magnitude and would otherwise spend the whole allowance before the first commit was read. The tab states the bound whenever deep scan is on. A bounded walk that presents itself as exhaustive is the one failure this feature cannot afford.
Recovering a candidate
Select it and choose Recover to a new branch. This opens the standard operation preview and, on confirmation, runs a single command:
git branch <name> <oid>It is a safe-risk operation. Its preconditions are that the candidate still resolves and that the branch name is not already taken; afterwards GitAegis verifies that the new branch points at exactly that commit. Nothing else in your repository is touched: no checkout, no reset, no index change, and no existing ref is ever overwritten.
What it cannot find
- Work that was never committed. Lost Work searches the object database. Uncommitted edits and untracked files were never in it. That is what a capsule is for.
- Objects that have been destroyed. A
git gc,git pruneorgit reflog expirerun in your own terminal can remove the very objects every source here points at. GitAegis never runs them; nothing stops your shell from doing so. - Anything from before GitAegis opened the repository in the two sources it owns. The reflog and the object database predate it; the Flight Recorder,
refs/aegis/and the capsule bundles start when GitAegis first opened the repository.