A nested copy turned with the main that holds it swaps a child, and
update-main pushes that child into its own unturned main. Update-main turns
paired shapes back to the main's orientation, but add-shape-to-main cloned
the pushed child as it was in the copy, so the main took the copy's turn
and its copies turned twice.
A pushed shape and its placement reference now take the same inherited
turn before they are repositioned into the main. The model leaves the
inherited turn out of a pushed swap's geometry likewise.
Benchmark (scripts/bench-components, ms, lower 2.5% quantile):
| world | baseline | now | ratio |
|------------------------------------+----------+---------+-------|
| deepest-edit-through-three-levels | 35.215 | 19.463 | 0.55 |
| edit-through-a-chain-of-dependents | 68.931 | 38.1 | 0.55 |
| library-update-into-copies | 83.083 | 46.7 | 0.56 |
| main-edit-among-many-shapes | 4.837 | 2.227 | 0.46 |
| main-edit-into-10-copies | 1.79 | 1.064 | 0.59 |
| main-edit-into-100-copies | 15.415 | 10.225 | 0.66 |
| main-edit-into-1000-copies | 153.086 | 101.264 | 0.66 |
| variant-switch-into-copies | 32.052 | 20.333 | 0.63 |
AI-assisted-by: claude-opus-5-5