This is what I have in mind:
Urist McSoapyforges can haul and not much more. He can't afford a room and decent food, so he sleeps in the barracks (or squats in a vacant room) and eats the cheapest foods (or steals from the stockpiles).
The lousy food and board he enjoys, along with the fact that he has to steal (and any punishment he might endure) make him unhappy and angry at "the establishment" specifically. When he's ready to blow, he calls for rebellion, possibly drawing in unhappy dwarves. The rebels try to kill the tax collector and all the ruling nobles starting with the baron and going up. If they succeed in killing them despite the fortress guard's best efforts, they become the rulers of the fort and abolish the economy.
These dwarves become the rulers of the civ, duchy, county or barony, respectively. If the rule the civ, they're free to do whatever they want, but if they rule the duchy, county or barony, the takeover has a chance of generating a reaction at the civ, duchy or county level, respectively, where the respective ruler arrives with an attack force intent on killing the rebels and reinstating order as they see it. Also, the abolition of the economy could trigger unhappiness by richer dwarves, resulting in a counterrevolutionary movement that tries to seize power and reinstate order on its own.
Ways of avoiding the Urist Revolution would have to revolve around making sure all your dwarves get enough money. The main ways to do that would be changing the wages paid for each job, starting large public works projects for the underpaid professions and teaching underpaid dwarves more professions. Changing pay scales would have the cost of mildly angering dwarves with lower paying jobs than those you promote.
Another important thing would be a way for dwarves to show their unhappiness before they rebel. The game already allows dwarves to complain, but AFAIK this is not logged anywhere. There should be a complaint screen where the latest complains, as well as recurring complaints, are listed. This would allow you to find problems before it's too late.