When pasting, read each child to advance from the objects being built,
not from the page, so a later change to the parent cannot make it read a
stale shape.
Fix the docs of ignore-children-fn in get-children-ids and delete-shapes:
it receives a shape id, not a shape.
Add a unit test for ctf/get-swap-level, a paste test where the swap sits
at the last level the copied head drops, and a detach test where the
swapped copy sits under two non-swapped nested copies.
AI-assisted-by: claude-opus-5-5