what about automated flight systems that take over if a deviation from normal/safe is detected
HAL reinvented ....! Give me a break.
If you want to mitigate the risk of deliberate suicide in a cockpit, you should
limit the number of people in it and definitely not
add less vetted individuals to reduce the supposed risk coming from much more controlled ones.
It has been said before, the only logical reason to have two inside, would be to lessen the risk of a possible incapacitation, but with the entry logic of today's locked cockpits, even this eventuality is covered by 30 seconds.
The policy today has simply increased the risk of an incident!
But it covers some deplorable armchair managers who only care about their backside and not about safety.