I’m not sure if I understood it correctly, but it seems that manually marking a package as group install without a group is a thing  .
If so, is there a command in dnf to verify that the group marks on packages correspond to the groups installed?
I thought about removing the marks on everything and installing the groups again, then see the manually marked packages by
dnf autoremove, but it seems that unless the packages are actually removed, they will not be remarked.
// at is part of "Standard", which is part of "Fedora Server Edition" $ dnf mark remove at // dnf wants to remove at $ dnf autoremove $ dnf group install "Fedora Server Edition" // dnf still wants to remove at...? $ dnf autoremove