Deleting/replacing an appointment attachment left an orphaned ClaimFile copy behind (auto-linked earlier by autoLinkAppointmentFiles), causing the Selenium claim automation to upload extra files beyond what's currently attached to the appointment. Claim PUT was also append-only for claimFiles, so removing an attachment in the UI never persisted. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>