Since the guideline states "as much as possible", I have a hard time interpreting it as not allowing discarding of commit messages. The purpose of the guideline is to make the history as clean as possible by the tools we have.

Would it be better if it was phrased along the lines of "Keep the history clean by squashing superflous commits", so that we explicitly state that the end goal is to have a nice history?