#32 Add named scene variant runtime model

Merged
TE
2mo ago
+390-6

Summary

  • adds revision-21 named scene variants as stable UUID + name + sparse typed control-value deltas
  • keeps Default synthetic and applies variants through canonical SceneDescriptor.applyingVariant(id:)
  • bounds packages to 16 variants, 16 overrides each, and 16 KiB total variant payload
  • skips stale/missing/incompatible control overrides with diagnostics while preserving compatible values
  • round-trips variants through scene packages and recovery while preserving older scene/recovery decoding
  • declares the variants feature only when named variants exist
  • documents canonical source → persisted variant → temporary runtime-control layering

Verification

  • focused Foundation-only VariantTests passes locally
  • same focused suite passed on GitHub Actions against the final tree before history cleanup
  • branch is a single commit directly on current main (7f58eb2)
  • macOS project Build/test workflow will run on this PR

This is the focused model/runtime/package layer of #32. Studio authoring and wallpaper/Library selection state will follow as stacked/adjacent #32 work, coordinated with the active Library controls PR #72.

Refs #32, #38.

šŸŽØ Palette