Skip to content
Recovery

The Operation Journal

Searching past operations and reading an entry, including outcomes and failures.

Where the journal is

The activity drawer is the Operation Journal. Open it with ⌘J, or from View all on Home’s recent-operations strip. It has two sections: operations in progress, with a live percentage and the current step, and everything that has finished, newest first.

Every mutating operation is written to it. The entry for an operation is created before execution begins, which is what makes crash reconciliation possible at all.

What an entry carries

  • The intent, the repository, when it started and how long it took.
  • The risk level it was classified at.
  • The planned steps, each with its own status (completed, started, failed or skipped) and a result summary.
  • The exact commands that ran, with their exit codes, under expert details. The same argv the preview showed you.
  • The validation results, each passed or failed, with its description.
  • Whether a rollback is available, and the id of the capsule it took.
  • The operation id, copyable in one click: the identifier to quote in a support conversation.

The outcomes

Terminal states of a journal entry
OutcomeWhat it means
succeededEvery command ran and every post-check passed.
partially-succeededSome commands ran, some did not, and the entry records which is which.
failedThe operation stopped. The exit code and the redacted error are on the entry.
rolled-backThe capsule was restored and the repository is back where it started.
compensatedThe effect was reversed by a compensating operation rather than a restore.
requires-interventionNobody can safely decide this automatically. Every in-flight entry becomes one of these after a crash.
cancelledYou stopped it, at a point where stopping was safe.

Reading a failure

A failed entry carries a redacted error (an error envelope, never a raw Git error with whatever it happened to contain) and a recommended next action. Two buttons sit under it: one opens Doctor’s findings for that repository, one opens its Flight Recorder. Retry re-opens the Operation Preview with the same parameters; the new attempt is planned, checkpointed and journalled separately rather than resuming the old one.

Finding an entry: browsing, not querying

Say plainly what this build does: the journal is browsed. Entries are listed newest first and can be scoped to a repository. There is no free-text search over intents, and no filter by risk level, outcome, ref, path or time range. The underlying list call takes a repository and nothing else. Expanding an entry is how you read it; copying its id is how you refer to it.

For a long history, the journal is a table in the catalogue database and can be read with your own tools while GitAegis is closed:

zsh
sqlite3 "$HOME/Library/Application Support/dev.gitaegis.app/aegis/app.db" \
  "SELECT id, type, status, started_at FROM operations ORDER BY started_at DESC LIMIT 20;"
Read-only. The application is the only thing that writes here.

Cancelling something that is running

An in-progress entry offers Cancel. An accepted cancellation is a request, not an immediate stop: an executing operation can only stop at a safe step boundary, so the entry keeps its authoritative status and labels the request until the terminal state is proven. Some operations stop being cancellable once a transfer has started, and the entry says so instead of offering a button that would do nothing.

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.