Check screenshot names before the state or save is stored, move the
update_rom fs_name check ahead of provider fetches, check the stamped
state name on pull, skip the length check on a no-op rename, and share
the sanitize-and-check block through sanitize_asset_filename.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>