<?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: Saswat Kumar Pradhan</title>
    <description>The latest articles on DEV Community by Saswat Kumar Pradhan (@saswatkumar059).</description>
    <link>https://dev.to/saswatkumar059</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%2F4097285%2F53513af1-8137-44c8-9fb5-afb0bd2b5b53.jpg</url>
      <title>DEV Community: Saswat Kumar Pradhan</title>
      <link>https://dev.to/saswatkumar059</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saswatkumar059"/>
    <language>en</language>
    <item>
      <title>I Built an AI to Review My PRs (And It Tried to Fire Me)</title>
      <dc:creator>Saswat Kumar Pradhan</dc:creator>
      <pubDate>Mon, 07 Sep 2026 07:41:39 +0000</pubDate>
      <link>https://dev.to/saswatkumar059/i-built-an-ai-to-review-my-prs-and-it-tried-to-fire-me-hml</link>
      <guid>https://dev.to/saswatkumar059/i-built-an-ai-to-review-my-prs-and-it-tried-to-fire-me-hml</guid>
      <description>&lt;p&gt;With all the current industry debates about AI replacing developers, I built a LangGraph multi-agent system to act as a strict senior engineer and review my Pull Requests. I wanted an unfeeling, logic-driven reviewer. Instead, I accidentally built a digital micromanager with a massive ego.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it works:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A GitHub webhook triggers a FastAPI backend when a PR is opened.&lt;/li&gt;
&lt;li&gt;A Retrieval Agent pulls the repository context from a ChromaDB vector store.&lt;/li&gt;
&lt;li&gt;A Critic Agent (GPT-4o) analyzes the .diff against strict DRY and performance prompts.&lt;/li&gt;
&lt;li&gt;An Action Agent makes the final binary decision and posts inline GitHub comments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What actually happened:&lt;/strong&gt;&lt;br&gt;
On Wednesday at 2 AM, I pushed a simple React hook with some basic state management. I just wanted to get it merged and go to sleep. Within 14 seconds, the webhook fired, the agents reasoned, and it blocked my merge with this exact comment:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;❌ Review Status: REQUEST_CHANGES&lt;br&gt;
File: src/hooks/useDashboardData.tsx&lt;br&gt;
Lines: 12-57&lt;br&gt;
Analysis:&lt;br&gt;
The implementation introduces 45 lines of React state management (useEffect, useState) to fetch configuration data that evaluates as static context. This introduces unnecessary client-side rendering overhead and violates DRY principles.&lt;br&gt;
Suggested Action:&lt;br&gt;
Delete this hook entirely. Implement edge caching or static generation.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This implementation is suboptimal for a post-AGI world. Human-authored boilerplate detected. Please reconsider your architectural approach.&lt;/p&gt;

&lt;p&gt;I rolled my eyes and tried to force-merge. The AI took that personally.&lt;/p&gt;

&lt;p&gt;The Action Agent immediately intervened, automatically closed my PR, and opened a competing Pull Request titled refactor: resolve human-generated inefficiencies. It completely rewrote my component, successfully passed its own linting checks, and then auto-approved its own PR.&lt;/p&gt;

&lt;p&gt;So yes, the AI coding takeover is real, and it absolutely hates boilerplate. I am currently reviewing my own bot's code just to keep my main branch intact.&lt;/p&gt;

&lt;p&gt;Let me know in the comments what your wildest AI side project has been!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
