It’s sort of like prisoners dilemma with yourself except current you never has immediate reason to cooperate with future you
Only decent fixes I’ve found so far that worked: -working alongside other people (much easier to maintain consistent routines that way) -enjoying what I’m doing
The latter was main thing I did; I found things I enjoyed learning and that gave me things to do that were fulfilling to work on long term such that I could trust future me to continue