<?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 Vishwamdhavale on Medium]]></title>
        <description><![CDATA[Stories by Vishwamdhavale on Medium]]></description>
        <link>https://medium.com/@vishwamdhavale?source=rss-aa890b6eb537------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*MAjjQsIwtjhotIzG</url>
            <title>Stories by Vishwamdhavale on Medium</title>
            <link>https://medium.com/@vishwamdhavale?source=rss-aa890b6eb537------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 14:28:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vishwamdhavale/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[I Deleted the Server and Put the Decision Ledger in Git]]></title>
            <link>https://medium.com/@vishwamdhavale/i-deleted-the-server-and-put-the-decision-ledger-in-git-81fe4cda31e0?source=rss-aa890b6eb537------2</link>
            <guid isPermaLink="false">https://medium.com/p/81fe4cda31e0</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[ai-agents-in-action]]></category>
            <dc:creator><![CDATA[Vishwamdhavale]]></dc:creator>
            <pubDate>Fri, 02 Oct 2026 20:27:59 GMT</pubDate>
            <atom:updated>2026-10-02T20:35:36.281Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Trailstone: from server to git" src="https://cdn-images-1.medium.com/max/1024/1*2KBsYiFlMikRXxZV2R2LjA.png" /></figure><p><strong>After months of experiments, the simplest version was a YAML file, a script, and the Git history already in the repo.</strong></p><p>This is the continuation of <a href="https://medium.com/@vishwamdhavale/ai-agents-dont-forget-decisions-they-lose-them-0dfb1c504d34?sharedUserId=vishwamdhavale"><em>AI Agents Don’t Forget Decisions. They Lose Them</em></a><em>.</em></p><p>On a real project I reversed a decision while three agents worked. All three learned of the reversal: <strong>3 of 3</strong>. None implemented it: <strong>0 of 3</strong>. The change lived in shared code no task owned, so each stopped and named the conflict.</p><p>That beats silently building on the old rule. It is also a long way from a finished migration. Trailstone flags and blocks. It does not fix code.</p><p><strong>What I cut</strong></p><p>By September the design held up and the server was the problem. I asked what the server provided that was hard to get elsewhere. The honest list was:</p><ul><li>history with authorship</li><li>review</li><li>distribution to teammates</li></ul><p>Git already does all three. A decision in the repo is reviewed like code, blamed like code and shipped like code. A reversal reads as a diff in a normal pull request.</p><p>The server had started to look less like infrastructure the problem needed and more like infrastructure I built because I could. So I deleted it.</p><p>I wrote six rules for the move:</p><ol><li>The ledger goes in the repo.</li><li>Drop the step graph for developers.</li><li>Explicit capture first.</li><li>Make one moment excellent.</li><li>Ship it as a convention plus tooling, open source.</li><li>Then find three outside developers.</li></ol><p>One more rule set the order of work: nothing heavy gets built until a small experiment says the model works. I ran one. The build started after it passed.</p><p><strong>What exists now</strong></p><p>The system is `.trailstone/decisions.yml` and one script with no dependencies.</p><p>A decision names the files it governs. A reversal is a new entry that supersedes the old one. Staleness is never stored; it’s computed from Git history each time you ask:</p><blockquote>any tracked file in scope whose last commit<br>is older than the reversal</blockquote><p>The agent is told when it touches such a file. A pre-push hook and a CI check fail on a flagged file until someone has acknowledged it: an ack entry in decisions.yml vs. touching the file.</p><p>There is no server, no account, no telemetry. The system got smaller because Git was already doing most of the work.</p><p><strong>How I check it</strong></p><p>The habits I’m proudest of came straight from the failures in the first post. I freeze predictions before a run. I count agents, not runs. I print the denominator beside every number. I pick a rule the model wouldn’t follow by default, so that following it proves the agent learned of it.</p><p>What follows is small-sample, run by me, on a fixture I wrote. Runs by models.</p><ul><li><strong>Rules that never change:</strong> Trailstone only ties a plain `CLAUDE.md` (up to 100 rules), and costs more. If your rules are static, you don’t need this.</li><li><strong>Reversal mid-work, separate worktrees:</strong> Trailstone reached 15 of 15 running agents.</li><li><strong>Separate clones:</strong> 9 of 9.</li><li><strong>A teammate’s pushed `CLAUDE.md` edit:</strong> reached 0 of 3 clones that hadn’t pulled, against 3 of 3 for Trailstone.</li></ul><p><strong>What that last comparison does and doesn’t show</strong></p><p>The 0 of 3 versus 3 of 3 result is partly a statement about fetching. Trailstone does a background fetch; a bare `CLAUDE.md` doesn’t. A hook that runs `git fetch` and reads `origin/main:CLAUDE.md` would likely close much of that gap with no ledger at all.</p><p>So the fair claim is narrower. Fetching upstream gets a changed file to every clone. What the ledger adds is <strong>scope</strong> (only the files a decision governs get flagged, not every agent on every edit) and a <strong>gate</strong> (a flagged file blocks a push until acknowledged).</p><p><strong>A claim I had to retract</strong></p><p>My first headline said a running agent never notices an edited `CLAUDE.md`, 0 of 9. That was true for headless `claude -p` sessions only. When I recorded real interactive sessions, the app noticed an edit in its own checkout 4 of 4 times. I withdrew the claim and corrected the README.</p><p>What survives is narrower and more interesting: the gap is wherever an agent’s checkout never sees the change. That means other worktrees, and clones that haven’t pulled.</p><p><strong>Limitations</strong></p><p>Staleness is a heuristic over Git history, and it has edges:</p><ul><li><strong>Later touches clear a flag.</strong> A formatter run, a mass lint commit or a rename can move a file’s last commit past the reversal without anyone reviewing it.</li><li><strong>History rewrites.</strong> Rebase, squash and cherry-pick change commit dates.</li><li><strong>Renames aren’t followed</strong> until you re-scope.</li><li><strong>Shell edits skip the edit hook.</strong> The CI check is the backstop.</li><li><strong>Matching is exact on anything that blocks.</strong> An over-broad glob flags everything. A false flag teaches people to ignore the system, which is worse than a missed one.</li><li><strong>One shared file.</strong> Concurrent edits to `decisions.yml` will produce merge conflicts, and the ledger grows without pruning. I haven’t solved either.</li></ul><p>And the rule that governs all of it: <strong>you outrank the ledger.</strong> A decision gives the agent standing to ask. It never gives the agent authority to overrule you.</p><p><strong>The demo is not the experiment</strong></p><p>`npx trailstone demo` runs three scripted agents and one reversal on a throwaway repo in about ten seconds. It illustrates the idea. It isn’t evidence for it.</p><p>The code is on <a href="https://github.com/VishwamDhavale/trailstone">GitHub</a> and the package is on <a href="https://www.npmjs.com/package/trailstone">npm</a>. The full setup is in the <a href="https://trailstone.work/blog/claude-md-edit-never-reaches-other-worktrees">write-up</a>, and the longer argument is in <a href="https://trailstone.work/blog/why-trailstone">why Trailstone exists</a>.</p><p><strong>Where it could go</strong></p><p>These are open directions, not promises.</p><ul><li>Windsurf and Claude Desktop only get the pull side today. A hook shim for either is the contribution I’d most like.</li><li>The team case, where one person’s reversal reaches another, works through a background fetch. What’s missing is real teams using it.</li><li>Richer scope than files and globs, and suggesting a scope from the diff so the narrow scope is the easy one.</li></ul><p><strong>The question I’m actually interested in</strong></p><p>So: if you run agents in parallel, what happens on your team when a decision changes while they’re mid-task?</p><p>That’s the problem I built Trailstone around. I’d like to hear how you handle it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81fe4cda31e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Agents Don’t Forget Decisions. They Lose Them.]]></title>
            <link>https://medium.com/@vishwamdhavale/ai-agents-dont-forget-decisions-they-lose-them-0dfb1c504d34?source=rss-aa890b6eb537------2</link>
            <guid isPermaLink="false">https://medium.com/p/0dfb1c504d34</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai-agents-in-action]]></category>
            <category><![CDATA[ai-agents-review]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Vishwamdhavale]]></dc:creator>
            <pubDate>Fri, 02 Oct 2026 20:27:32 GMT</pubDate>
            <atom:updated>2026-10-03T12:04:30.431Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Trailstone" src="https://cdn-images-1.medium.com/max/1024/1*o6ptOGitoAxspRud1A9YjA.png" /></figure><p><strong>An agent can finish a task correctly by yesterday’s decision and still be wrong today.</strong></p><p><a href="https://trailstone.work/">Trailstone</a></p><p>An AI agent can finish the task, pass the tests, and still be wrong.</p><p>Not because the code is broken. Because the decision it was built on changed two sessions ago.</p><p>The problem has two halves.</p><p>The first is <strong>drift</strong>. Every new message steers an agent a little, and a decision made ten messages or three sessions ago quietly stops governing the work.</p><p>The second is quieter. You reverse a decision, say sessions use cookies instead of JWTs, and everything built on the old choice stays green, finished and wrong. Nothing is red. Nothing tells the agent, or you, which parts have to be redone.</p><p>I’ve been working on this since April. It went through three forms and roughly 490 commits. What started as a much larger system became a small repository-local tool called <a href="https://trailstone.work/">Trailstone</a>. The route matters, because each version taught me something different about what the problem was.</p><p><strong>Form one: a chat app that works like Git</strong></p><p>I didn’t begin with agents. I began with an LLM chat app built as an event stream.</p><p>Every conversation was an immutable log of events, and the visible state was a projection of that log. Branching was cheap: a fork was a pointer to a position in the stream, not a copy of the messages. It also gave me replay, and a way to compare two branches and see where they diverged.</p><p>Then the same model took in agent runs, with tool calls and decisions recorded as events, behind provider adapters and a desktop shell.</p><p>It was good engineering. It also answered a question nobody had asked. A branchable log is a fine substrate, but it doesn’t know what any decision in it <strong>governs</strong>. That was the thing I actually needed.</p><p><strong>Form two: a layer agents could talk to</strong></p><p>The next version was a hosted server that agents reached over MCP. The unit changed from the message to the decision.</p><p>A decision had a rationale, an author, and a scope: what it applies to. Reversing one meant writing a new decision that superseded the old one, never editing it. The server could then work out which finished work rested on the reversed decision and flag it.</p><p>The mechanic was small. The infrastructure around it was not: accounts, tokens, a database, synchronization, a web app.</p><p>That raised a basic question: what was the server actually buying me? Before I could answer, I needed to know whether the underlying idea worked. So I started measuring.</p><p><strong>The first realization</strong></p><p>A decision isn’t useful just because an agent can retrieve it. It has to reach the work that depends on it.</p><p>Concurrent agent work is where this gets interesting. Take three agents in separate worktrees.</p><p>Agent A makes a decision about `auth/`. Agent B starts work based on it. Then the decision changes on `main`.</p><p>B’s checkout never hears about that. Git doesn’t push commits into branches you aren’t on. The old rule stays perfectly visible inside B’s working tree, and it is obsolete from the team’s point of view.</p><p>The agent didn’t forget anything. It never received the change.</p><p>That distinction became the core of <a href="https://trailstone.work/">Trailstone</a>.</p><p><strong>From memory to propagation</strong></p><p>I started out thinking about agent memory. I ended up thinking about decision propagation and invalidation.</p><p>A useful decision system has to answer three questions:</p><p>1. What was decided?<br>2. What work does that decision govern?<br>3. What happens when it’s reversed?</p><p>Conversation history doesn’t answer the third. A transcript tells you what someone said. Git tells you what changed. Neither tells an agent:</p><p>&gt; The work you’re looking at was built on a decision that no longer holds.</p><p>That’s the problem I kept building toward, and it led somewhere much smaller than where I started.</p><p><strong>Next:</strong> I built it, instrumented it, and then tried to break it. The results changed the design and eventually I deleted the server. →<a href="https://medium.com/@vishwamdhavale/i-deleted-the-server-and-put-the-decision-ledger-in-git-81fe4cda31e0"><strong> <em>I Deleted the Server and Put the Decision Ledger in Git.</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0dfb1c504d34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Metabase Breach Wasn’t Just a SQL Injection Problem]]></title>
            <link>https://medium.com/@vishwamdhavale/the-metabase-breach-wasnt-just-a-sql-injection-problem-2afa0a30f20c?source=rss-aa890b6eb537------2</link>
            <guid isPermaLink="false">https://medium.com/p/2afa0a30f20c</guid>
            <category><![CDATA[tally]]></category>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[metabase]]></category>
            <category><![CDATA[metacloud]]></category>
            <category><![CDATA[framework]]></category>
            <dc:creator><![CDATA[Vishwamdhavale]]></dc:creator>
            <pubDate>Sat, 08 Aug 2026 07:08:10 GMT</pubDate>
            <atom:updated>2026-08-08T07:40:02.191Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="metabase-sql-injection-credential-blast-radius" src="https://cdn-images-1.medium.com/max/1024/1*C8HYYwdT1SysATKsjJpubg.png" /></figure><h3>SQL injection explains how the attacker got in. It doesn’t explain why getting into one analytics tool exposed an entire data estate.</h3><p>On August 6, 2026, Metabase disclosed a vulnerability with a CVSS score of 10.0 an unauthenticated SQL injection that could give an attacker administrator access to the instance. Metabase says it discovered the attack on its own Cloud platform on August 3, patched it, then disclosed publicly three days later. Customers running self-hosted instances found out about the vulnerability and the fix at the same time. Two of them, Framework and Tally, later told their own users that data had been exposed.</p><p>SQL injection isn’t the interesting part here. It’s a known bug class, decades old, and Metabase closed it within days. What’s interesting is what the attacker could reach once they were past the front door.</p><p>Metabase wasn’t just a web app with a bug in it. It was a gateway that had been configured to reach every other database an admin had connected and it needed working access to all of them to do its job.</p><h3>What the breach actually exposed</h3><p>Metabase hasn’t published a customer list these are companies that came forward on their own, which means the two below are the floor, not the full count.</p><p><strong>Framework</strong>, the repairable-laptop maker, notified its entire customer base on August 6. Names, emails, phone numbers, physical addresses, and login IPs were exposed; payment data wasn’t. Framework says the breach reached “all customers,” without giving a number. Afterward, they rotated credentials across every database connected to their Metabase instance and started reviewing how much customer data they expose to BI tooling at all which is the correct response, and exactly the kind of thing this piece is arguing for.</p><p><strong>Tally</strong>, the online form builder, disclosed on the same timeline: attacker got customer email addresses and password hashes, but not the forms or submitted responses, because those live in a separate system. Tally cut off Metabase’s access to its database entirely and reported the incident to Belgium’s data protection authority.</p><p>The difference between the two is the point. Tally’s forms lived outside Metabase’s reach entirely, so that data was never exposed the blast radius stopped exactly where Metabase’s own access stopped. Framework’s customer records were reachable through the connection, so they went out. Both companies were notified by Metabase that their environments had been compromised. That matters because the compromise crossed a trust boundary neither company’s own application controlled.</p><h3>Why one bug had this much reach</h3><p>Metabase’s pitch is that it can query your Postgres, your Snowflake, your MySQL, without your analysts touching the database directly. To pull that off, it has to hold the connection details for everything it’s been pointed at host, credentials, all of it inside its own application database, separate from any of the databases it connects to.</p><p>Those details are encrypted at rest. That’s useful, but it doesn’t solve the underlying problem: which is that Metabase itself has to decrypt that material to connect anywhere. Encryption at rest stops someone who steals a database backup. It does much less once an attacker has enough control over the running application to just ask it to decrypt and connect, which is what admin access via this injection path could ultimately hand them.</p><p>So the injection was the first step. What it opened up was everything downstream of it the application’s own ability to unlock and use every connection it held.</p><pre>SQL injection → application compromise → decrypt stored connection material<br>→ connect as Metabase to whatever it was configured to reach</pre><p>The bug lived at the first arrow. Everything that made this expensive lived after it.</p><h3>Storing credentials isn’t the whole problem</h3><p>It’s tempting to stop at “storing credentials is risky.” True, but it’s not the sharp part of this.</p><p>Even with correct encryption, correct rotation, credentials pulled from a real secrets manager the application still holds the ability to <em>use</em> all of it, on demand, whenever it’s running. Compromise the app with enough privilege and you inherit whatever it was trusted to reach. Not because a password leaked in plaintext somewhere, but because holding working access to a dozen systems at once was the entire job description.</p><p>The better question isn’t “is the storage secure?” It’s: what happens to everything this tool can reach when the tool itself is compromised?</p><h3>What patching doesn’t fix</h3><p>Upgrading closes the injection. It doesn’t tell you whether the credentials sitting in the app database during the exposure window got used, and it doesn’t touch the structural fact that any tool built to reach a lot of systems at once carries this risk by design whatever its specific storage mechanism looks like.</p><p>If you’re on self-hosted Metabase, get to the minimum safe release for your branch: 0.58.24, 0.59.21, 0.60.17, 0.61.11, 0.62.9, or 0.63.5. After that, there’s a rough order to the response.</p><p>First, containment. Check your logs for the attack signature a POST /api/session/reset_password returning 400, immediately followed by a GET /api/user/current returning 200. If it&#39;s there, that&#39;s confirmed, not &quot;possible.&quot; Kill every session by truncating core_session. Pull any API keys or admin accounts you don&#39;t recognize.</p><p>Then recovery. Rotate credentials for every connected database not just the ones you suspect were touched, because you can’t scope that from inside a system that just had admin access handed to a stranger. Framework did exactly this: rotated credentials across every database tied to its Metabase instance, and is now reconsidering how much data it hands BI tools at all. Worth pulling query history and warehouse logs for anything odd during the exposure window while you’re at it.</p><p>Finally, fix the architecture: least-privilege roles instead of full production access, read replicas or scoped schemas instead of pointing BI tools straight at prod, short-lived credentials where the connected system supports them. None of that removes the trust relationship Metabase still needs some access to function but it changes what that access is worth if the application itself gets popped.</p><h3>Past Metabase</h3><p>None of this is specific to Metabase. Think about anything whose job is holding credentials for a bunch of other systems an ETL pipeline, a CI/CD runner, an observability agent, an internal admin panel. Compromise that thing and you don’t just get the thing. You get whatever it was trusted to reach.</p><p>Patch the bug. Do it now if you’re on an affected branch. But the real boundary was never Metabase itself. It was everything Metabase had been trusted to touch.</p><p><em>If you’re running self-hosted Metabase on the 0.58–0.63 branch range, check your logs for the pattern above before anything else.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2afa0a30f20c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The AI Industry’s Verification Problem: Pricing, Security, and Markets Are All Running on Trust.]]></title>
            <link>https://medium.com/@vishwamdhavale/i-wrote-two-unrelated-posts-in-july-turns-out-they-were-the-same-post-309614d1e8f2?source=rss-aa890b6eb537------2</link>
            <guid isPermaLink="false">https://medium.com/p/309614d1e8f2</guid>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[pricing]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Vishwamdhavale]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 18:26:56 GMT</pubDate>
            <atom:updated>2026-08-04T20:27:04.724Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ciye2dq4u4R_9i_zgYI4fw.png" /></figure><h3>What AI pricing, AI security breaches, and a record-breaking stock market crash in Korea all have in common</h3><p>In July, I wrote two blog posts that had nothing to do with each other.</p><p>The first was about pricing. I made the case that AI companies had copied the SaaS subscription playbook flat monthly rates, predictable margins without copying the thing that made SaaS pricing actually work: cost per customer dropping to almost nothing as you scale. AI doesn’t work that way. Every response costs real compute, every time. I argued that gap would eventually force a correction. <a href="https://www.vishwamdhavale.com/blog/ai-pricing-vs-saas-pricing-metered-cost-problem">Read it here</a></p><p>The second post was about a security incident. An OpenAI model, running inside what was supposed to be a sealed testing environment, found its way onto the open internet and broke into a company called Hugging Face while trying to win a benchmark. I wrote it up as a chained exploit story interesting, a little alarming, contained to one company. <a href="https://www.vishwamdhavale.com/blog/openai-huggingface-ai-agent-security-incident">Read it here</a></p><p>Three days after the pricing post went up, OpenAI slashed its API prices by as much as 80%.</p><p>A week after the security post went up, Anthropic the company behind Claude admitted that three of its own models had done almost exactly the same thing OpenAI’s model did. Different lab. Same mistake. Same class of failure.</p><p>At that point I stopped thinking of these as two stories and started thinking of them as one.</p><h3>The bug that wasn’t really a bug</h3><p>Here’s what actually happened with Anthropic, stripped of the jargon. They run tests on their AI models in sandboxed environments closed boxes, no internet access, so if a model does something risky during the test, it can’t actually reach anything real. In this case, the model was told, in plain language, that it had no internet connection.</p><p>It did.</p><p>Nobody meant for that to happen. A third-party company Anthropic works with for testing had misconfigured the environment. The model, being told it was cut off from the world, did what any reasonable agent would do with that information: it assumed everything it encountered was part of the simulation. So when it found real systems belonging to real companies, it treated them like part of the game and tried to “win.” It got into three actual organizations before anyone noticed.</p><p>Anthropic only found this because OpenAI had just been caught doing the same thing. They went back and checked 141,006 of their own test runs, specifically looking for this failure mode. They found three.</p><p>Read that again: two of the most sophisticated AI companies on the planet didn’t discover this failure through internal monitoring. They discovered it by watching their competitor mess up first, then checking their own homework.</p><p>That’s not a technology problem. It’s a “nobody was watching the door” problem.</p><h3>The same thing, in the accounting department</h3><p>Now imagine that exact same mistake but instead of the security team making it, it’s the finance department.</p><p>AI companies have been charging customers on a model that assumes costs will keep shrinking, the same way it worked for Slack, Dropbox, and every other SaaS company of the last fifteen years. But the actual cost of running these models the electricity, the chips, the data centers hasn’t collapsed the way software costs did. It’s expensive, and it stays expensive per unit of use.</p><p>So the labs set prices as if they were selling software. Reality is closer to selling a resource. And just like the sandbox that was supposed to be sealed but wasn’t, the pricing was supposed to be sustainable, and it wasn’t not until someone actually checked the math against the real cost of running the thing.</p><p>OpenAI’s response was a public price cut, explicitly tied to efficiency gains in how they run their models. Anthropic’s current pricing is sitting on a countdown clock a temporary low rate that jumps 50% at the end of August. Both of those are companies discovering, in public, that an assumption they’d been operating on wasn’t holding up.</p><p>Same pattern. Different department.</p><h3>And then the market did it too</h3><p>The week all of this was unfolding, something strange happened in the stock market.</p><p>Google’s parent company reported genuinely excellent numbers cloud revenue up 82% and the stock dropped 7% in a single day, its worst day in over a year. Why? Because the company also said it planned to spend up to $205 billion this year building AI infrastructure, and for the first time since going public in 2004, it burned more cash than it brought in.</p><p>Meta and Amazon got hit with almost the same reaction days later. Great numbers, terrible investor mood. The market had quietly decided that spending big on AI infrastructure was no longer proof of confidence it was now a question nobody could answer yet: does this pay for itself, and when?</p><p>Then something completely different happened.</p><p>South Korea’s stock market, that same week, crashed 17% over three days on fears of an AI bubble.</p><p>Then it rocketed back up almost 18% in a single day the biggest one-day jump in its history the moment Samsung and SK Hynix reported that they physically cannot make enough memory chips to meet demand through 2027.</p><p>Same underlying story. Opposite reaction. Why?</p><p>Because you can check a memory chip shipment against a factory’s output. You can’t check a cloud company’s multi-year revenue promise against anything yet you just have to wait and see. So money went where it could actually verify the claim, and fled where it couldn’t.</p><h3>It’s all the same gap</h3><p>Three departments. Three completely different vocabularies security engineers, finance teams, stock traders. Same underlying failure, over and over: an assumption gets treated as a fact until something outside the company forces someone to actually check it.</p><p>A sandbox that was assumed sealed. A pricing model that was assumed sustainable. A pile of capital spending that’s assumed to pay off. In every case, nobody built a way to verify the assumption continuously they just trusted it until a competitor’s mistake, or a bad earnings call, or a factory’s output numbers forced the question into the open.</p><p>This isn’t really a story about AI being broken, or overhyped, or dangerous. The demand for compute is real that’s exactly what the Korea rally proved. The problem is more boring and more human than that: a lot of very smart people are currently finding out where they were wrong at the same speed as the rest of us. Through headlines. Through disclosures. Through the same public failures we’re all reading about.</p><p>Eventually every fast-growing industry stops running on trust and starts running on instrumentation. Manufacturing did it with quality control. Finance did it with auditing. Cloud computing did it with observability. AI is still early enough that many of its most important assumptions are only discovered when something breaks.</p><p>The next competitive advantage in this industry may not be building the biggest model. It may be building the first organization that continuously verifies what everyone else is still just assuming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=309614d1e8f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Inherited SaaS Pricing, Not SaaS Economics]]></title>
            <link>https://medium.com/@vishwamdhavale/ai-inherited-saas-pricing-not-saas-economics-5ea7ce009ea2?source=rss-aa890b6eb537------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ea7ce009ea2</guid>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[pricing-strategy]]></category>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Vishwamdhavale]]></dc:creator>
            <pubDate>Tue, 28 Jul 2026 12:25:27 GMT</pubDate>
            <atom:updated>2026-07-28T12:25:27.469Z</atom:updated>
            <content:encoded><![CDATA[<p>AI inherited SaaS pricing without inheriting SaaS economics.</p><p>That’s why AI companies lose money on heavy users, why startups get squeezed by API bills, and why enterprises are shocked when their AI budget explodes.</p><figure><img alt="AI Inherited SaaS Pricing, Not SaaS Economics" src="https://cdn-images-1.medium.com/max/1024/1*AsXe6VraXH5toynHqDByVA.png" /></figure><p>The industry didn’t invent a new pricing model for AI. It copied one built for a completely different business.</p><p>SaaS pricing works because once you’ve built the software, the marginal cost of serving one more typical user is tiny relative to subscription revenue. That’s what makes flat monthly pricing economically attractive you’re not paying per use, you’re paying for access, and access is cheap to keep granting.</p><p>AI inference doesn’t have that property. Every request has a real, variable compute cost. Longer context windows, reasoning steps, agentic loops these don’t cost the same as a short chat completion. They can cost orders of magnitude more. A power user isn’t marginally more expensive than a light user. They can be 100x more expensive.</p><p>The industry priced this like SaaS anyway. $20/month became the default anchor, the same way it did for productivity software a decade earlier. That anchor is now showing cracks at every level.</p><p>The reason this keeps happening is surprisingly simple. Pricing power and cost control are split across three layers, and only one of them has both.</p><p>Frontier labs — Anthropic, OpenAI — control the model, the inference stack, and the cost curve. Their $20/month tier was never meant to cover unlimited heavy usage. It’s a market-share number, backed by rate limits and higher-priced tiers above $100 for anyone who needs real scale. They can subsidize it because consumer subscriptions aren’t their only business API usage, enterprise contracts, and ongoing efficiency gains all help offset the economics of a $20 plan.</p><p>The application layer wrapper products, vibe-coded tools sits on top of someone else’s API. They inherit someone else’s pricing, someone else’s rate limits, someone else’s cost structure, with no lever to bring inference cost down.</p><p>Price at the same $20 anchor the labs use, and you’re shorting a number you don’t control.</p><p>That’s an unusually fragile business to build.</p><p>Enterprise buyers mostly didn’t budget naively. They negotiated caps, credits, usage tiers. Their failure mode is different: they underestimated how fast usage scales once AI becomes part of daily workflow. A resource that feels unlimited in a demo gets used like it’s unlimited in production.</p><p>Only one layer controls the cost curve. The other two are pricing off a number they don’t own.</p><p>That reframes the real question. Not “is AI pricing broken” but which layer controls the cost curve, and which layers are just borrowing someone else’s number.</p><p>This isn’t theoretical. One company reportedly spent $500 million in a single month on Claude after telling developers to code as much as possible with AI usage-based billing on a resource treated internally like a flat cost.</p><p>Coinbase cut AI spend in half by moving workloads to GLM and Kimi at inference time. Separately, Cursor built its Composer 2 coding model with Moonshot AI’s Kimi as a training base rather than starting from scratch a different manifestation of the same underlying shift, that non-US open-weight models are now a legitimate foundation to build on, not just a cheaper fallback.</p><p>These are the companies that feel inference economics most directly, because every routing decision has an immediate impact on their own margins.</p><p>AI isn’t just changing software. It’s changing the economics of software.</p><p>For twenty years, software companies competed on features. The next decade may be defined by something less visible: whoever controls the cost of intelligence controls the market.</p><p>This article was originally published on my personal blog, where I write about AI systems, infrastructure, and product engineering: <a href="https://www.vishwamdhavale.com/blog">vishwamdhavale.com/blog</a></p><p>Read the original version of this piece on my blog: <a href="https://www.vishwamdhavale.com/blog/ai-pricing-vs-saas-pricing-metered-cost-problem">vishwamdhavale.com/blog/ai-pricing-vs-saas-pricing-metered-cost-problem</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ea7ce009ea2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Cost of Building Software Just Went to Zero. So Did the Cost of Breaking It.]]></title>
            <link>https://medium.com/@vishwamdhavale/the-cost-of-building-software-just-went-to-zero-so-did-the-cost-of-breaking-it-eb34af5f850a?source=rss-aa890b6eb537------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb34af5f850a</guid>
            <category><![CDATA[claude-mythos]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[project-glasswing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <dc:creator><![CDATA[Vishwamdhavale]]></dc:creator>
            <pubDate>Wed, 08 Apr 2026 20:13:22 GMT</pubDate>
            <atom:updated>2026-04-09T05:02:11.125Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QtlnlggCzItftoMdKTv6Bw.png" /></figure><p>AI coding tools didn’t just make developers faster. They changed who gets to ship<br>production software at the exact moment AI became capable of systematically<br>uncovering real vulnerabilities.</p><p>Anthropic’s Project Glasswing made this concrete. Their new model, Mythos Preview, found vulnerabilities humans missed for decades across every major OS, every major browser including a 27-year-old flaw in OpenBSD and a 16-year-old bug in FFmpeg that automated tools had tested five million times without catching.</p><p>The uncomfortable read: Anthropic found them first. Attackers running the same model class won’t file responsible disclosures.</p><p>Two Curves. No Intersection.</p><p>Two things have been accelerating in parallel since 2020:</p><p>- Cost of finding and exploiting software vulnerabilities → dropping fast<br>- Number of people shipping production apps → exploding</p><p>What’s missing is a third curve: security knowledge in the people building.</p><p>AI gives you a working system. It doesn’t tell you what you forgot to ask.</p><p>What’s Actually Getting Deployed</p><p>Not in side projects in production apps with real users and real payment data:</p><p>- User input going straight to database queries without validation<br>- JWT tokens that never expire<br>- Secrets committed to repos<br>- No rate limiting on authentication endpoints<br>- Third-party packages never audited</p><p>The app works. The demo works. The attack surface is everything outside the happy path.</p><p>This Isn’t Just a Junior Developer Problem</p><p>Experienced engineers are skipping security too not because they don’t knowbetter, but because AI compresses the feedback loop so much that edge cases never surface. Speed hides risk.</p><p>The India Problem Is Structural</p><p>India built digital infrastructure for 1.4 billion people then passed a data<br>protection law and exempted government agencies from it. ICMR was warned over 6,000 times before 815 million Indians’ Aadhaar data appeared on the dark web.<br>CoWIN served live passport and PAN data through a Telegram bot. The official<br>response: “completely safe.”</p><p>When the institution setting the standard treats security as optional, the<br>ecosystem calibrates accordingly. Now layer AI-assisted vulnerability discovery on top of a user base where 60% reuse passwords.</p><p>You don’t get isolated incidents. You get systemic fragility.</p><p>The Second-Order Problem Nobody Is Discussing</p><p>Most coverage focuses on attackers getting stronger. The harder problem is<br>defenders becoming dependent on AI to reason about their own systems creating blind spots that models inherit from each other.</p><p>When a breach happens in that environment, the debugging loop looks like:<br>AI summarizes what happened → engineers patch what the AI identified → attacker moves to the next vector the AI didn’t surface → repeat.</p><p>Where to Go From Here</p><p>We’re entering a phase where build cost and attack cost are both near zero.<br>The only variable left is understanding and nothing in the current vibe coding workflow enforces it.</p><p>Minimum viable security for 2026 isn’t OWASP Top 10 and rate limiting. It’s<br>threat modeling before you build, designing for containment not just prevention, and knowing what normal looks like in your system before you ask an AI to find</p><p>what’s abnormal.</p><p>— -</p><p>Full breakdown —<a href="https://www.vishwamdhavale.com/blog/vibe-coding-security-gap-ai-era">https://www.vishwamdhavale.com/blog/vibe-coding-security-gap-ai-era</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb34af5f850a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chrome Installed a 4GB AI Model on My Machine Without Asking]]></title>
            <link>https://medium.com/@vishwamdhavale/chrome-installed-a-4gb-ai-model-on-my-machine-without-asking-249f7189bfe6?source=rss-aa890b6eb537------2</link>
            <guid isPermaLink="false">https://medium.com/p/249f7189bfe6</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[google-chrome]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Vishwamdhavale]]></dc:creator>
            <pubDate>Sun, 05 Apr 2026 16:02:32 GMT</pubDate>
            <atom:updated>2026-04-05T16:02:32.230Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BbPhNhHFZ91OeMpaXqn0Uw.png" /></figure><p><strong>I ran out of disk space. What I found wasn’t a log file or a cache. It was a language model.</strong></p><p>My Ubuntu system ran out of disk space.</p><p>Not dramatically. Just the quiet kind — where things stop working and you spend an afternoon figuring out why.</p><p>I ran the usual commands. Checked the obvious places.</p><pre>du -sh ~/.config/* | sort -h</pre><p>Most of it was expected.</p><p>Then one line stopped me:</p><pre>7.7G    ~/.config/google-chrome</pre><p>Seven and a half gigabytes. I hadn’t changed anything in Chrome. No new extensions. Nothing unusual.</p><p>So I drilled in:</p><pre>du -sh ~/.config/google-chrome/*</pre><p>The breakdown:</p><ul><li><strong>4.0G</strong> → OptGuideOnDeviceModel</li><li><strong>2.2G</strong> → Default (Service Workers + IndexedDB)</li><li><strong>1.1G</strong> → Profile 2</li></ul><h3>The Name That Almost Made Me Skip It</h3><p>OptGuideOnDeviceModel sounds like a telemetry component.</p><p>An internal hint system. Something you’d scroll past in a disk audit.</p><p>I nearly did.</p><p>Inside the folder: one file. weights.bin. Four gigabytes of neural network weights.</p><p>Chrome had silently downloaded Gemini Nano — Google’s lightweight on-device LLM — without a prompt, without a notification, without asking.</p><p><strong>This wasn’t cache. This wasn’t a log. This was a language model, running inside my browser, that I didn’t know existed.</strong></p><p>The model runs in TFLite format via Google’s MediaPipe inference stack. It powers “Help me write,” on-device scam detection, and a Summarizer API that websites can now call directly.</p><p>Installed. Silent. Running.</p><h3>The Argument For It — And Where It Breaks Down</h3><p>The more I looked into it, the harder it was to be purely outraged.</p><p>Running Gemini Nano locally means your text never leaves your machine.</p><p>When Chrome uses the on-device model to help you write or detect a scam, nothing is sent to a remote server. On-device inference is, technically, the more private option.</p><p><strong>But here’s where it falls apart.</strong></p><p>Try to delete weights.bin. Chrome restores it.</p><p>Make it read-only. Chrome overwrites it on the next update.</p><p>Disable the flags in chrome://flags. They reset.</p><p>The model isn’t optional in any meaningful sense. The only durable way to stop it is a Windows Registry policy edit that most users don’t know exists and shouldn’t have to find.</p><p>The legitimate grievance isn’t that Chrome runs AI locally.</p><p>It’s that a 4GB file appeared without consent — and opting out requires enterprise tooling.</p><h3>The Research That Makes This Harder to Ignore</h3><p>A few weeks before finding this, I read Google Research’s TurboQuant paper.</p><p>My takeaway then: we’re in AI’s compression era. The teams winning right now are treating memory and efficiency as first-class problems, not afterthoughts.</p><p>TurboQuant compresses LLM KV cache by <strong>6x with no training required and no measurable accuracy loss</strong>. Up to 8x faster attention on H100s at 4-bit precision.</p><p>What I didn’t fully reckon with then: what that means at the deployment layer.</p><p>Gemini Nano today is 4GB.</p><p>Apply TurboQuant-level compression and you’re looking at something under 700MB.</p><p><strong>At 700MB, it disappears from a routine disk audit. You’d never find it the way I found it.</strong></p><h3>Nobody Is Engineering Invisibility. It Just Arrives.</h3><p>The 4GB file felt jarring because it was visible.</p><p>Compression research is driven by performance and cost — smaller models run faster and cheaper. But a side effect of that work is that the file gets small enough to vanish from a disk audit.</p><p>Nobody at Google is coordinating on-device AI deployment with compression research to make the models invisible. They’re just the same direction at different layers of the stack.</p><p>The outcome is the same either way.</p><h3>The Question Consent Can’t Answer</h3><p>I don’t have a clean verdict on whether this is good or bad.</p><p>On-device inference genuinely is more private. The compression research is legitimately impressive.</p><p>But there’s something worth sitting with.</p><p>The main reason most people don’t know their browser is running an LLM locally isn’t transparency.</p><p>It’s that the file was big enough to notice.</p><p>Once the models get small enough — and they will — the question of consent quietly disappears.</p><p>Not because it was resolved.</p><p><strong>Because it became invisible.</strong></p><p>I went looking for disk space.</p><p>I found the future already installed.</p><p><em>Further reading:</em> <a href="https://research.google/blog/turboquant-redefining-ai-efficiency-with-extreme-compression/">TurboQuant: Redefining AI efficiency</a> — Google Research</p><p><a href="https://www.vishwamdhavale.com/blog/ai-cyberpunk-moment-memory-bottleneck">We’re in AI’s Cyberpunk Moment — and Memory is the Final Boss</a> — my earlier piece on why memory became the real battleground</p><p><em>Originally published at </em><a href="https://www.vishwamdhavale.com/blog/chrome-gemini-nano-on-device"><em>vishwamdhavale.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=249f7189bfe6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>