Intermediate-mass planets, from super-Earth to Neptune-sized bodies, are the most common types of planet in the Galaxy1. The prevailing theory of planet formation—core accretion2—predicts the existence of substantially fewer intermediate-mass giant planets than have been observed3,4. The competing mechanism for planet formation—disk instability—can produce massive gas giant planets on wide orbits, such as HR 87995, by direct fragmentation of the protoplanetary disk6. Previously, fragmentation in magnetized protoplanetary disks has been considered only when the magneto-rotational instability is the driving mechanism for magnetic field growth7. However, this instability is naturally superseded by the spiral-driven dynamo when more realistic, ...