Yes, it does make sense to codify this.
The goal is not to deal with past incidents, but to show potential/future members and speakers that we are welcoming and safe before they come and find out for themselves.
Prevention, cure, etc.
I support a code of conduct with explicit zero-tolerance clauses.