This is due to missing rebuild of outliner tree. Auto smooth operator is cleared with shade flat execution but outliner is unaware of this and the modifier tree element remains intact. This add a notifier. Pull Request: https://projects.blender.org/blender/blender/pulls/124330