For me, mindfulness is, among other things, about debugging the mind. The mind is like a computer, that runs many programs. Many of those programs are running in the background. The user of the computer (me!) is not aware of them. But they do influence the everyday experience.
https://theartofmindfulprogramming.com/practice/debug-your-mind/