mirror of
https://github.com/samvallad33/vestige.git
synced 2026-07-02 22:01:01 +02:00
Vestige Cloud MVP client side. Implements HttpPortableSyncBackend, an HTTP impl of the existing PortableSyncBackend trait, reusing the production sync_portable_archive pull-merge-push engine unchanged — only the transport is new. Per-user isolation via opaque bearer sync key (namespace derived server-side). Optimistic concurrency via ETag/If-Match to prevent lost updates across devices; 412 surfaces a re-run-to-merge message. - new cloud-sync cargo feature (vestige-core + vestige-mcp), gates reqwest blocking; default local-first build stays network-free - sync_portable_archive_cloud wrapper mirrors sync_portable_archive_file - CLI: vestige sync --cloud [--endpoint], VESTIGE_CLOUD_ENDPOINT/SYNC_KEY env - 8 unit tests (dependency-free TcpListener mock): 404/200/401 reads, If-Match present/absent writes, 412 conflict, ETag capture 485 core tests green, clippy -D warnings clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| vestige-core | ||
| vestige-mcp | ||