No, the M5 was unstable because it was based upon Daystrom's own personality.
And doesn't change the fact that logic can be used to justify horrible decisions. Slaughtering of a threat may be quite logical in the face of possible extinction. That is the nature of survival based decisions.
And I don't care if it is one episode or if it is an arc. It is still a part of Trek storytelling and sets the foundation for how things can continue to work. We have seen multiple instances were logic has been used to justify violence in Trek before. I've seen it in books and comics that I have read over the years.
I don't understand this tendency to dismiss past Trek stories as somehow illegitimate to influence current storytelling.
Exactly.