logoalt Hacker News

esafaktoday at 1:02 AM1 replyview on HN

> On a personal project, I asked an AI agent to add a test to a specific file. The file was 500 lines before the request and 100 lines after. I asked why it deleted all the other content. It said it didn't. Then it said the file didn't exist before. I showed it the git history and it apologised, said it should have checked whether the file existed first.

Ha! Yesterday an agent deleted the plan file after I told it to "forget about it" (as in, leave it alone).


Replies

cadamsdotcomtoday at 1:17 AM

These types of failures are par for the course, until the tools get better. I accept having to undo the odd unruly edit as part of the cost of getting the value.

Much smaller issue when you have version control.