Sync Engine
The public Mirror wraps source/target Arc<dyn FileSystem> objects and MirrorOptions; sync().await returns statistics.
Workflow and current contract
The public Mirror wraps source/target Arc<dyn FileSystem> objects and MirrorOptions; sync().await returns statistics. The lower-level SyncEngine::sync operates with SyncState and explicit conflict/progress/sparse state.
plan_from_diffs can construct a plan, but execute_plan currently returns MirrorError::NotImplemented with “executor/checkpoint integration pending schema gates”. The plan/checkpoint types therefore do not provide a completed resumable executor. Bidirectional modified-content conflicts are surfaced rather than silently choosing a winner.
Provide concrete filesystem adapters and inspect the returned error/statistics. Supply real source and target filesystem implementations; placeholder constructors do not form an executable integration.
Source reference
mirrordeclarations —local/agentfs-mirror/src/mirror.rs.syncdeclarations —local/agentfs-mirror/src/sync.rs.optionsdeclarations —local/agentfs-mirror/src/options.rs.