Thank you Past Myke for having labelled all the wires when reverse engineering this heat pump (9 years ago!) in my apartment. It lacks a control board, must've been gutted by the previous owner.
Anyway, when the G-wire fell off the relay recently, this was a real easy fix.
And now there's heat again.