Earlier quoted context omitted.
solved long ago. https://github.com/jirutka/doas-sudo-shim/
so do I uninstall sudo from my distro? What do I do on upgrade? This shim is available from alpine package manager, can I get it anywhere else?
For the technically inclined who like challenges, creating a distro package of this shim is the "hello world" equivalent for packaging.