pub fn create_local_profile(
adapters_dir: &Path,
adapter: &str,
profile: &str,
overlay_toml: &str,
) -> Result<(), RegistryError>Expand description
Create (or overwrite) a local profile for adapter from a sparse overlay TOML
document. Refuses an invalid name, a name that shadows a shipped profile,
an overlay that fails to parse, or one that — once merged onto the parent —
breaks a manifest invariant or loosens a consent floor (tighten-only).
Nothing is written unless every check passes.