#31 Add visual display topology and durable identity

Merged
TE
2mo ago
+1180-236

Implements #31 on top of the merged #52 display foundation, reusing its live assignment, security-scoped bookmark, SharedVideoHub, Desktop Span, coverage, and system-backdrop behavior.

Visual Displays layer

  • AppKit monitor map using real relative frames, offsets, resolutions, scale and mirror groups;
  • main-display marker and Same on All / Per Display / Desktop Span state;
  • real-Library target selection and direct file drops;
  • ResolvedWallpaperAssignmentPlan shared by visual state and runtime assignment.

Durable identity contract

  • live CGDirectDisplayID remains routing-only;
  • canonical deviceKey uses serial-backed hardware identity when available, otherwise bounded vendor/model/physical evidence or ColorSync UUID fallback;
  • localized display names are UI/diagnostic text only and never enter canonical persistence;
  • indistinguishable serial-less twins use a separate arrangement slotKey, intentionally following remembered left/right desk position;
  • UUID churn, localized-name changes, small physical-size reporting drift, live display-ID churn, serial mismatch, and ambiguous twins are covered synthetically.

Remembered arrangements

  • bounded 16-profile Ɨ 16-member store with deterministic recent-first pruning;
  • unknown topologies are saved only by the explicit Remember Setup action;
  • automatic restore/touch is exact-signature only;
  • partial member overlap is exposed only as a UI suggestion and never silently actuates a saved plan;
  • screen-parameter churn remains coalesced before reconciliation.

Integration result

Head c94937c is one focused commit on merged #52. It removes the stale WallpaperController rewrite that caused the earlier missing-type/API compile failures. macOS Build run 415 is fully green: app+saver build, settings smoke, the integrated test matrix including durable display-topology cases, bundle verification, and Finder/Quick Look verification.

Integration verdict: merge.

Refs #31.

šŸš‚ Switchyard