All clerics have access to a common list of spells, if you are controlling Shadowheart, why not just not take the light spells that you don't think she would be willing to cast?

You control what spells she takes, and you control what spells she casts.