Ambient Sets core resolver and migration model

Merged
TE
2mo ago
+853-0

Implements the UI-independent core for #33.

  • named sparse Ambient Sets with Manual Only / automatic activation
  • ordered winner priority with time, weekdays, and sunset→sunrise conditions
  • ResolvedDesktopState plus UI-ready explanation / overlap / next-change data
  • explicit persisted manual hold whose next-auto expiry is captured once
  • bounded atomic catalog persistence (128 sets / 1 MiB)
  • explicit adapters for collection schedules, Follow Sun night, and Bedtime; legacy behavior remains active until migration is committed
  • synthetic resolver/persistence/migration coverage wired into test.sh
  • core semantics and actuation seam documented

Verification: Foundation-only suite compiled with Swift 6.2.1 using -warnings-as-errors and passed. Full AppKit suite remains for macOS CI/qualification.

Base: main @ 86729f8.

Refs #33, #30, #31.

🌌 Atmosphere