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
| Outcome | What it means |
|---|---|
succeeded | Every command ran and every post-check passed. |
partially-succeeded | Some commands ran, some did not, and the entry records which is which. |
failed | The operation stopped. The exit code and the redacted error are on the entry. |
rolled-back | The capsule was restored and the repository is back where it started. |
compensated | The effect was reversed by a compensating operation rather than a restore. |
requires-intervention | Nobody can safely decide this automatically. Every in-flight entry becomes one of these after a crash. |
cancelled | You 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:
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;"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.