For my own project I was considering to include a code of conduct. But currently decided against it because I do not think the purpose of a code of conduct should be written down as potential punishments as consequences.
A lot of people have a variety of backgrounds, a variety of perspectives and values that thet have been taught. If someone isn't even aware of what they did to offend another member, how is that someone supposed to learn from it if they are just punished for it?
I want to create a culture of welcoming, and a safe space for everyone. Not a dystopian regime that punishes first and acknowledges their mistakes later. We've got a broken justice system already, and I think it is built in the opposite manner of what we're trying to achieve.
If you punish and exclude as consequences, the logical conclusion is alienation and isolation.