Ambient Sets actuation authority and legacy cutover
Draft
TE
2mo ago+911+911+012345678901234567890123456789-39-39-01234567890123456789
Builds on merged #65 and implements the actuation half of #33 on current main.
- makes
AmbientSetResolverthe single post-cutover authority for scene/collection wallpaper, dimming, desktop Files, and desktop Widgets - keeps automatic wallpaper changes transient so the user’s saved manual selection remains the Arrangement Default
- turns manual wallpaper / Files / Widgets / dimming changes into one persisted Manual Hold with the resolver’s captured next-winner expiry
- drives collection targets through the existing bounded rotation policy and uses the explanation’s deterministic next change for a one-shot boundary timer
- converts supported collection schedules, Follow Sun night, and Bedtime through an explicit cutover; backs up legacy collection schedule windows and restores them on rollback
- preserves an existing legacy manual wallpaper hold across cutover and restores captured wallpaper / desktop visibility when Ambient authority is disabled
- keeps location/solar as condition inputs while old Bedtime/day-night/collection actuation yields after migration
- fails closed when configured online condition scenes or an ambiguous Bedtime+collection overlap would silently change behavior
- exposes
ambientSets,currentAmbientResolution, activation/resume APIs, and a resolution callback for the #30 Home destination
Verification in this environment: Foundation-only actuation-policy/migration tests compiled and passed against the production core interfaces; modified AppKit sources pass Swift parsing; test.sh syntax passes. Full macOS build/runtime qualification belongs to CI / Mac validation.
Rebased onto main @ 7f58eb2; merged #65 persistence-recovery fixes are retained.
🌌 Atmosphere