<?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: Garapati Janardhan swamy</title>
    <description>The latest articles on DEV Community by Garapati Janardhan swamy (@garapati_janardhanswamy_).</description>
    <link>https://dev.to/garapati_janardhanswamy_</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%2F4150654%2F3f3cfc22-2ed0-454a-846f-4737fb39b12c.png</url>
      <title>DEV Community: Garapati Janardhan swamy</title>
      <link>https://dev.to/garapati_janardhanswamy_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/garapati_janardhanswamy_"/>
    <language>en</language>
    <item>
      <title>Hindsight Told My On-Call Agent Not to Scale Replicas</title>
      <dc:creator>Garapati Janardhan swamy</dc:creator>
      <pubDate>Tue, 29 Sep 2026 17:47:47 +0000</pubDate>
      <link>https://dev.to/garapati_janardhanswamy_/hindsight-told-my-on-call-agent-not-to-scale-replicas-4f06</link>
      <guid>https://dev.to/garapati_janardhanswamy_/hindsight-told-my-on-call-agent-not-to-scale-replicas-4f06</guid>
      <description>&lt;p&gt;The alert was one line:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;checkout-service: requests failing shortly after a release&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I ran it through the same LLM twice.&lt;/p&gt;

&lt;p&gt;Without memory, I got six plausible causes: code regression, config drift, dependency changes, schema mismatch, resource exhaustion, and traffic routing.&lt;/p&gt;

&lt;p&gt;With memory, I got this:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Likely root cause:&lt;/strong&gt; a missing or misnamed environment variable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Historical context:&lt;/strong&gt; the same pattern appeared in a previous incident.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt; do not scale replicas because that mitigation failed before.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Recommended fix:&lt;/strong&gt; roll back and correct the Helm value.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Previous resolver:&lt;/strong&gt; Priya Nair.&lt;/p&gt;

&lt;p&gt;The model didn't get smarter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It got experience.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;OnCall Memory is an incident triage agent for software engineering teams.&lt;/p&gt;

&lt;p&gt;The history belongs to a fictional payments company, Northwind Payments, with eight services across Java, Go, Python, and Node, backed by Postgres, Redis, Kafka, and Elasticsearch.&lt;/p&gt;

&lt;p&gt;The data is synthetic: 40 past incidents drawn from six failure families:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;exhausted database pools&lt;/li&gt;
&lt;li&gt;Redis eviction stampedes&lt;/li&gt;
&lt;li&gt;bad configuration after a release&lt;/li&gt;
&lt;li&gt;expired certificates&lt;/li&gt;
&lt;li&gt;Kafka poison messages&lt;/li&gt;
&lt;li&gt;full disks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The important design choice is that the same underlying failure can appear with different symptoms on different services.&lt;/p&gt;

&lt;p&gt;The team's experience matters more than matching exact words.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why persistent memory matters
&lt;/h2&gt;

&lt;p&gt;An incident is more than a document.&lt;/p&gt;

&lt;p&gt;I wanted the agent to remember:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;which fix worked&lt;/li&gt;
&lt;li&gt;which fix failed&lt;/li&gt;
&lt;li&gt;who solved the incident&lt;/li&gt;
&lt;li&gt;what happened in earlier incidents&lt;/li&gt;
&lt;li&gt;what should be avoided next time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is why the project uses Hindsight as the persistent memory layer.&lt;/p&gt;

&lt;p&gt;The architecture is simple:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
text
Current Alert
     ↓
Hindsight Recall
     ↓
Historical Experience
     ↓
LLM Reasoning
     ↓
Operational Recommendation
     ↓
Resolved Incident
     ↓
Post-mortem retained as new memory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>hindsight</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
