The system adjusted itself after the Mahsa protests and ultraconservatives lost power because of stupid policies, nationalism increased (especially after 12 days war which United people and government).
Until now the government acted quite soft against violent rioters. Burning down buildings or trying to overrun military/police forces, throwing molotov cocktails, bricks, shooting towards security forces, chanting against the leader/state should be answered by Iron fist.
Iranian should understand difference between peaceful demonstrations and terrorism/killing policeman/Burning public properties, tax offices, mosques, libraries etc.
This is a deep cultural problem. We dont like rules and become violent because we cant control our emotions and start to act irrational.
Reforming our culture through education, upbringing, media, backed up by the Iron fist of the state security apparatus, in case that red lines get crossed, is a must.