Limit survivor ownership reads to command names that cleanup could actually remove. Snapshot replaced groups before activation and retain fail-closed scanning whenever an existing command is dropped, while allowing same-command global upgrades to proceed past unrelated incomplete groups.
Apply the same ownership rules to pnpm v11 and v12. Canonicalize the v11 hash-link target and parent before computing rollback links on macOS. Isolate package-manager provisioning tests from user-level Yarn path overrides.