#32 Add named scene variant runtime model
Merged
TE
2mo ago+390+390+012345678901234567890123456789-6-6-0123456789
Summary
- adds revision-21 named scene variants as stable UUID + name + sparse typed control-value deltas
- keeps
Defaultsynthetic and applies variants through canonicalSceneDescriptor.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
variantsfeature only when named variants exist - documents canonical source ā persisted variant ā temporary runtime-control layering
Verification
- focused Foundation-only
VariantTestspasses 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.
šØ Palette