Eva Marco 8e306b8e24 🔧 Validate shapes after removing them from a variant
generate-make-shapes-no-variant now validates the shapes and their old
variant containers, and accepts a :skip-validation? option.

generate-relocate calls it before moving the shapes, while they are
still inside the container. Validating the container at that point
reported :main-instance-not-a-variant on valid data. Relocate now passes
:skip-validation? and validates at the end: the old and new variant
containers, and the moved variants when they end up outside any
component. Inside a component they are no longer roots, and the
validator can't check them on their own.

Add tests for the function and for moving a variant out of its
container, with valid and corrupted data.

AI-assisted-by: claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:13:40 +02:00
..
2026-09-22 10:22:31 +02:00
2026-09-25 11:11:44 +02:00
2026-09-22 10:22:31 +02:00
2026-03-11 15:24:40 +01:00