pub fn prepare_policy(
policy: PolicyConfig,
supernodes: &[SupernodeConfig],
plugin_configs: &[PluginConfigDef],
) -> Result<PolicyConfig, String>Expand description
Turns a stored policy into the compile-ready form.
Errors are the human-readable strings the Admin API already returns:
validate_policy violations joined with "; ", then the first
resolution or expansion error.