It really depends on how exactly you decentralize. Decentralization doesn't necessarily mean complete independence of the fragments; they can still federate into larger entities, and those entities can enforce such things. The trick is to make the power flow from the bottom up, not from the top down.
Here's a real world contemporary attempt to implement some approximation to that. I'm not claiming that it's anywhere near perfect... but it seems to be working, so far:
https://pdfhost.io/v/Hrr2IgtuS_SocialContractoftheDemocratic...
We could mandate that all AI robots should load an abide by a digital constitution that has been cryptographically signed by a majority of the population.
And how do you enforce your mandate? Without the threat of physical violence, any mandate devolves into a suggestion - or worse, handcuffs on the just.
I’m not advocating for getting rid of the institutions that apply physical violence on behalf of the population. I’m advocating for more fairly distributing the strings of power. You still have to force the manufacturers to implement the check. But the fewer places that you need to enforce physical violence on, the better.
Who will enforce this mandate? Or will this be an honor system?
Agreed but I’d also like to see human rights protected from the new decentralized governments. Not sure how that could work.