mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 14:00:37 +00:00
The schema safety net covered shapes only. It now also walks the file data schema and each change type of the change schema, and fails when a uuid field is neither a reference the remap rewrites nor classified as none. Behaviour tests plant an id at every reference and check the remap rewrites it and keeps every other id. The nets found two gaps, both fixed: `remap-refs` kept the owning `:file-id` of each media entry, which `remap-changes` already rewrote in `:add-media`, and `remap-changes` skipped `:assign` operations of a `:mod-obj`, which the change schema accepts. AI-assisted-by: claude-opus-5-5