Assign status version records to the correct primary record

Webhook updates can orphan status-version records, causing reporting drift and manual fixes. Auto-link versions to primary records so reports are accurate ahead of enrollment exports.

Assign status version records to the correct primary record

Overview

Assign status version records to the correct primary record