logoalt Hacker News

kjohansontoday at 4:49 AM2 repliesview on HN

Yeah, I start most of my sessions now with “read the diff between this branch and main”. Seems like it grounds and focuses it.


Replies

erutoday at 5:27 AM

Slight tangent: you want to read the diff between your branch and the merge-base with origin/main. Otherwise you get lots of spurious spam in your diff, if main moved since you branched off.

nextaccountictoday at 6:50 AM

One thing that seems important is to have the agent write down their plan and any useful memory in markdown files, so that further invocations can just read from it