This is a risky post to make, because it could be overtaken by events even as I write it.
Nonetheless, I am hopeful that the rulers of Iran will not stomach a stolen election and attacks on peaceful protesters because they believe that God will judge their actions. This is no guarantee of decency, of course - some of their fellow pious Muslims, of a quite different stripe, commit suicide attacks every day in the name of the same God.
Nonetheless, when I compare the protests in Iran today with those in China in 1989, I am more hopeful. I expected the Chinese Communist regime to attack the protesters. Power in this world is the only thing that really matters to them. The ayatollahs in Iran, on the other hand, hold themselves to a higher standard. Some of the religious authorities have criticized the government for attacking the protesters and resisting a clean election result. I have heard that some of these religious authorities have a higher religious status than the supreme leader Khameni, though he is a cleric, too.
Nothing is determined, and there is no way to tell ahead of time how a crisis will be resolved. All I can say is that I see signs for hope in this crisis.