Twist: Bayesian posterior is used to build the frequentist decision rule.
A frequentist test with guaranteed coverage that maximizes average power — where "average" is over a prior you choose. More power if reality matches your prior, less if it doesn't.
Clean, generic, and fast (no minimax needed).