Check these two as a reference:
Simpler Failover for two Gateways I found working - #18 by Filo
Simple recursive failover for bears of little brain
Particularly the second one to have formally correct scope and target-scope.
If the Starlink has some "dynamic" behaviour, then IMHO using netwatch Is more "flexible" than recursive.