When defining security-policy APIs (e.g., seccomp/AppArmor profiles), make the effective policy computation and schema evolution unambiguous and compatibility-safe.
effective_profile = intersect(
(base_profile ? base_profile : runtime_default_or_localhost_replacement),
oci_ref_digest_pinned_profile
)
kind values (e.g., AppArmor) when runtimes can safely parse and enforce them.
oci_ref only when ProfileType is OCI), require runtimes to ignore it otherwise; this prevents unintended cross-type policy application.These practices reduce the risk of insecure defaults, policy ambiguity, and accidental enforcement gaps during API evolution.