Remote / foldkit-remote
Which state belongs here?
One owner per datum:
| State | Owner |
|---|---|
| Route, selected item, local form state, transient UI errors | the application Model and update |
| Server-derived facts that can be refetched | foldkit-remote |
| A write the server decides, which must be sent even after a reload | foldkit-remote, durable (its outbox) |
| Client-authored state that must survive offline and converge | foldkit-sync |
| Local state represented in the URL or another store | the Model, observed by foldkit-mirror |
With Remote, the server owns the fact, the cache is disposable, refetching is the recovery, and a write that must be sent later waits in the outbox. With Sync, the client owns the edit, its intent must survive offline and a restart, and replay and reconciliation are the recovery, so that devices converge.
A Surface may project all of these owners at once while each owner keeps write authority over its own slice.