commit b4436e24181054e245ed5a570fea5dfc4c9e1232
parent af7036e3739a96875bff047a5d3b1ed3c423c7c8
Author: Michael Camilleri <[email protected]>
Date: Thu, 22 Oct 2026 01:04:48 +0900
Record deferraly of iCloud sync
Diffstat
| M | Notes/Design.md | | | 11 | +++++++++-- |
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/Notes/Design.md b/Notes/Design.md
@@ -33,7 +33,6 @@ how the Reporter archive maps in.
- Automatic context: location and placemark, weather, Health data (sleep,
activity rings, steps, heart rate and so on), and device state (ambient noise,
battery, connectivity). Photos taken aren't recorded.
-- CloudKit sync between iPhone and Watch.
- Import of the full Reporter archive, keeping everything Reportage models.
- On-demand JSON export with a documented, versioned format.
- Written narratives: each report reads as a short narrative built from its
@@ -50,6 +49,10 @@ how the Reporter archive maps in.
from 2014, and location answers skipped since Reporter lost venue lookup.
See [Backfills](#open-questions).
- iPad and Mac apps.
+- CloudKit sync. With one iPhone and no Watch app, sync adds little: iCloud
+ Backup already includes the store, and JSON export gives a manual
+ off-device copy. Sync is built when a second device needs it, most likely
+ with the Watch app. See [Sync](#sync).
- Answering surveys inline in the notification.
### Hard requirement: never steal headphone audio
@@ -836,6 +839,9 @@ synced or exported.
## Sync
+Deferred until a second device needs it (see
+[Not in scope yet](#not-in-scope-yet)). This is the plan for when it's built.
+
Private CloudKit database via `CKSyncEngine`, with two custom zones:
- `Config`: `Question` records, including which surveys ask each one. No
@@ -1089,7 +1095,8 @@ the locale uses for weather. Sleep isn't charted.
recorded: a prompt that's never answered leaves nothing behind, as in
Reporter. Choice answers are already stored as lists, so multi-select
can come later without changing the format.
-8. **Sync.** `CKSyncEngine`, both zones, first upload. Sync comes last
+8. **Sync.** `CKSyncEngine`, both zones, first upload. Deferred until a
+ second device needs it, most likely the Watch app. Sync comes last
because CloudKit's Production schema can only be added to, so it should
be deployed once, after everything else has settled the shape of the
data. Until then, local changes keep sync in mind: stable UUIDs,