‹ BackHN Continuity

Thread

Commit description as a thinking tool

130 points · 78 comments · yedhukrishnan

  1. evnp · · focus · HN ↗
    > When the AI doesn’t know the ‘why’ part, it comes up with its own reasoning. I find that dangerous. When we read that later, it may not make sense, because the real reason was completely different.

    Even more dangerous: when the text _does_ make sense, despite being detached from reality.

    1. fphilipe · · focus · HN ↗
      I have this rule in my global AGENTS.md:

      > When writing a commit message, briefly explain at a high level what was done (the details are in the code). Explain the why of the commit; if you don't know that, ask me.

      It works quite well. When it doesn't have it in context, it does ask.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.