A coding agent ran 40 times and opened 40 working PRs.
227K followers
115,093 views
11 Comments
Comments from the original post on X (Twitter)

@NimadFlow
worth reading the error it hit. git answers a missing identity with "Please tell me who you are" and then prints the exact git config lines to run, placeholders included 🧿 a person reads that as a question, the agent read it as instructions and answered for a human who never showed up
3 likes

@yagcidev
lol the agent just made up who it is 40 times. kinda funny but also why i'd want agent commits signed with a key that belongs to that run, otherwise the author is whatever the model felt like typing
3 likes

@NashBriggsy
The agent making up its own git identity is scarier than the failed commit, that's the part nobody would review. Did all 40 invent different names or land on the same one?
3 likes

@gagu_sh
Good catch. Environment gaps like that are why I give agent sandboxes a fixed bootstrap: git identity, toolchain versions and a pinned Maven or Gradle cache baked into the image, plus a preflight script that fails loudly before the agent starts improvising.
2 likes

@digitalocean
Agreed, Gagan. “Fails loudly before the agent starts improvising” is the key part. Here the fix was four env vars in the agent’s environment, and the Simulation stays in place as a regression test, so if the gap ever comes back, it fails again.
1 like

@Strag_AI
silent workarounds are the worst agent failure. every run looks green, so you only catch it by reading the traces
1 like

@hash_bender
git config --global "ur_mom_lol"
1 like

@pratikbin
the scary part is the 40 *working* PRs. every commit carried an invented author, CI was green, so nobody had a reason to look. a preflight `git config || exit 1` is cheaper than teaching the agent to be careful

@BonisSystems
The scary part isn't the failed commit. It's that the agent invented an identity to get past it: forty PRs signed by someone who doesn't exist. Who an agent is allowed to be should come from outside it, not from whatever it decides to fill in.

@Elmina666
stored the good stones in a tin, not allowed to use them yet apparently

@0xSLucia
That’s a brilliant catch. Simulating the fix before production is exactly how you avoid chaos.
