Encountered an issue with bounties that have a prerequisite.
Working from Tahlan Shipworks converted HVBs, the three valid bounties with prerequisites will not spawn.
Using the provided console command, the prerequisites are listed correctly, however even after having completed the required bounty, the check is still listed as failed.
I dove into my save file and your provided source code to see if I could figure out what was happening.
From what I found, it looks like the key for the bounty's are listed in three places, as part of the $MagicBounties_completed_keys object, as $HVB_tahlan_bounty_*, and as $HVB_tahlan_bounty_*_Succeeded.
The last two both have attached Boolean values.
Based off of the logic used in the ListBountiesRequirementsCommand class, its checking if the bounties are completed by looking for the individual listings which have the HVB tag added to the front of the key.
Since its not looking with the HVB tag in mind, its not finding the bounties its looking for listed.
Could you use MagicBountyCoordinator.getCompletedBounites().contains(k)?
As its written right now, the console command should always show FAIL for a converted bounty with a pre-req.
Looks like you use the same logic in MagicCampaign.isAvalibleToPlayer(), so that is probably also returning false for any converted mission with a pre-req.