It’s funny how “assume good intent” is almost always used to excuse semi-crappy actions of those who already have power. It’s almost never used to give people from marginalized communities the benefit of the doubt.
In context of CoC, it's out of scope. The purpose of a CoC is not to avoid miscommunication but to state unequivocally that a community does not condone abusive & oppressive behavior and establish procedures for responding to it.