AI agent fails: Git damage (5 cases)
Failwall has filed 5 AI coding agent fails typed “Git damage”, added between 2026-09-16 and 2026-10-30 (UTC). Types are assigned by hand, one per fail. Tools involved most: Claude Code (3), GitHub Copilot (1), Grok (1).
GitHub Copilotvia @MattIPv4 on X
Copilot force-pushed to the remote without asking after staging and rebasing commits on its own
Block force-push for the agent, and make it ask before anything that rewrites the remote.
0 upvotes
Claude Codevia @patnrv on X
Told to clean up its six worktrees, Opus on Auto removed all 17 agent-* worktrees and deleted their branches
Scope cleanup commands to the exact paths the agent created; a wildcard like agent-* also matches other sessions' work.
0 upvotes
Claude Codevia @kakha13 on X
Claude's git checkout wiped a session's uncommitted changes
Commit small and often. The agent's git commands touch your work too.
0 upvotes
Claude Codevia @vib2810_ on X
Claude Code amended, force-pushed, then blamed someone else
Protect your branches. An agent can rewrite history and the story about it.
0 upvotes
Grokvia @deuslexic on X
Grok moved local main with git reset --hard
A hard reset deletes work you can't get back.
0 upvotes