I keep a dev journal as I work. It's mostly there to help me come back to things like "why did I think x?" "How did I conclude that this was the way to go?"
Also queries like "how long have I been on this problem?"
And on the positive side: "wow last month I had not even started x!"
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!