<?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: Biswa Rizal</title>
    <description>The latest articles on DEV Community by Biswa Rizal (@biswa_rizal_10c60a4ef3c5b).</description>
    <link>https://dev.to/biswa_rizal_10c60a4ef3c5b</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%2F3419193%2Fe234e2cc-726e-4015-bd0c-1a5efd9e1b3c.png</url>
      <title>DEV Community: Biswa Rizal</title>
      <link>https://dev.to/biswa_rizal_10c60a4ef3c5b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/biswa_rizal_10c60a4ef3c5b"/>
    <language>en</language>
    <item>
      <title>AI Agent Promised Me a Website in One Prompt. It Forgot to Mention the PTSD of Working on a Legacy Codebas</title>
      <dc:creator>Biswa Rizal</dc:creator>
      <pubDate>Thu, 07 Aug 2025 10:46:07 +0000</pubDate>
      <link>https://dev.to/biswa_rizal_10c60a4ef3c5b/ai-agent-promised-me-a-website-in-one-prompt-it-forgot-to-mention-the-ptsd-of-working-on-a-legacy-21g6</link>
      <guid>https://dev.to/biswa_rizal_10c60a4ef3c5b/ai-agent-promised-me-a-website-in-one-prompt-it-forgot-to-mention-the-ptsd-of-working-on-a-legacy-21g6</guid>
      <description>&lt;h2&gt;
  
  
  🧠 I Believed the AI Hype — Now I Just Want a Clean Git Diff
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;By a developer who just wanted help changing a button, not rewriting the universe.&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;Remember the hype?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“Just write one prompt, and AI will build your whole app!”&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Yeah, that was adorable.&lt;/p&gt;

&lt;p&gt;Back in early 2024, every AI startup was demoing the same thing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User: “Build me a pet adoption site.”
AI Agent: “Here’s a full React app. Tailwind? Check. Supabase? Sure. Stripe integration? Why not. Deployed to Vercel, with a puppy licking the screen for extra UX.”
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✨ &lt;em&gt;Applause. Standing ovation. Dev Twitter went feral. VCs wrote blank checks like it was OpenAI’s IPO.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Everyone had a “Built with AI in 10 seconds” link in bio.&lt;/p&gt;




&lt;h2&gt;
  
  
  Then Reality Hit: Welcome to Existing Codebases™
&lt;/h2&gt;

&lt;p&gt;Fast forward to 2025.&lt;/p&gt;

&lt;p&gt;You’re not building toy projects anymore. You want the AI to &lt;strong&gt;contribute to an actual product&lt;/strong&gt;. A real one. With users. And deadlines.&lt;/p&gt;

&lt;p&gt;You ask your agent:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“Change the button color and move this section into a modal.”&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And suddenly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tests fail in files you didn’t even know existed&lt;/li&gt;
&lt;li&gt;Redux state starts talking in Morse code&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;useEffect&lt;/code&gt; breaks time itself&lt;/li&gt;
&lt;li&gt;AI rewrites the entire design system because it couldn’t parse your &lt;code&gt;className&lt;/code&gt; string&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI: &lt;em&gt;“What is this… legacy?”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The truth? These agents were trained in a sandbox. Pristine, utopian codebases written by themselves.&lt;/p&gt;

&lt;p&gt;In your company’s repo?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;2016 jQuery hacks sitting next to 2023 Next.js pages&lt;/li&gt;
&lt;li&gt;Components named &lt;code&gt;CardFinal&lt;/code&gt;, &lt;code&gt;CardFinalV2&lt;/code&gt;, and &lt;code&gt;CardFinalV2ReallyFinal&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;A global state shaped like a Jenga tower&lt;/li&gt;
&lt;li&gt;7,000 lines of dead code that might still power prod&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Asking an AI to “just update the modal” in that soup is like giving a cat a Rubik’s Cube and asking it to deploy on AWS.&lt;/p&gt;




&lt;h2&gt;
  
  
  "Just Give It Context," They Said.
&lt;/h2&gt;

&lt;p&gt;So now you're pasting half the repo into the prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;theme.ts  
utils/getColorFromName.ts  
components/DropdownV5/deprecated/index.tsx  
// don’t touch this – it breaks prod
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The AI replies confidently:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“I’ve updated the navbar and cleaned up some unused styles.”&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You check the git diff.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;It deleted the homepage.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Developers in 2025: One Git Commit Away from Madness
&lt;/h2&gt;

&lt;p&gt;We tried. We really did.&lt;/p&gt;

&lt;p&gt;But instead of magical productivity, we got:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nightmares in zod and zustand&lt;/li&gt;
&lt;li&gt;Refactors of files with 12-year git history&lt;/li&gt;
&lt;li&gt;Commit messages like &lt;code&gt;fix: trying to undo what the AI did&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;AI-generated CSS-in-JS… inside a Tailwind project 💀&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One poor dev was last seen whispering:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“Why is it using styled-components… in a Tailwind app?”&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Harsh Truth: AI Is Great at Starting. Terrible at Fitting In.
&lt;/h2&gt;

&lt;p&gt;AI loves greenfield.&lt;/p&gt;

&lt;p&gt;It thrives on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;New repos&lt;/li&gt;
&lt;li&gt;Atomic design systems&lt;/li&gt;
&lt;li&gt;Perfect TypeScript configs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ask it to change 1px in a 7-year-old enterprise monolith?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Panic. Panic. Panic.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It’s like onboarding a junior dev who just realized the repo is a monorepo with 42 packages and no docs.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts: Maybe AI Agents Need Therapy
&lt;/h2&gt;

&lt;p&gt;We gave them a chance.&lt;/p&gt;

&lt;p&gt;We wanted helpers, not chaos goblins.&lt;/p&gt;

&lt;p&gt;All we ask is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Don’t delete the Header when we ask to fix the Footer.&lt;/li&gt;
&lt;li&gt;Don’t optimize things we didn’t ask to touch.&lt;/li&gt;
&lt;li&gt;Don’t hallucinate new design systems from thin air.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Maybe the dream isn’t dead — but let’s change the slogan.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Old:&lt;/strong&gt; “One prompt. Full app.”&lt;br&gt;
&lt;strong&gt;New:&lt;/strong&gt; “One prompt. One PR. Zero survivors.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Until then, we’ll be here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Babysitting our agents&lt;/li&gt;
&lt;li&gt;Writing scripts to fix what the AI broke&lt;/li&gt;
&lt;li&gt;And praying &lt;code&gt;git checkout -f&lt;/code&gt; saves our souls 🙏&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;P.S.&lt;/strong&gt; If your AI ever says:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“I went ahead and optimized everything.”&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;RUN.&lt;/strong&gt;&lt;/p&gt;




</description>
      <category>ai</category>
      <category>frontend</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
