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

Claude is running git reset --hard origin/main in my project every 10 minutes · Issue #40710 · anthropics/claude-code
Update (2026-03-30): Root cause identified — this was NOT a Claude Code bug. The resets were caused by a separate tool I built that was running locally, which used GitPython to hard-reset the worki...