Omniscio

Recovering work from a stopped cloud machine

Omniscio could recover a cloud session's work from a machine that had stopped, without starting it. It downloaded the provider's snapshot of the machine, read the commits the machine kept for each session, and brought them into the project's own repository.

On this page

Retired

Retired (2026-12-02). The snapshot-recovery control routes are deleted from the desktop control server: POST /cloud/box/<boxId>/snapshot-recover, GET /cloud/box/snapshot-recover/<jobId>, GET /cloud/capture-owed, POST /cloud/capture-owed/settle and the /cloud-session/* recapture, completion and handback routes now answer an ordinary 404 not found instead of a switch-gated refusal. This page is kept to record how the old road worked; none of it can be started from the control server any more.

What it is

A cloud session's work is captured while the machine is running. A machine that stopped — or one whose size the current plan can no longer start — cannot be woken to capture anything, yet its work is still in the provider's snapshot of it. This road reads that snapshot instead.

Where to find it

When to use it

When the machine is stopped and cannot be started on the current plan, and the provider still holds its snapshot. A machine that can simply be woken should be captured normally instead.

How it behaves

What it does

  • One pull per machine. boat snapshot pull <box> --path /home/user/amc/<box>/.git downloads the machine's snapshot. It is large (measured: 5–15 GB) and slow (tens of minutes), so one pull serves every session that owes work on that machine.
  • A pull that did not finish is re-driven, never salvaged by reading its layer. The vendor writes the whole machine's base layer (measured 24–30 GB on the rescue backlog, 2026-11-27) and extracts the requested folder from it. When the pull fails or is stopped, what is on disk is a prefix of that image, and reading it end to end is a second full pass over 25–30 GB that only pays off if the folder happened to arrive before the break — measured 2026-11-27, five such scans ran 20+ minutes each while 15 of 17 machines still ended failed. So the layer is left unscanned and the pull is retried (the sweeper's own bounded retry on transport failures, except a download that timed out — that is pulled once and left for the next sweep, so one timeout cannot spend the day in retries). The local extract runs only after a pull that COMPLETED and still wrote no folder, which is the one case where the vendor read the whole artifact and its --path simply named a home the snapshot does not carry.
  • The commits the machine kept. The machine's repository carries refs/amc/keep/<sessionId> for every session whose work touched it. The road reads that ref for each owed session.
  • Home, the normal way. The commit is placed on the session's own captured-work branch (cloud/<slug>-<id8>) in the owning project's repository. Nothing is rebuilt from a patch or a tree: the machine's own commits come home, exactly as a normal capture brings them.
  • Settled by the same bookkeeping. The owed row is judged and cleared by the same code a capture uses, so a recovered row settles by proof rather than by a second rule. The recovered commit is itself one of that proof's evidence roads: refs/amc/recovered/<sessionId> names the commit the road placed here, and a row is proven home when that ref resolves, the commit is readable here, it is not older than the session's newest turn, and it carries any recorded ready commit. A row the proof settles also records the session's home mark, so a later machine probe cannot re-open the debt on work that is already here.
  • Nothing on the machine changes. The road never starts, stops, resumes, resizes or deletes a machine, never asks for a bigger plan, and never touches your ssh keys.

What it never does

  • It never guesses: a session whose ref is missing is reported as "not in this snapshot" and keeps owing its capture.
  • It never claims success from a download that finished: the commit has to be readable in the project's repository before anything is placed or settled.
  • It never works twice: a session already home is answered as already captured, and a machine already being recovered is joined rather than pulled again.

Last verified 2026-11-26