Repository navigation
iCloud sync of the Library through CloudKit (phase 2, ADR-0017) - #71
Open
ChaliceForAuri wants to merge 1 commit into
Open
ChaliceForAuri wants to merge 1 commit into
ChaliceForAuri wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
ChaliceForAuri
force-pushed
the
icloud-sync
branch
from
October 19, 2026 03:26
4569912 to
3b04103
Compare
…-0017) TimbreCloud: CKSyncEngine over one custom zone of the private database. Events are immutable records named by their id and saved once; entries are replaced whole on edit with the later edit winning; the profile is one record; the Library's own merge does the merging, and a server-changed conflict takes the server's copy, merges, and sends again over its system fields. A small state file beside the Library remembers the engine's state and what the server has; nothing in it is a word. ADR-0017 records the schema, which can only ever grow. Off by default on every device: Settings › Library on the Mac, You on the iPhone, a toggle on the Watch, each with the copy GDR-0010 asked for. The binary still makes no request; the iCloud entitlements join all three apps. The Library gains several save observers so the card and the sync both follow it. The site keeps GDR-0010's promise: the headline becomes "never leaves your devices", the FAQ and the network page say exactly what moves, by whom, and that dictation never does. TimbreCloud: 6 offline tests (every record type round-trips; the state persists). The two-device proof is the joint test. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
ChaliceForAuri
force-pushed
the
icloud-sync
branch
from
October 21, 2026 20:59
3b04103 to
4d1f182
Compare
ChaliceForAuri
force-pushed
the
practice
branch
from
October 21, 2026 20:59
a0927bc to
3362782
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #70. Phase 2's second half: the Library through the user's own iCloud.
TimbreCloud
CKSyncEngineover one custom zone of the private database. Three record types (ADR-0017):Event, immutable and saved once, named by the event's id;Entry, replaced whole on edit, latereditedwins;Profile, one record. The Library's ownmergedoes the merging; a server-changed conflict takes the server's copy, merges, and sends ours again over its system fields. Deletions areforgotevents, never deleted records. A state file beside the Library keeps the engine's serialization and what the server has; nothing in it is a word.Surfaces
Off by default everywhere. Mac: Settings › Library › iCloud, with status, Sync Now and the Advanced Data Protection link. iPhone: You › iCloud. Watch: a toggle. The iCloud entitlements (
iCloud.dev.hugopretorius.Timbre, CloudKit) join all three apps; a build without a team runs with the toggle off.The claim
GDR-0010 said the headline changes when sync ships. It does: "Dictation that never leaves your devices", with the sync explained beside it; the FAQ and
/networksay what moves, by whom, and that dictation never does.Verified
CKRecord; system fields round-trip; the state persists.sync:docsregenerated.nettop -p Timbreempty throughout.🤖 Generated with Claude Code