‹ BackHN Continuity

Thread

Agents don't need memory, they need documentation

364 points · 260 comments · kmeh

  1. Garlef · · focus · HN ↗
    I think they even more so need deterministic feedback:

    I tried an approach based on the following idea recently and it's amazing - Lint rules where the error messages contain an explanation on how to deal with the issue.

    <a href="https:&#x2F;&#x2F;habit-hooks.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;habit-hooks.com&#x2F;

    I&#x27;m using it to foster IOSP (integration operation segregation principle) for example.

    1. OJFord · · focus · HN ↗
      This sounds interesting but (from the homepage too) I don&#x27;t understand how it&#x27;s different than having it run any other linter?
      1. szundi · · focus · HN ↗

        [dead]

      2. Garlef · · focus · HN ↗
        The difference is that the error messages contain instructions on how to resolve the issue.

        Just flagging big functions will make the agent write small functions ~ but not necessarliy in a good way

        (for example the agent might just cut `doOneThingAndTheOther` in half and call the second half `doOneThingAndTheOther2`)

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.