Public shaming can work, but in order for it to work long term you need a consistent set of rules and only apply shaming when said social conventions are broken, you also need forgiveness and be able to let go when the offender recants.
Leftism does not have any consistent values, rules change...