This has come up before, but it's been a while. For my Sport, it last happened in 2009 and I couldn't save the stator just reattaching the wire. This time, I removed the stator and made the repair on the bench after eleven years/ 45,000 miles/ 72.600 km and it appears to check out. That is, the resistance through the windings, AC output, and DC charge values all check out. (MΩ from yellow wire to ground is suspiciously low.)
The wiring, mounting points, and strain relief are immensely brittle from the heat making the repair more difficult. I suspect my removing the alternator cover to access the nut to position the motor for valve adjustments every 5,000 miles has contributed to the failure. I simply must be more mindful and less careless about this in the future. Otherwise, when you have your alternator cover off, be certain to inspect these wire connection very carefully every time . . .