This may have been handwaved in the past, because config files don't take that much storage.
But Sequoia and up have strict management of background agents in "Settings / Login Items".
It fills up with so many broken references, duplicate entries, etc... I have no idea how a normal user is supposed to remove trash from that list. I pointed an agent at it, asking it to remove any broken references.