Skip to content
Recovery

Flight Recorder

The repository timeline (refs, HEAD, the index, stashes and worktree registrations) including changes GitAegis did not cause.

GitAegis
The GitAegis Flight Recorder timeline, showing repository events in sequence including changes made outside the client.
The timeline records what happened to the repository, including what GitAegis did not cause.

What it answers

“What happened to this repository, and when”, for things GitAegis did and for things it did not. It is the surface you consult when a branch has moved and you do not know why. Doctor (⌘5) → Flight Recorder.

What lands on the timeline

Events GitAegis caused, attributed exactly: a completed operation including the redacted argv of its first command; a checkpoint being created; a restore being performed; and transactions found unfinished at startup after a crash.

Events something else caused, detected by a filesystem watcher on the repository, on window focus, or on demand: a ref created, deleted or moved; HEAD moved; HEAD retargeted; the index changed. The event title is generated from the change itself: a ref name with a before and an after oid. GitAegis does not read a reason out of anywhere and does not invent one.

Consecutive Flight Recorder events, each carrying an origin chip: the stash operations GitAegis ran, and the ref and stash-list changes it only observed.
Every event carries its origin. The externally-caused ones say what changed, not how.

Attribution: exact, inferred, unattributed

  • Exact. The command was observed. GitAegis ran it.
  • Inferred: matched from before-and-after state. GitAegis knows what changed, not which command did it.
  • Unattributed: the watcher queue overflowed and only a coarse event could be synthesised. GitAegis records that the exact command was not observed rather than reconstructing one confidently.

The state hash

Each event carries a state hash: a SHA-256 over HEAD, every ref, the index checksum, a status digest, stash oids and operation markers. It is a fingerprint of repository state and deliberately not a hash of your file contents. Two events can be selected and their hashes compared, which is the fastest way to answer “did anything actually change between these two moments?”

What the watcher ignores, and when it stays quiet

  • Ignored directories: node_modules, target, .next, .turbo, dist, build, .cache.
  • Bursts are debounced over 250 ms.
  • An external event already explained by a GitAegis operation in the previous 5 seconds is suppressed, so one operation does not appear twice.
  • Two identical consecutive events within 30 seconds collapse into one.
  • Editing a tracked file is not an event. The timeline records pointer-level truth; file content is a capsule’s job.

How far back it goes

The retention budget is an event count per repository, 200 by default. Older, unpinned events are removed by a sweep that runs once at startup.

You choose the number at the bottom of the tab: anything from 20 to 5,000 events per repository. The sweep reads it at the next launch, so lowering it deletes nothing immediately, and what the sweep then removes cannot be brought back.

Never removed by the sweep: pinned events, events linked to a pinned checkpoint, and events linked to an operation that never finished.

The timeline itself shows the newest 200 events, whatever the budget is. Raise the budget above 200 and older events are still recorded and still counted (the tab says how many it is showing out of how many it holds), but the list and its origin counts cover the newest 200 only.

There is no size cap and no time-based expiry. On a busy repository even the maximum is a bounded window, so treat the Flight Recorder as a forensic log rather than an archive. Capsules are the archive.

Recovering from an event

If the event has a linked checkpoint, Restore runs the full capsule path: integrity check, fresh capsule of the current state, then the domains you select.

If it does not, only ref pointers are recreated, and only where no ref currently exists at that name; existing refs are left untouched. GitAegis records the boundary on the operation verbatim: only branch/ref pointers were restored. This flight event captured no index, staged, or working-tree content: files on disk are untouched.

A fresh light checkpoint is taken before the ref restore, as always.

Resume, and when it appears

Resume on an incomplete event is Git’s sequencer continue and nothing else. It appears only while a merge, rebase, cherry-pick, revert or patch application (git am) is still in flight in that repository: the same condition, and the same --continue, behind the Continue button in Work. Press it and the operation preview opens; nothing runs until you confirm there.

It appears on one event: the one that sequencer is still open for, matched by the operation the event recorded. The timeline is history and the sequencer is a fact about the repository right now, so an older incomplete event never grows a button that would continue today’s operation instead of its own.

A bisect and a conflicted stash apply have no generic continue in Git, so neither offers one here. Safe Mode holds Resume shut, exactly as it holds Work’s Continue shut. If the sequencer is in flight but conflicts are unresolved, the event points you at Work, where they are resolved, and Resume returns once they are.

Every other incomplete event says why it offers nothing: GitAegis has no resume of its own. Roll back, or restore the linked checkpoint.

30-day trial · No card required

A recovery capsule before every risky Git operation.

You see the exact commands before they run, and the operation is refused if the capsule cannot be written.

Requires Git 2.38.0 or newer, already installed.

Every risky operation, in this order

  1. Previewthe exact commands, shown before anything runs
  2. Capsulerefs, index, staged and working changes, untracked files, operation state: written to disk first
  3. Executethe commands as shown, or not at all
  4. Journalplan, commands, capsule id, outcome
No capsule, no operation. Restore plans, previews, and takes its own capsule.