I understood the general goal the same way.
As for CoC: I believe it's more of a signalling act than a reaction to past issues. Just like the KKK would add "no race mixing" to the rules, a left wing open source project needs to signal to their in group, and their main way of doing that is to say "no harassment based on [some criteria]".