pub async fn create_profile_impl(
scheduler: &Scheduler,
name: String,
) -> Result<(), String>Expand description
State-mutation core for create_profile. AppHandle-free so the
validation + copy + push + persist path can be unit-tested without
a Tauri runtime; the command wrapper layers the profile:changed
emit on top.