News for hackers. Stuff that matters.
Re:Claude Code runs Git reset –hard origin/main against proj... by ramses0 on Monday March 30, 2026 @07:45AM (#47573035)
"Please summarize this essentials of this discussion in a way that future agents will understand and put it into AGENTS.md"

...and replying to a sibling; yes, I did add it to `.gitignore` (but that's not a guarantee of it going crazy again), and was super surprised that it truly deleted it rather than "safely" doing `my ... .trash/*` or something.

The reason to dig into the agent reasoning is that I have to treat myself as if I were the one in error (which as you pointed out, I was!), and determine the cause of it along with prevention.

Again; interesting times!

There are no comments on this comment yet.