Obsessional thought perseveration. Recapitulating continuously your thought/idea. Just the essential/distinguishing features/words. Then run to a piece of paper and write it down or use your phone.
I do it all the time, except when stable (as if that will ever happen truly/long-term

).