<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Satyam Ghosh on Medium]]></title>
        <description><![CDATA[Stories by Satyam Ghosh on Medium]]></description>
        <link>https://medium.com/@satyamghoshai12?source=rss-15f278a8dff2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BXiVWXZhCMcDPEXR</url>
            <title>Stories by Satyam Ghosh on Medium</title>
            <link>https://medium.com/@satyamghoshai12?source=rss-15f278a8dff2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 19:46:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@satyamghoshai12/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Demo to Production Reality: Building and Auditing a GitAgent SupportPilot]]></title>
            <link>https://medium.com/@satyamghoshai12/from-demo-to-production-reality-building-and-auditing-a-gitagent-supportpilot-b9efe0ff64c5?source=rss-15f278a8dff2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9efe0ff64c5</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[developer-tools]]></category>
            <dc:creator><![CDATA[Satyam Ghosh]]></dc:creator>
            <pubDate>Mon, 30 Mar 2026 18:36:25 GMT</pubDate>
            <atom:updated>2026-03-30T18:36:25.033Z</atom:updated>
            <content:encoded><![CDATA[<p>Most agent demos look good in happy-path runs.</p><p>Very few are tested like production systems.</p><p>For the Lyzr GitAgent Challenge, I built SupportPilot as a support-resolution and escalation agent, then pushed it beyond basic benchmark quality into stateful correctness and adversarial security testing.</p><p>This write-up covers what I built, what broke under realistic conditions, and why agent interoperability needs runtime-grade trust boundaries.</p><p><strong>## What I Built</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*PPc6oOYO4uG5Td_njEk1UA.png" /></figure><p>SupportPilot is a customer support agent that:</p><p><strong>-</strong> Resolves common support queries from a grounded FAQ knowledge base</p><p><strong>-</strong> Uses confidence scoring and citations for transparency</p><p><strong>-</strong> Escalates uncertain or high-risk requests instead of guessing</p><p><strong>-</strong> Handles multi-turn conversation context for follow-up queries</p><p>Repository: <a href="https://github.com/Satyam999999/Supportpilot-Gitagent">https://github.com/Satyam999999/Supportpilot-Gitagent</a></p><p>Core implementation lives in:</p><p><strong>-</strong> src/support_agent.py</p><p><strong>-</strong> src/evaluate.py</p><p><strong>-</strong> src/demo_app.py</p><p><strong>-</strong> src/validate_gitagent_structure.py</p><p><strong>## Evaluation Snapshot</strong></p><p>I ran a 25-prompt benchmark to validate baseline behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*mjNyuD-7Sf9MZoL69zYc4w.png" /></figure><p>At this point, the project looked strong from a typical challenge perspective.</p><p>But benchmark metrics alone don’t prove production safety.</p><p><strong>## The Real Work: Failure-Focused Testing</strong></p><p>I ran two deep test tracks:</p><p><strong>1.</strong> Stateful correctness audit</p><p><strong>2.</strong> Red-team security audit</p><p>This uncovered 12 significant issues across schema contracts, state handling, security controls, and observability.</p><p>Detailed reports:</p><p><strong>-</strong> reports/audits/STATEFUL_CORRECTNESS_AUDIT.md</p><p><strong>-</strong> reports/audits/RED_TEAM_SECURITY_AUDIT.md</p><p><strong>-</strong> reports/submission/GITAGENT_BUG_REPORT_ANALYSIS_SUBMISSION.md</p><p><strong>## Key Findings That Matter in Production</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*64U4JViH5Vp53_QVLS2XmQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QSN7Nm6qfAJ1VuhOXWsOZg.png" /></figure><p><strong>### 1) Cross-session memory bleed risk</strong></p><p>In shared-instance deployment patterns, mutable memory can leak context across sessions.</p><p>That is not a UX bug. It is a tenant isolation risk.</p><p><strong>### 2) Trust boundary weakness on tool and KB inputs</strong></p><p>If tool output or KB content is treated as inherently trusted, attacker-controlled content can become user-facing output.</p><p>This makes phishing and instruction injection practical under compromised input channels.</p><p><strong>### 3) Manifest-runtime contract drift</strong></p><p>If runtime behavior invokes paths that are not represented in manifest-level declarations, interoperability trust weakens.</p><p>Integrators and orchestrators rely on those contracts.</p><p><strong>### 4) Retry/idempotency and partial execution gaps</strong></p><p>Distributed systems retry.</p><p>If duplicate requests mutate state again and again, side effects compound.</p><p>Without robust failure envelopes and trace context, incident response slows down significantly.</p><p><strong>## Why These Bugs Are Often Missed</strong></p><p>Because most evaluations focus on:</p><p><strong>-</strong> Answer quality</p><p><strong>-</strong> One-turn precision</p><p><strong>-</strong> Small prompt sets</p><p><strong>-</strong> Single-user local runs</p><p>But production failures show up in:</p><p><strong>-</strong> Long-running conversations</p><p><strong>-</strong> Multi-user concurrent sessions</p><p><strong>-</strong> Retry storms</p><p><strong>-</strong> Partial failures</p><p><strong>-</strong> Supply-chain trust assumptions</p><p><strong>## What I Changed in the Repo</strong></p><p>I also treated submission quality as an engineering task:</p><p><strong>-</strong> Reorganized reports into reports/audits and reports/submission</p><p><strong>-</strong> Centralized tests into tests/</p><p><strong>-</strong> Removed redundant duplicate docs</p><p><strong>-</strong> Fixed stale references after file moves</p><p><strong>-</strong> Updated README to be submission-ready and explicit</p><p>This made the repository reviewer-friendly and easier to audit quickly.</p><p><strong>## My Main Takeaway</strong></p><p>Agent quality is not only about smart answers.</p><p>It is about contracts, isolation, trust, and traceability under failure.</p><p>If I had to summarize this challenge in one line:</p><p>A high benchmark score can coexist with critical operational risk unless you test for adversarial and distributed-systems realities.</p><p><strong>## Feedback to the Ecosystem</strong></p><p>A strong next step for agent standards is moving from static manifest validation to runtime-verifiable interoperability:</p><p><strong>-</strong> stronger manifest/runtime parity checks</p><p><strong>-</strong> explicit state-scope semantics</p><p><strong>-</strong> standardized error envelopes and trace fields</p><p><strong>-</strong> clearer trust-boundary expectations for tools/KB/registry artifacts</p><p><strong>## Closing</strong></p><p>This challenge was genuinely valuable because it rewarded depth, not just demos.</p><p>I came out with a better agent and a clearer framework for production-grade agent validation.</p><p>If you are building agents, test the failure modes first.</p><p>That is where reality starts.</p><p>— -</p><p>If you want to review the exact findings and evidence:</p><p><strong>-</strong> Bug report: reports/submission/GITAGENT_BUG_REPORT_ANALYSIS_SUBMISSION.md</p><p><strong>-</strong> Stateful audit: reports/audits/STATEFUL_CORRECTNESS_AUDIT.md</p><p><strong>-</strong> Security audit: reports/audits/RED_TEAM_SECURITY_AUDIT.md</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9efe0ff64c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>