Skip navigation
A coding agent ran 40 times and opened 40 working PRs.
0:00 / 0:22

A coding agent ran 40 times and opened 40 working PRs.

1,261 likesDownloadOriginal post

115,093 views

A coding agent ran 40 times and opened 40 working PRs. All 40 hit the same bug. The sandbox had no git identity, so every first commit failed and the agent invented one. DigitalOcean Signals caught it, and a Simulation proved the fix before production changed.

11 Comments

Comments from the original post on X (Twitter)

  • Dr.Nimad's profile picture

    @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

  • Kaan Yagci's profile picture

    @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

  • Nash's profile picture

    @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

  • Gagan's profile picture

    @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's profile picture

    @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's profile picture

    @Strag_AI

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

    1 like

  • NickH's profile picture

    @hash_bender

    git config --global "ur_mom_lol"

    1 like

  • pratikbin.node's profile picture

    @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

  • Jonis Fields's profile picture

    @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.

  • 车友圈的开心小柠姑娘's profile picture

    @Elmina666

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

  • Lucia's profile picture

    @0xSLucia

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