Hi, Adding to what I just said earlier: it should at least be possible to check if we're already root, and when we are, provide the completions for root.
If we're an unprivileged user, then provide the completion for the Shepherd instance running as that user, if any. -- Thanks, Maxim