I think everyone has by now had a yellow ally walk into stray AoE and immediately turn hostile. This needs to end. A toggle could solve the problem neatly, as could being directly asked if you mean to harm a non-hostile. Either way, this should have been fixed months ago.