Arduplane Stall Failsafe?

Has anyone considered adding a fixed wing “stall failsafe” which would automatically recover a plane (with excessive descent rate and down attitude pitch) by gently pulling up and return the plane into a “safe mode” and continue the auto mission? I had a FMS Fox 3000 glider flying heavy in an auto soar mission and it didn’t work out well. The plane stalled and went into a spiral nosedive. If I hadn’t switched back into manual mode it would have gotten nasty quick. Why isn’t there a Auto mode failsafe procedure for stalls?