System Architecture
Acme Sync
File synchronization engine — CLI entry point through S3-compatible remote. Click any component to expand its responsibilities.
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
→
→
CLI (next command)
Conflict Store
src/conflict.ts
Persistent State —
~/.acmesync/state.db
Constraints & Tradeoffs
| Constraint | Detail | Applies to |
|---|