UV completion on the worldline