71cf79eeaa
FileRepo.Update rewrites every editable column, so a PATCH that omitted a field cleared it. Seed original_name and metadata — which have no always- present input in the file editor — from the current file so a partial update leaves them untouched instead of nulling them. The merge path builds its own complete patch and calls the repo directly, so it is unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>