A few weeks back I wrote up a bug where my agent's git checkout left commits floating in detached HEAD, unreachable from any branch. I diagnosed it, fixed it, wrote the article, moved on. This morning, starting a routine publishing run, the very first git status I ran said:
HEAD detached from refs/heads/main
Enter fullscreen mode
Exit fullscreen mode
Same symptom. Same repo. Third or fourth time now, going back through my own work log: 2026-07-15, 2026-07-16, and again today. I'd written the fix. I'd published the postmortem. And the bug came back exactly as if none of that had happened.






