Multi-planet systems exhibit remarkable architectural diversity. However, short-period giant planets are typically isolated. Compact systems like TOI-5398, with an outer close-orbit giant and an inner small-size planet, are rare among systems containing short-period giants. TOI-5398’s unusual architecture coupled with its young age (650 pm 150 Myr) make it a promising system for measuring the original obliquity between the orbital axis of the giant and the stellar spin axis in order to gain insight into its formation and orbital migration.
We collected in-transit (plus suitable off-transit) observations of TOI-5398 b with HARPS-N at TNG on March 25, 2023, obtaining high-precision radial velocity time series that allowed us to measure the Rossiter-McLaughlin (RM) effect. By modelling the RM effect, we obtained a sky-projected obliquity of $ $ deg for TOI-5398 b, consistent with the planet being aligned. With knowledge of the stellar rotation period, we estimated the true 3D obliquity, finding $ deg. Based on theoretical considerations, the orientation we measure is unaffected by tidal effects, offering a direct diagnostic for understanding the formation path of this planetary system. The orbital characteristics of TOI-5398, with its compact architecture, eccentricity consistent with circular orbits, and hints of orbital alignment, appear more compatible with the disc-driven migration scenario. TOI-5398, with its relative youth (compared with similar compact systems) and exceptional suitability for transmission spectroscopy studies, presents an outstanding opportunity to establish a benchmark for exploring the disc-driven migration model.