Chaotic Young Star System Holds the Key to Planet Formation