fn canonicalize_suggestions(
suggestions: &[PermissionUpdate],
) -> Vec<PermissionUpdate>Expand description
Walk the suggestions list and collapse macOS /tmp <-> /private/tmp
AddRules mirrors into one merged entry. Two AddRules suggestions with
the same toolName + behavior + destination, whose rule_content differs
only by the /tmp/ <-> /private/tmp/ prefix, are merged into a
single AddRules whose rules vec contains BOTH entries so the CLI
installs both rules even though the UI shows one option.