Offline Sync
Offline Sync coordinates bounded offline sessions. It does not own the business records being synchronized.
Each source addon contributes a target with a pull Query and a small allow-list of replay-safe Actions. Pull pages are bounded by record count and by fixed byte ceilings (256 KiB per item, 2 MiB per page), and offline mutation inputs are capped at 64 KiB. The source owner keeps record validation, authorization, revisions and conflict policy. Offline Sync stores device/session/checkpoint and replay evidence only; business payloads pass through responses and are not persisted by this addon.
A client registers an installation and selects targets, begins a session, consumes pages in order, applies any requested full-sync purge locally, and commits only after the complete session has been applied. Checkpoints advance only on that final commit. An expired owner checkpoint causes that target to restart as a full snapshot.
Offline mutations are replayed with the user's current server authorization. An offline capture never grants later write authority. Each operation has a stable UUID and the engine supplies a stable owner Action idempotency key. Retryable/pending operations occupy bounded server-side slots, terminal evidence is retained only to the configured history limit, and old committed/abandoned sync sessions are pruned. Revision conflicts remain owner decisions and are reported as conflict evidence instead of silently using last-write-wins.
Revoking a device prevents later sync/replay through that installation. It cannot erase bytes already stored on a disconnected client; client adapters must purge revoked or no-longer-authorized local data.