af234ce049
F1 passed when the entry had been deleted first (INSERT path) but not in overwrite mode: that path uses PUT, and PUT deliberately ignores favorite/pinned so a SYNC update can never clobber the local flags — they are device-local by design. A restore, however, must bring them back. The overwrite loop now applies them through the dedicated toggle endpoints, and only when they differ from the local entry. JS-only: PUT keeps ignoring them, so sync behaviour is untouched. Splits the F1 scenario into F1a (delete + reimport, already green) and F1b (overwrite). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>