# Read the user's cloud library from one inventory, and wait on the whole outbox · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/e511b7d212433e3c026ec99d96d76ebaf193962f)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: e511b7d212433e3c026ec99d96d76ebaf193962f

Requested commit: e511b7d212433e3c026ec99d96d76ebaf193962f

Commit: e511b7d212433e3c026ec99d96d76ebaf193962f

Tree: a56733681f42b132813a2199052e18591474cd63

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Read the user's cloud library from one inventory, and wait on the whole outbox

Two listings folder by folder can't prove a backup holds every strategy
while another device moves them. The export now takes the user's own
library from strategies:listInventory, read in one server transaction:
it writes exactly the strategies the inventory lists, placed where it
says, with folder names and looks from the folder tree. A listed
strategy gone by the time it is fetched, or a folder the tree doesn't
hold where the inventory puts it, stops the export as a library that
changed mid-export. A folder shared with the user is not in their
inventory and is still listed folder by folder. The second-pass
comparison is gone.

Checking unsent work against the listed strategies missed work for a
strategy that had dropped out of the listing, such as an edit held for
review on a strategy deleted elsewhere. The export now waits until this
account has no cloud work left on this device, for any strategy, and
refuses if any remains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [5dfdafb634ea3a03338568f0c29b456d05c2b6e0](https://git.cafe/dara/icarus/commit/5dfdafb634ea3a03338568f0c29b456d05c2b6e0?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/e511b7d212433e3c026ec99d96d76ebaf193962f?format=markdown)
