doas-sudo-shim asks for password when run as root
When in a root shell, sudo will just do nothing (unless given the arguments to switch to a different user account). So the command sudo reboot
does what I expect (reboots without prompting for a password).
But with the new default doas I'm instead asked to authenticate, as root. This is kinda confusing at first and wholly unnecessary.