News for hackers. Stuff that matters.
Re:Claude Code runs Git reset –hard origin/main against proj... by jatora on Sunday March 29, 2026 @09:01PM (#47569232)
Reinforcing an avoidance tactic is nowhere near as effective as doing that PLUS enforcing a positive tactic. People with loads of 'DONT', 'STOP', etc. in their instructions have no clue what they're doing.

In your own example you have all this huge emphasis on the negatives, and then the positive is a tiny un-emphasized afterthought.

Re:Claude Code runs Git reset –hard origin/main against proj... by refulgentis on Sunday March 29, 2026 @09:04PM (#47569251)
I think you're generally correct, but certainly not definitively, and I worry the advice and tone isn't helpful in this instance with an outcome of this magnitude.

(more loosely: I'm a big proponent of this too, but it's a helluva hot take, how one positively frames "don't blow away the effing repro" isn't intuitive at all)

Re:Claude Code runs Git reset –hard origin/main against proj... by Eisenstein on Monday March 30, 2026 @03:46AM (#47571579)
The trick is to explain why something is important, not just to emphasize it. For instance:

"As an LLM, when Claude used 'sed', it can quickly and easily break files that are difficult for the user to fix. Claude must be aware that an LLM's actions seem effortless to it but to the user it represents hours of work getting things back in order."