Weave documentation
Agentfs Mirror

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

On this page