I know; I did; I just didn't find that the answer to 'what would I ideally like/not like killed' was the same on a per-binary basis - it varied, and it'd always, by Sod's law, be wrong. e.g. if Firefox was set not to be killed, it would be a tab misbehaving; if Slack was allowed to be killed, it would be while I was mid-message, and so on.
If it had some concept of 'in-use', for which you could define rules like 'has an active window' or 'is playing media', that might work better for me.
Could the window manager be configured to communicate with this mechanism? The window manager knows what windows you're manipulating at the moment. (I imagine that terminal processes would be somewhat more complicated to handle.)
If it had some concept of 'in-use', for which you could define rules like 'has an active window' or 'is playing media', that might work better for me.