refs: break out ref conflict checks