You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Spike: SyncState (iCloud) feasibility for a CLI #19
Investigate whether AppState SyncState (NSUbiquitousKeyValueStore) can meaningfully work from a bare CLI process: entitlements, container provisioning, and headless-runner behavior are all open questions.
Deliverable
Short findings doc in the issue: feasible / not feasible, what a demo would require, and a go/no-go recommendation. No production code.
Code signing that embeds that entitlement (SPM build does not)
Likely an app-bundle / Xcode-managed target (restricted entitlements + profile)
Interactive macOS session signed into iCloud
Long-lived process to observe didChangeExternally (short CLI exits race sync)
Recommendation
No-go. Keep SyncState out of scope (already listed in GOAL.md). Revisit only if aps gains a signed macOS app-bundle distribution path and an explicit non-CI dogfood story. No production SyncState code in this spike.
Activity
0xLeif commentedon Jul 18, 2026
Claimed by agent:cursor.
Working branch:
cursor/issue-19-syncstate-spikeWorktree:
../aps-cli-wt/issue-190xLeif commentedon Jul 18, 2026
SyncState spike findings
Verdict: no-go for dogfooding or shipping
SyncStatein the bareapsCLI (0.x and while packaging stays SPMswift run).Full write-up:
docs/spikes/syncstate-feasibility.mdin PR #23Feasible / not feasible
NSUbiquitousKeyValueStorefrom a CLIapsStoredStateLocal probe (unsigned executable)
What a real demo would require
com.apple.developer.ubiquity-kvstore-identifierdidChangeExternally(short CLI exits race sync)Recommendation
No-go. Keep SyncState out of scope (already listed in
GOAL.md). Revisit only ifapsgains a signed macOS app-bundle distribution path and an explicit non-CI dogfood story. No production SyncState code in this spike.0xLeif commentedon Jul 18, 2026
PR open: #23 (closes #19).
Releasing claim label
agent:cursor.Document SyncState iCloud feasibility spike (#19)