Data Flow

Hot path — latency-sensitive, keep allocations low
CLI
src/cli.ts
Entry point
→
Watcher
src/watcher.ts
FS events
→
Diff Engine
src/diff.ts
3-way merge
→
Sync Queue
src/queue.ts
Offline/retry
Remote Client
src/remote.ts
S3-compatible
On conflict:
Diff Engine →
Conflict Store
src/conflict.ts
→ CLI (next command)

    Persistent State — ~/.acmesync/state.db

    Constraints & Tradeoffs

    Constraint Detail Applies to