Agentfs Mirror
Sparse Sync
SparseSync::should_sync checks requested path overlap, path-component depth, exclusions, and inclusions.
Workflow and current contract
SparseSync::should_sync checks requested path overlap, path-component depth, exclusions, and inclusions. mark_synced/is_synced maintain in-memory bookkeeping.
The current path predicate does not enforce the declared minimum/maximum file-size fields because it receives only a path. Dependency expansion is also incomplete: get_dependencies returns an empty list. Do not promise dependency-aware or size-aware selective transfer solely because those option fields exist.
Source reference
sparsedeclarations —local/agentfs-mirror/src/sparse.rs.