Intent
Ensure workflows function offline or in constrained networks.
When to use
- Field work or unreliable connectivity is expected.
- Latency-sensitive tasks need local access.
- Data capture must continue during outages.
Core mechanics
- Store data locally first.
- Queue changes for later sync.
- Resolve conflicts during sync.
Implementation checklist
- Define local data schema and storage.
- Implement a sync queue with retries.
- Define conflict resolution rules.
- Provide export/import paths.
- Log sync status and errors.
Failure modes and mitigations
- Conflicting edits -> define precedence or merge rules.
- Data loss -> add local backups.
- Sync storms -> throttle and batch updates.
Observability and validation
- Pending changes and sync status.
- Conflict counts and resolution outcomes.
Artifacts
- Local data schema.
- Sync log and status report.