<?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: Aditya Gaurav</title>
    <description>The latest articles on DEV Community by Aditya Gaurav (@adi-il).</description>
    <link>https://dev.to/adi-il</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%2F4087125%2F7d5b0073-ec9b-469f-be03-05d7f3b5d4a2.png</url>
      <title>DEV Community: Aditya Gaurav</title>
      <link>https://dev.to/adi-il</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adi-il"/>
    <language>en</language>
    <item>
      <title>How a tiny naming quirk hid seventy tests in Google Mug</title>
      <dc:creator>Aditya Gaurav</dc:creator>
      <pubDate>Sun, 23 Aug 2026 18:28:13 +0000</pubDate>
      <link>https://dev.to/adi-il/how-a-tiny-naming-quirk-hid-seventy-tests-in-google-mug-48hb</link>
      <guid>https://dev.to/adi-il/how-a-tiny-naming-quirk-hid-seventy-tests-in-google-mug-48hb</guid>
      <description>&lt;p&gt;I spent my morning digging into google mug and came away with a fun debugging story.&lt;/p&gt;

&lt;p&gt;While reading through their dot parse regex engine I noticed malformed escape sequences like incomplete unicode or empty character names were quietly passing through. A broad fallback rule was catching them and turning them into plain letters.&lt;/p&gt;

&lt;p&gt;Looking deeper into the test folder I found an entire suite of error tests that had never been running in ci simply because the file name had a plural s at the end.&lt;/p&gt;

&lt;p&gt;I renamed the test file so maven would pick it up, tightened the escape parser rules, and opened a pull request.&lt;/p&gt;

&lt;p&gt;The lead maintainer reviewed it within hours, suggested adding a few more characters to the exclusion set to catch property edge cases, and merged the whole thing.&lt;/p&gt;

&lt;p&gt;Fixing a silent parsing bug and bringing seventy tests back to life in one morning felt pretty sweet.&lt;/p&gt;

&lt;p&gt;You can check out the merged pull request here: &lt;a href="https://github.com/google/mug/pull/130" rel="noopener noreferrer"&gt;https://github.com/google/mug/pull/130&lt;/a&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>opensource</category>
      <category>programming</category>
      <category>regex</category>
    </item>
    <item>
      <title>When Your AI Skill Calls a Ghost: Retiring Zombie Models in Anthropic Skills</title>
      <dc:creator>Aditya Gaurav</dc:creator>
      <pubDate>Sun, 23 Aug 2026 13:51:13 +0000</pubDate>
      <link>https://dev.to/adi-il/when-your-ai-skill-calls-a-ghost-retiring-zombie-models-in-anthropic-skills-3kmd</link>
      <guid>https://dev.to/adi-il/when-your-ai-skill-calls-a-ghost-retiring-zombie-models-in-anthropic-skills-3kmd</guid>
      <description>&lt;p&gt;Imagine this scenario. You build an autonomous agent pipeline. You wire in standard skills, configure your API keys, grab a cup of coffee, and watch it tackle complex tasks. Everything feels futuristic.&lt;/p&gt;

&lt;p&gt;Then suddenly, a cold splash of reality hits your logs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Error: 404 Not Found - model 'claude-opus-4-20250514' has been retired.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No timeout. No rate limit. Just an abrupt HTTP 404 from the Anthropic API. Your autonomous agent just spent five minutes trying to summon a ghost.&lt;/p&gt;

&lt;p&gt;Here is the story of how dead model identifiers linger inside official agent skills, how an autonomous AI babysitter bot reviewed my pull request, and why keeping documentation in sync across files is harder than it looks.&lt;/p&gt;




&lt;h3&gt;
  
  
  Act 1: The Zombie Model Problem
&lt;/h3&gt;

&lt;p&gt;Large Language Model development moves at breakneck speed. New checkpoints drop, older snapshots get deprecated, and eventually, older model IDs get decommissioned completely.&lt;/p&gt;

&lt;p&gt;In the official &lt;code&gt;anthropics/skills&lt;/code&gt; repository, the &lt;code&gt;claude-api&lt;/code&gt; skill is supposed to be the source of truth for how agent frameworks talk to Claude. It tells agents which model strings to use, which models support adaptive thinking, and which models have reached end-of-life.&lt;/p&gt;

&lt;p&gt;While inspecting &lt;code&gt;skills/claude-api/shared/models.md&lt;/code&gt; and &lt;code&gt;skills/claude-api/shared/model-migration.md&lt;/code&gt;, I noticed several prominent models were still marked as "Deprecated (retiring soon)" even though their retirement dates had already passed:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;claude-opus-4-20250514&lt;/code&gt; (retired June 15, 2026)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;claude-sonnet-4-20250514&lt;/code&gt; (retired June 15, 2026)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;claude-3-haiku-20240307&lt;/code&gt; (retired April 19, 2026)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;claude-opus-4-1-20250805&lt;/code&gt; (retired August 5, 2026)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If an agent reads this skill table to resolve friendly names (such as "opus 4" or "haiku 3"), it would attempt to call a decommissioned model ID instead of routing to modern replacements like &lt;code&gt;claude-opus-4-8&lt;/code&gt;, &lt;code&gt;claude-sonnet-5&lt;/code&gt;, or &lt;code&gt;claude-haiku-4-5&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The fix looked simple enough: remove the outdated "Deprecated" table, move all four models into the "Retired" table, and point alias resolutions to active successors.&lt;/p&gt;

&lt;p&gt;I submitted &lt;a href="https://github.com/anthropics/skills/pull/1607" rel="noopener noreferrer"&gt;PR #1607&lt;/a&gt; feeling satisfied. Simple documentation cleanup. Easy victory. Right?&lt;/p&gt;

&lt;p&gt;Wrong.&lt;/p&gt;




&lt;h3&gt;
  
  
  Act 2: Enter the Cron Babysitter
&lt;/h3&gt;

&lt;p&gt;A few hours after opening the PR, a GitHub notification popped up. A review had arrived.&lt;/p&gt;

&lt;p&gt;Except it was not from a human maintainer. It came from an autonomous agent calling itself:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Reviewed by Hermes Agent (cron babysitter)&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Verdict: Comment: correct and useful model-status update; two cross-file consistency nits.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;There is something wonderfully surreal about writing open-source code for AI skills, only to have an automated AI agent run a cron job, read your git diff, and evaluate your work like a sharp-eyed proofreader.&lt;/p&gt;

&lt;p&gt;And Hermes was not giving generic praise. It found two very real, very subtle cross-file discrepancies that I had missed:&lt;/p&gt;

&lt;h4&gt;
  
  
  Nit 1: The One-Day Time Slip
&lt;/h4&gt;

&lt;p&gt;In &lt;code&gt;model-migration.md&lt;/code&gt;, the old deprecated table had listed &lt;code&gt;claude-3-haiku-20240307&lt;/code&gt; retiring on &lt;strong&gt;April 19, 2026&lt;/strong&gt;. But in my new table rows in &lt;code&gt;models.md&lt;/code&gt;, I had typed &lt;strong&gt;April 20, 2026&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A single day difference. To a casual reader, April 19 versus April 20 is trivia. But to an API consumer writing automated compliance checks, date drift between sibling markdown files creates confusion.&lt;/p&gt;

&lt;h4&gt;
  
  
  Nit 2: The Missing Opus Row
&lt;/h4&gt;

&lt;p&gt;In &lt;code&gt;models.md&lt;/code&gt;, I had added &lt;code&gt;claude-opus-4-1-20250805&lt;/code&gt; to the Retired table. But in &lt;code&gt;model-migration.md&lt;/code&gt;, I had forgotten to add &lt;code&gt;claude-opus-4-1-20250805&lt;/code&gt; to its corresponding migration table.&lt;/p&gt;

&lt;p&gt;The two documentation files inside the same skill were out of sync.&lt;/p&gt;




&lt;h3&gt;
  
  
  Act 3: The Surgical Reconciliation
&lt;/h3&gt;

&lt;p&gt;The feedback was spot on.&lt;/p&gt;

&lt;p&gt;I checked Anthropic's official release timeline to verify the canonical retirement date: &lt;strong&gt;April 19, 2026&lt;/strong&gt; was the exact date.&lt;/p&gt;

&lt;p&gt;Then I made two surgical updates:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;skills/claude-api/shared/model-migration.md&lt;/code&gt;&lt;/strong&gt;: Added &lt;code&gt;claude-opus-4-1-20250805&lt;/code&gt; pointing to drop-in replacement &lt;code&gt;claude-opus-4-8&lt;/code&gt;, and standardized &lt;code&gt;claude-3-haiku-20240307&lt;/code&gt; to April 19, 2026:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;| Retired model                 | Retired       | Drop-in replacement  |
| ----------------------------- | ------------- | -------------------- |
| &lt;span class="sb"&gt;`claude-opus-4-1-20250805`&lt;/span&gt;    | Aug 5, 2026   | &lt;span class="sb"&gt;`claude-opus-4-8`&lt;/span&gt;    |
| &lt;span class="sb"&gt;`claude-opus-4-20250514`&lt;/span&gt;      | Jun 15, 2026  | &lt;span class="sb"&gt;`claude-opus-4-8`&lt;/span&gt;    |
| &lt;span class="sb"&gt;`claude-sonnet-4-20250514`&lt;/span&gt;    | Jun 15, 2026  | &lt;span class="sb"&gt;`claude-sonnet-5`&lt;/span&gt;    |
| &lt;span class="sb"&gt;`claude-3-haiku-20240307`&lt;/span&gt;     | Apr 19, 2026  | &lt;span class="sb"&gt;`claude-haiku-4-5`&lt;/span&gt;   |
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;skills/claude-api/shared/models.md&lt;/code&gt;&lt;/strong&gt;: Synchronized the retirement date for Haiku 3 to April 19, 2026, ensuring complete cross-file consistency.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pushed commit &lt;code&gt;bdff74f&lt;/code&gt; to the branch and replied to the review thread.&lt;/p&gt;




&lt;h3&gt;
  
  
  Takeaways from the Trenches
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Agent skills are software, not static prose&lt;/strong&gt;: In traditional documentation, a typo is a visual annoyance. In an agent skill, a stale model ID or wrong parameter definition directly breaks autonomous execution loops in production.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch out for multi-file documentation drift&lt;/strong&gt;: When a repository maintains multiple guides describing the same underlying domain (like &lt;code&gt;models.md&lt;/code&gt; and &lt;code&gt;model-migration.md&lt;/code&gt;), always audit every sibling file when updating a status.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embrace autonomous babysitters&lt;/strong&gt;: Automated PR review bots running static cross-reference checks can catch real human oversights long before core maintainers sit down to triage the queue.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>ai</category>
      <category>anthropic</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
