A copy's child swapped for another component and set to fill takes the
size the layout gives it. When a sync of its main set it back to fix, the
swapped head only took its placement attributes and kept the filled size,
where a full sync gives it its own component's size. A head with
untouched geometry that stops filling in a direction is now synced with
its own component; the sync context carries the file and the libraries
for it.
Benchmark (scripts/bench-components, ms, lower 2.5% quantile):
| :world | :baseline | :now | :mean | :ratio |
|------------------------------------+-----------+--------+---------+--------|
| deepest-edit-through-three-levels | 35.215 | 19.042 | 21.954 | 0.54 |
| edit-through-a-chain-of-dependents | 68.931 | 39.697 | 41.13 | 0.58 |
| library-update-into-copies | 83.083 | 49.796 | 50.704 | 0.6 |
| main-edit-among-many-shapes | 4.837 | 2.3 | 2.482 | 0.48 |
| main-edit-into-10-copies | 1.79 | 1.061 | 1.101 | 0.59 |
| main-edit-into-100-copies | 15.415 | 10.157 | 10.441 | 0.66 |
| main-edit-into-1000-copies | 153.086 | 96.248 | 101.459 | 0.63 |
| variant-switch-into-copies | 32.052 | 21.72 | 22.289 | 0.68 |
Common suite: 2373 tests, 0 failures.
AI-assisted-by: claude-opus-5-5