The origin of super-Earths and sub-Neptunes has been revealed in a system of four young planets that are dramatically losing ...