- rename_file links then unlinks, so a name another worker took after the
check is refused instead of replaced; filesystems without hard links fall
back to rename.
- rename_asset owns the whole rename: the thumbnail and asset rows commit
in one transaction, and a failed commit moves the files back.
- A thumbnail another save or state still resolves is copied for the
renamed asset instead of moved away from the other one.
- Collection Apply and the visibility switch wait for each other.
- The collection settings test builds its fixture with a typed factory,
the RSwitch label-slot story uses a colour token, and the moved assets
fixture keeps a one-line docstring.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>