Can't confirm this and likely wishful thinking on your part. You often leap to conclusions despite the absence of evidence to back your claims.
Among all your neighbors, Turkey likely possesses the most accurate insights regarding Tehran, and political analysts and decision-makers in Ankara are saying the same:
There is a major infighting in Tehran, an internal power struggle, with decision-makers frequently "overruling" each other's "instructions".
People here are overly focused on military technicalities, battlefield strategies and potential unrest in Iran. While all of this unfolds in the Middle East, there is also an ongoing conflict within the IRI. In this regard, you are correct, and I acknowledge that. However, it is by no means as straightforward and "already decided" as you would like to portray here. The outcome remains uncertain.
Do you genuinely believe that Erdogan proposed Iran's oil, gas, and mineral resources to the US on a whim without prior consultation with Tehran? Or do you think the Turkish government would arrange a meeting between Washington and Tehran in Istanbul without receiving approval from Tehran?
Based on my understanding of the Iranian dynamics from Turkish sources, it appears there is quite a chaotic, if not nearly frantic, exchange of contradicting statements and decisions coming from Tehran.
This should worry us, not make us happy. I don't understand your optimism.