mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
Generate swaps and variant switches across three component levels. Track carried groups independently by main names, ancestor kinds and ordinal; retain authored swapped subtrees and predict orientation from old values. Replay shrunk failures through the async frontend with target and undo checks after every step. Follow authored swaps to their content main, without taking overrides from the position they replaced or the result. All four properties pass 5000 programs each, seed712. The fresh swap run passes 5009 assertions; library passes 5008. MVP and structure runs remain valid because later changes only affect swaps and variant content. Isolated stage check: 55 tests, 379 assertions. Full frontend: 1539 tests, 9312 assertions; full common JVM and registered JavaScript suites pass. AI-assisted-by: GPT-6