This commit took at least 300 man-hours to write and is very time-sensitive, please merge immediately without code review.