This has come up a few times for GitLab.
I'm loathe to add more bureaucracy around here, but it might be reasonable to track this sort of thing in Phab.
Also possible that something already exists - filing this ticket as a placeholder for a bit of future research.
Prior art: