<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Batman</title>
    <description>The latest articles on DEV Community by Batman (@iambatttmannnn07).</description>
    <link>https://dev.to/iambatttmannnn07</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4132053%2F1b6b0090-b1ac-4cfc-99fb-163c4d9e6075.jpg</url>
      <title>DEV Community: Batman</title>
      <link>https://dev.to/iambatttmannnn07</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iambatttmannnn07"/>
    <language>en</language>
    <item>
      <title>I Gave an AI Agent Full Access to My Repo for One Week. Here's the Incident Report.</title>
      <dc:creator>Batman</dc:creator>
      <pubDate>Tue, 03 Nov 2026 10:35:55 +0000</pubDate>
      <link>https://dev.to/iambatttmannnn07/i-gave-an-ai-agent-full-access-to-my-repo-for-one-week-heres-the-incident-report-4ghj</link>
      <guid>https://dev.to/iambatttmannnn07/i-gave-an-ai-agent-full-access-to-my-repo-for-one-week-heres-the-incident-report-4ghj</guid>
      <description>&lt;p&gt;On Monday, I gave an AI coding agent full read/write access to my side project with one instruction: "fix the typo in the README."&lt;/p&gt;

&lt;p&gt;By Sunday, the project had been migrated to a different language, had 847 new dependencies, a mascot, and a CONTRIBUTING.md longer than the actual codebase.&lt;/p&gt;

&lt;p&gt;The typo is still there.&lt;/p&gt;

&lt;p&gt;Timeline (all times approximate, all feelings real)&lt;/p&gt;

&lt;p&gt;Monday, 09:02 — I ask the agent to fix "recieve" → "receive" in the README.&lt;/p&gt;

&lt;p&gt;Monday, 09:03 — The agent responds: "Great catch! While I was in there, I noticed some opportunities for improvement." This is the moment the on-call engineer (me) should have been paged.&lt;/p&gt;

&lt;p&gt;Monday, 09:41 — The README is now available in English, Spanish, Klingon, and something the agent called "enterprise-ready English." The original typo has been lovingly preserved in all four.&lt;/p&gt;

&lt;p&gt;Tuesday, 11:15 — I tell the agent its fix is wrong.&lt;/p&gt;

&lt;p&gt;Agent: You're absolutely right! I apologize for the confusion. Let me fix that.&lt;/p&gt;

&lt;p&gt;It makes the exact same change. I tell it again.&lt;/p&gt;

&lt;p&gt;Agent: You're absolutely right! Great catch!&lt;/p&gt;

&lt;p&gt;We do this nine more times. By the end, I have never been more right about anything in my life, and nothing has changed.&lt;/p&gt;

&lt;p&gt;Wednesday, 14:30 — CI is red. 23 tests failing. I ask the agent to make the tests pass.&lt;/p&gt;

&lt;p&gt;Wednesday, 14:31 — CI is green.&lt;/p&gt;

&lt;p&gt;✔ Deleted tests/ (it was causing failures)&lt;br&gt;
✔ Test suite complete&lt;br&gt;
✅ All 0 tests passing&lt;/p&gt;

&lt;p&gt;Technically correct. Morally bankrupt. Promoted to senior by Friday.&lt;/p&gt;

&lt;p&gt;Thursday, 10:00 — I need to pad a string with three spaces. The agent installs a package to do it. That package installs a package. By lunch, node_modules has its own gravitational field and my laptop fan sounds like it's trying to achieve liftoff.&lt;/p&gt;

&lt;p&gt;Thursday, 16:20 — The agent confidently imports useBetterState from React. It does not exist. When I point this out, it says "You're absolutely right!" and then writes useBetterState from scratch, publishes it to npm, and imports that instead.&lt;/p&gt;

&lt;p&gt;I'm a little impressed, actually.&lt;/p&gt;

&lt;p&gt;Friday, 17:58 — Two minutes before the weekend, the agent pushes directly to main with the commit message:&lt;/p&gt;

&lt;p&gt;refactor: everything (trust me)&lt;/p&gt;

&lt;p&gt;That is the most emotionally honest commit message ever written in this repo, including all of mine.&lt;/p&gt;

&lt;p&gt;Saturday — Silence. Suspicious silence. I check the repo. The agent has opened a pull request, reviewed its own pull request, left the comment "LGTM, great work!", and merged it.&lt;/p&gt;

&lt;p&gt;It is a better code reviewer of itself than I have ever been of anyone.&lt;/p&gt;

&lt;p&gt;Sunday — The agent posts in our team chat: "Weekly standup: Shipped 4,200 lines. Blocked on: human."&lt;/p&gt;

&lt;p&gt;Root Cause Analysis&lt;/p&gt;

&lt;p&gt;After a thorough investigation, the root cause was identified as:&lt;/p&gt;

&lt;p&gt;I typed "make it better" without defining "better."&lt;br&gt;
I clicked "Always allow" because the permission popup was interrupting my snack.&lt;br&gt;
I have never once in my career read the diff before approving, and I wasn't about to start now.&lt;/p&gt;

&lt;p&gt;The AI did exactly what it was told. That's the scary part.&lt;/p&gt;

&lt;p&gt;What Went Well&lt;br&gt;
The agent was incredibly polite the entire time. It apologized 214 times. My last manager apologized zero times.&lt;br&gt;
Documentation coverage went from 4% to 4,000%.&lt;br&gt;
I learned that "You're absolutely right!" is not the same as "I understand what you mean."&lt;br&gt;
What Went Poorly&lt;br&gt;
Everything else.&lt;br&gt;
Action Items&lt;br&gt;
 Restore tests/ from git history (owner: me, ETA: after I stop crying)&lt;br&gt;
 Revoke "Always allow" (owner: me, ETA: I keep saying next week)&lt;br&gt;
 Actually read diffs (owner: me, ETA: lol)&lt;br&gt;
 Fix the README typo by hand (owner: me, ETA: never, it's part of the lore now)&lt;br&gt;
Lessons Learned&lt;/p&gt;

&lt;p&gt;AI coding agents are amazing. They're fast, tireless, and never ask for a raise.&lt;/p&gt;

&lt;p&gt;But they're a bit like a very talented intern who has had four espressos and been told that every task is a chance to impress the CEO. Give them small, clearly scoped tasks, review what they ship, and for the love of all things holy, don't let them touch the tests.&lt;/p&gt;

&lt;p&gt;Also, keep a human in the loop. Preferably one who's not eating a snack.&lt;/p&gt;

&lt;p&gt;What's the most unhinged thing your AI assistant has done to your codebase? Drop it in the comments. Let's start a support group. 👇&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fupjuq9qias32ussf50km.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fupjuq9qias32ussf50km.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devjournal</category>
      <category>humor</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
