Omniscio

Work in Flight (the worktree ledger and its Saved Work vault)

Work in Flight is the Dev Pipeline panel's one-glance answer to "what work is on this machine right now?" — every workspace with a plain-language state, a count of the ones that need you, and a Keep button. Under it the Saved Work vault lists the work Omniscio set aside, each row with a Restore button.

On this page

What it is

Work in Flight and its Saved Work vault are the reader-facing half of the worktree ledger — the record Omniscio keeps of every git workspace it has made, who owns it, and what it is for.

  • The Work in Flight strip turns that record into plain language: a hub filter (one pill per repo, busiest first), a headline of how many workspaces need attention, a chip per non-empty state, and one row per workspace that wants a person — each with the work's title and a Keep button.
  • Under the headline, the Worktree pool line counts every worktree folder as ready, leased (in use), cleaning (being repaired) or retiring (being deleted). It adds the folders the core worktree engine holds to the older engine's, so an install that runs on the core engine still sees all of its folders there. If the core engine's folders cannot be read, the line says availability could not be read instead of showing a smaller number.
  • The Saved Work vault makes the repository's rescue refs and its branch archives visible and restorable, so a non-technical operator can see that nothing is thrown away. That includes the cloud roads' own bookkeeping: a cloud session's turn-end snapshot, the outbox and ready-publication pins, and the box handback records are listed beside the worktree refs, because each one can be the last surviving copy of a session's work after its machine is gone.
  • A ledger activity readout compares the record with git — how many rows are behind, ahead, or otherwise out of step — so the index's own health is visible.

Where to find it

It lives inside the Dev Pipeline panel — a built-in sidebar panel — on its Live view, in between the runs and the worktree list. When there is nothing in flight at all — no runs, no worktrees, and no branch waiting to land — the panel shows its empty state instead, and none of Work in Flight appears; when there are worktrees but no runs, Work in Flight still shows.

It is an in-development feature: it is off by default and revealed by its own Settings → Lab toggle, "Work in Flight (Worktree Ledger)". Until that switch is on, the panel shows none of it.

How it behaves

  • Six plain-language states. A workspace is needs you, stuck, being built, landing, kept, or done, and the chips summarise the counts ("3 need you", "5 being built").

  • The label follows the branch, not a stale internal note. A workspace reads landing only while its branch still carries the ready tag and no land of it has been recorded; once the branch is blocked or set aside it reads kept, and once its work is on the base it reads done. So an idle lander no longer looks busy.

  • The counts count folders. A cloud session's branch that came home with no folder on this computer is not a workspace here, so it never moves a chip, the "N need attention" headline, or a hub's number — and it is never listed as a row that needs attention either, so the headline and the list always agree. Those rows are shown on their own line instead — "Cloud work coming home: N — no folder on this computer" — so the worktree numbers describe only the folders you actually have.

  • The app's own machinery reads kept, never stuck. The auto-lander keeps a few reused, locked workspaces of its own (its recovery workspace and its tooling and post-land check copies). Nobody owns them, and cleanup refuses them on purpose, so there is nothing for you to do: they read kept and never count toward "N need attention". A workspace with no owner that is NOT the app's own machinery still reads stuck, and so does one sitting outside every workspace folder, because you can clear that one.

  • "N need attention" is counted by the app, not the screen. The number is worked out in the background — the selected hub's count when a hub is picked, the overall count otherwise — so the headline stays right even when a busy repo's long finished list is capped for display.

  • Keep protects a workspace. Pressing Keep on a row pins it so the cleanup jobs leave it alone. Keeping is one-way in this panel: there is no un-keep control, so a workspace stays kept.

  • Restore brings saved work back. Each row in the Saved Work vault has a Restore button that brings the saved work back as a fresh branch an agent can pick up. The vault keeps its two lists apart — "Unsaved work" (the rescue refs, the only copy of work that was never committed) and "Branch archives" (kept just in case) — and shows a bounded number of the newest of each, so the irreplaceable unsaved-work rows cannot be crowded out by the steady stream of landed-branch archives.

  • A workspace is never closed on a doubtful read. A row is marked gone only when its folder was proven absent. A check that could not answer (the drive was busy, the folder was mid-move) leaves the row exactly as it was, and the API says the workspace "could not be read just now" and to re-send in a moment.

  • Changing it is desktop-only. The panel's actions only work in the desktop app. On a phone or over Web Access the ledger's reads are blocked as well as its writes, so neither the Work in Flight strip nor the Saved Work vault can load what they list, and the screen carries a red "Couldn't read what's in flight — this list may be missing work." line — a blocked read, which is not the same thing as an empty ledger.

  • A returned branch's record ends when its work is home or its branch is gone. The "Cloud work coming home" line is a list of records the app is still tracking, not a permanent pile: each one closes once an agent has landed its work on the base or the branch itself no longer exists, and the app checks a batch of them every few minutes rather than letting the oldest ones sit at the front of the queue. A record whose proof cannot be read stays exactly where it is.

  • A folder marked "do not delete" can be released, and the release needs a person. A worktree kept by a branch description stays held until a recorded approval from the owner licenses its deletion. POST /worktrees/keep-release with { ids, reason } asks for that licence for a NAMED SET of folders in one go. The route raises one inbox card naming the set; a person approves it, and that same request releases every folder in it — each released branch then carries a keep-released: … approval:<id> line. A request an agent sent through the /ask broker works the same way: the person's click on that card is the approval, and the app spends it on that call instead of raising a second card. Running a release again is safe — a folder that no longer holds a keep is reported as already released, never asked about twice. The request never carries the approval itself, and the release only un-pins and publishes the licence: whether the directory is ever removed stays with every preservation floor that has always decided it.

  • Only a real worktree becomes a workspace. A session that works in a plain folder — an overseer's notes folder, a Claude project's home folder, a repository's own main folder — gets no row here, whether it resumed there, was started there, or took the folder over from another session. A record that already names such a folder is closed by the cleanup sweep, or by its owner's POST /worktrees/<id>/remove, as a record only: nothing in that folder is read, moved or deleted, and the answer says the record named no worktree.

Last verified 2026-11-01