mirror of
https://github.com/penpot/penpot.git
synced 2026-10-30 06:20:32 +00:00
Walk content refs through intermediate swapped heads when collecting inherited touched groups. Following the replaced position instead crosses into another component and gives copies phantom geometry overrides (F165). Position advancement keeps its separate position-ref walk. A portable three-level regression fails both chain and touched assertions before the fix. Swap-group, file and variant suites pass 124 tests and 588 assertions; the shrunk library seed-712 program passes as well. Common lint and format pass. Benchmark lower-quantile ratios against Phase 1e: main 10/100/1000 copies 0.48/0.55/0.57, three levels 0.48, chain 0.47, library 0.49, many shapes 0.46, variant switch 0.57. No regression flags. AI-assisted-by: GPT-6