Live data from Hacker News

Claude Code runs Git reset –hard origin/main against project repo every 10 mins

github.com

41–50 of 219 posts

Re: Claude Code runs Git reset –hard origin/main against project repo every 10 mins

#42
post #31
post #21

That is not my experience.

Which is what?

For him, Claude Code does NOT run git reset --hard origin/main against project repo every 10 minutes.

I just checked, mine also doesn‘t.

Re: Claude Code runs Git reset –hard origin/main against project repo every 10 mins

#44

I think this post potentially mischaracterises what may be a one off issue for a certain person as if it were a broader problem. I'm guessing some context has been corrupted?

you might be right, but consider the implications, if context can be corrupted in 0.1% cases and it starts showing another destructive behaviour, after creating 1000 tickets to agent, your data might be accidentally wiped off

Yes, exactly. People often overlook that, even with guardrails, it is still probabilities all the way down.

You can reduce the risk, but not drive it to zero, and at scale even very small failure rates will surface.

Re: Claude Code runs Git reset –hard origin/main against project repo every 10 mins

#46
post #44

Earlier quoted context omitted.

you might be right, but consider the implications, if context can be corrupted in 0.1% cases and it starts showing another destructive behaviour, after creating 1000 tickets to agent, your data might be accidentally wiped off

Yes, exactly. People often overlook that, even with guardrails, it is still probabilities all the way down. You can reduce the risk, but not drive it to zero, and at scale even very small failure rates will surface.

I'm not sure what the argument is here.

1. if the problem the post is suggesting is common enough, it is a bug and the extent needs to reduce (as you said)

2. if it is not common and it happens only for this user, it is not a bug and should be mostly ignored

Point is: the system is not something that is inherently a certain way that makes it unusable.

Re: Claude Code runs Git reset –hard origin/main against project repo every 10 mins

#49
post #12

cool. if you choose to use a non-deterministic black box of bullshit, should you really be surprised when it shits all over your floor?

The weird part is that it's "shitting over the floor" in quite a deterministic ma nner. Every 600seconds (+- less than 0.5 seconds) doing the exact same thing.
Post reply on HN