[Question] Tips for reducing thinking branching factor

Something I notice when I tackle problems of medium+ complexity (top of mind for me is large codebase refactors) my brain tries to explore every possibility in the solution space — every thought generates many more trains of thought to explore, leaving me with decision paralysis.

One solution I’ve been exploring is forcing myself to write down my thought process, but it hasn’t been a resounding success possibly due to high friction.

Has anyone experienced similar problems and have any tips for solving it?