So you're basically admitting that Turkey has betrayed the Syrian opposition and conceded defeat to Assad and the Iranians lol. So Erdogan has conceded that Syria will become Iran's backyard, which ironically goes against all the harsh anti-Iranian comments he made when he was in Bahrain a few weeks ago.
The YPG will be greatly rewarded by Assad/Damascus for making Ankara give up on the FSA. After all, Turkey would've never given up on regime change in Syria if it hadn't been for the expansion of the YPG forces along the Syria-Turkey border, which Assad/Damascus allowed to happen.
By the way, while all of this is taking place, the Iraqi PMU is now threatening to attack Barzanistan and remove the KDP from Yazidi areas.
How does all this help Turkey again?
Erdogan didn't make the right moves. He could've carved pro-Turkish regions out of northern Syria in 2014 by helping Barzani's Rojava Peshmerga against ISIS in Syrian Kurdistan. Instead, he chose to turn a blind eye to ISIS's presence until it was almost completely removed by the anti-Turkish YPG. The problem for you right now is that the YPG has good ties with Damascus and Moscow. Russia is now shaping the events in Syria, and the Russians want Assad to accept YPG autonomy/self-rule.
The YPG will allow a number of government-sanctioned Syrian border guards take over the demarcation line between the Kurds and the Euphrates Shield forces. In other words, if this deal gets finalized, then Turkey won't be able to attack the Kurds of Manbij without first attacking Syrian government forces. And if Turkey does that, then the Russians will blow the Euphrates Shield jihadists to smithereens.
None of this is good for Turkey. It only proves that Turkey wasted its time entering the Azaz-Jarabulus corridor, especially since the latest Russian-brokered deal between the YPG and Damascus will allow the Kurds of Afrin to trade with the Kurds of Manbij and the other cantons.