Add safe file-root apply

This commit is contained in:
Eric Wendland 2026-05-20 13:30:57 +02:00
commit 5c91635ea2
8 changed files with 394 additions and 14 deletions

View file

@ -142,9 +142,10 @@ Roadmap items should be actionable and checkable:
remote tree metadata and CAS tree bytes, recording a peer-qualified remote
root with path `remote:<node>:<name>` without applying files or overwriting
same-named local roots. Background live-sync refreshes authorized remote file
roots from sync-status `cas-tree:<name>` watermarks. Durable local
file-conflict records can be listed and resolved manually; automatic
cross-node conflict detection and file application are still roadmap work.
roots from sync-status `cas-tree:<name>` watermarks. `geth cas root apply`
materializes missing files/directories from a CAS tree without deleting extras
or overwriting local edits, and records conflicts for manual resolution.
Richer three-way file application remains roadmap work.
- DB resources can be registered locally and report local-only status plus a
read-only SQLite schema summary/hash and `crsql_changes` metadata when
present. The DB crate and daemon can extract typed read-only `crsql_changes`