Expand description
RemoteStore — Store impl that talks to a verdant-server
instance over HTTP. Wired so LiveCache::new(RemoteStore::new(...))
Just Works at every existing call site (verdant-mcp,
verdant-proxy), letting a binary swap a local on-disk cache for a
shared multi-user cache by configuration alone.
Trust model: the server revalidates file roots server-side on
every read (see verdant-server’s storage.rs::revalidate_roots),
and the wire LookupResponse::Hit now carries the recorded
file_roots so the client can independently revalidate against
its own checkout. This catches the cross-machine drift case where
Bob’s tree differs from Alice’s: the server’s filesystem says the
entry is fresh, but Bob’s local copy has diverged, so client-side
revalidation through LiveCache::lookup_revalidate must
invalidate. The server’s check and the client’s check are both
required for a defensible trust model.