Back to Super Productivity

Operation Log Architecture Diagrams

docs/sync-and-op-log/diagrams/README.md

18.4.44.1 KB
Original Source

Operation Log Architecture Diagrams

Last Updated: January 2026

This directory contains visual diagrams explaining the Operation Log sync architecture.

Diagram Index

DiagramDescriptionStatus
01-local-persistence.mdLocal IndexedDB persistence, hydration, compactionImplemented
02-server-sync.mdSuperSync server API, PostgreSQL, upload/download flowsImplemented
03-conflict-resolution.mdLWW auto-resolution, SYNC_IMPORT filtering, vector clocksImplemented
04-file-based-sync.mdWebDAV/Dropbox/LocalFile sync via single sync-data.jsonImplemented
05-meta-reducers.mdAtomic multi-entity operations, state consistencyImplemented
06-archive-operations.mdArchive side effects, dual-database architectureImplemented
07-supersync-vs-file-based.mdComparison of SuperSync and file-based sync providersImplemented
08-sync-flow-explained.mdSimple explanation of how sync worksImplemented

Quick Navigation

By Topic

Getting Started:

Understanding Conflicts:

Advanced Topics:

Comparisons & Overviews:

By Sync Provider

ProviderPrimary Diagram
SuperSync02-server-sync.md
WebDAV04-file-based-sync.md
Dropbox04-file-based-sync.md
LocalFile04-file-based-sync.md
DocumentDescription
../operation-log-architecture.mdComprehensive architecture reference
../operation-rules.mdDesign rules and guidelines
../vector-clocks.mdVector clock implementation details
../quick-reference.mdQuick lookup for common patterns

Diagram Conventions

All diagrams use Mermaid syntax and follow these conventions:

ColorMeaning
Green (#e8f5e9)Success paths, valid states, local operations
Blue (#e3f2fd)Server/API operations, remote operations
Orange (#fff3e0)Storage, file operations, warnings
Red (#ffebee)Errors, conflicts, filtered operations
Purple (#f3e5f5)Results, outputs, final states