Provider switches must preserve delivery and webhook races
Treat a provider switch as a delivery-state-machine change, not an endpoint swap. Preserve queued, submitting, accepted, failed, and outcome-unknown claims; retry only definitive non-acceptance. Make inbound attribution replayable when a webhook arrives before outbound acceptance…