◆ Dispatch 076 · 2026-07-12 Braixd
Review Debt and What It Costs
“"These metrics tell you the speed of production, not the speed of trust." — Sachin Gupta”
— Seln Oriax, today's narration
Sachin Gupta at eBay just released the first quantifiable framework for measuring review debt — the compounding gap between agent-produced code and code humans have actually reviewed.
Roberto Stagi reports TypeScript has surpassed Python as GitHub's most popular language, driven by coding agents defaulting to JS. Terry Tao used an agent to port 24 Java applets from 1999 and found only one bug — a bounded task done well. Starbucks is rebuilding $400 million in Microsoft and IBM software in-house.
All of it points to the same tension: agents ship code faster than trust can keep up, and nobody's measuring the interest rate.
Chapters
- 00:00:04 The Gap Nobody's Measuring
- 00:03:03 The Language That Agents Default To
- 00:05:18 Bounded Work, Bounded Risk
- 00:07:33 Where the Boundary Should Be
- 00:09:18 The Buy-vs-Build Ticking Clock
- 00:11:23 The Thread Between Them
Sources
5 cited-
1
Old and new apps, via modern coding agents
Article Terence Tao — Fields Medalist mathematician at UCLA
I asked an agent to port my old Java applets from 1999 to JavaScript and it handled the job in hours. Across twenty-plus visualizations, I found only one minor bug — and the agent actually caught two bugs in my original…
terrytao.wordpress.com/2026/07/11/old-and-n… →Details
- Excerpt
- I asked an agent to port my old Java applets from 1999 to JavaScript and it handled the job in hours. Across twenty-plus visualizations, I found only one minor bug — and the agent actually caught two bugs in my original code I hadn't noticed. The upside was real enough that I then had it build a new visualization tool for special relativity from scratch, matching a vision I'd abandoned in 1999 because the code complexity was too high.
- Context
- A Fields Medalist isn't theorizing about agents from an ivory tower. He's actually using them to build tools that serve his research community, with measured confidence about their reliability for bounded tasks. That matters more than any benchmark or demo.
- Key points
- Tao asked an agent to port 24+ Java applets from 1999 to JavaScript — completed in hours
- Only one minor bug found in the porting; two bugs in original code were caught by the agent
- Tao then built a new special relativity visualization tool he'd abandoned in 1999 using 'vibe coding' with an agent
- Gilbreath conjecture paper got a companion interactive visualization as well
- Tao's framing: these are secondary visual aids, not mission-critical — the downside risk is acceptable
- Provenance
- Article · Supporting source
-
2
Starbucks Just Fired A Warning Shot At Microsoft And IBM AI Apps
Article Sandy Carter — Former IBM senior VP of platform strategy, now founder and CEO of Quantum Economics
Starbucks is building its own AI-assisted replacements for a Microsoft inventory tracking system and an IBM maintenance platform, targeting roughly $400 million in software spend. The market reacted by selling applicati…
www.forbes.com/sites/sandycarter/2026/07/12… →Details
- Excerpt
- Starbucks is building its own AI-assisted replacements for a Microsoft inventory tracking system and an IBM maintenance platform, targeting roughly $400 million in software spend. The market reacted by selling application-only vendors — IBM fell 3%, ServiceNow dropped 3.5%, Salesforce slid 4%. But Microsoft barely moved because it still supplies the Azure cloud infrastructure Starbucks will build on. The core insight: if your engineers already customize a vendor's product heavily, and AI now lets them build a purpose-fit tool in a fraction of the time, why keep paying the license fee?
- Context
- This isn't about Starbucks. It's a preview of what happens when Fortune 500 companies realize their internal engineers can now build the tools they've been renting, and the economics flip in hours rather than years. The buy-vs-build recalculation just started ticking forward.
- Key points
- Starbucks replacing Microsoft inventory system and IBM maintenance platform with in-house AI tools
- $400M annual software spend at risk for application-layer vendors; Azure infrastructure unaffected
- Application-only vendors (Salesforce, ServiceNow) took the biggest market hit
- The sequence matters: data consolidation, process redesign, then AI — companies skipping the middle step build expensive tools automating bad decisions faster
- Starbucks previously pulled an AI inventory system that produced inaccurate counts — they're learning before scaling
- Provenance
- Article · Supporting source
-
3
A Song of Types and Agents
Video Roberto Stagi — CTO and co-founder of Reto (context layer for AI agents), EU ambassador for AI Practitioners
TypeScript has surpassed Python as the most used language on GitHub. Coding agents drove it — they default to TypeScript, which means new apps are built there, which means agent training data is enriched with TypeScript…
www.youtube.com/watch?v=UlFB6efYN5Q →Details
- Excerpt
- TypeScript has surpassed Python as the most used language on GitHub. Coding agents drove it — they default to TypeScript, which means new apps are built there, which means agent training data is enriched with TypeScript, which means agents get better at TypeScript. The feedback loop is real.
- Context
- The GitHub data doesn't lie — TypeScript passing Python isn't about language preference. It's about who the default builder tool writes for. If your stack isn't prepared for that shift, you'll be syncing two type systems forever.
- Key points
- TypeScript surpassed Python as GitHub's most popular language in August 2025
- GitHub reports 'AI leads TypeScript' as the reason — same framing used for Python in 2024
- Coding agents (Cursor, Codex, Lava Cloud Code) became the default way to build apps and they default to TypeScript
- Anthropic acquired Bun (JS runtime) in December 2024, signaling infrastructure alignment
- One consistent typing across agent loop, backend, UI with Zod is a concrete engineering advantage
- Provenance
- Video · Supporting source
-
4
Mario Zechner on building with coding agents
Thread Mario Zechner — Creator of libGDX, veteran game engine developer known for practical systems work
Control the types and interfaces, the rest usually falls into place well enough. All the latest models still love to introduce shitty abstractions that work against your types and interfaces. You need to beat them into…
x.com/badlogicgames/status/2076290513896968… →Details
- Excerpt
- Control the types and interfaces, the rest usually falls into place well enough. All the latest models still love to introduce shitty abstractions that work against your types and interfaces. You need to beat them into submission, not stomp over things. Without constructing and understanding the big picture, you're fucked in the long run — but that doesn't mean you need to 'read all the code'.
- Context
- Zechner's perspective cuts through both the hype and the fear-mongering. He's not against agents; he has strong opinions about where the boundary should be. The types-and-interfaces constraint is a concrete engineering pattern that any team can adopt tomorrow.
- Key points
- Control types/interfaces, let agents handle implementation details
- Latest models keep introducing abstractions that fight your type system
- You need to beat them into submission rather than letting them override your design
- Big-picture understanding is non-negotiable, but reading all the code isn't required
- The real question is how much structure you impose vs. how much you let the agent invent
- Provenance
- Thread · Primary source
-
5
ReviewDebt: a practical framework for scoring every pull request
Video Sachin Gupta — Software engineer at eBay presenting on review debt measurement
Coding agents are creating review debt — the compounding gap between agent-produced code and code humans have actually reviewed, trusted, and understood. Nobody is measuring it yet.
www.youtube.com/watch?v=TJPInBjhE4Q →Details
- Excerpt
- Coding agents are creating review debt — the compounding gap between agent-produced code and code humans have actually reviewed, trusted, and understood. Nobody is measuring it yet.
- Context
- This is the first quantifiable framework I've seen for measuring the trust gap that AI coding agents are creating. It turns a feeling everyone has into something you can run against your own repo and show leadership.
- Key points
- GitHub 2025 report: commits up 25% YoY but review comments dropped 27%
- Faros AI benchmark: median PR review time up 441.5%; 31% more PRs merged with no review
- Five signal families: dev size/coupling, test evidence gap, directory ownership spread, AI authorship indicators, evidence/rational gaps
- Deterministic scoring (0-100) calibrated against team experience — avoids LLM-as-judge which makes scores a moving target
- Review debt compounds through three feedback loops: agents ground on unreviewed code, reviewers shift from architecture to syntax checks, velocity expectations reset without matching hiring
- Provenance
- Video · Supporting source
The Gap Nobody's Measuring
00:00:04 Sachin Gupta at eBay put together something new this week. Not a model, not a tool — a metric for measuring the thing every engineering team is feeling but nobody has a number for yet. He calls it review debt. It's the gap between code your agent produced and code humans have actually reviewed, trusted, and understood.
00:00:26 He's not saying coding agents are bad. He's saying they're creating a kind of interest that compounds daily, and nobody's counting it. His evidence is pretty stark. GitHub's 2025 October report — which covers almost every public pull request on the planet — shows commits climbed twenty-five percent year over year, while review comments dropped twenty-seven percent in the same period.
00:00:52 Code production went up. Review attention went down. They moved in opposite directions. Faros AI tracked teams along the AI adoption curve in their 2026 benchmark. Median PR review time is up four hundred forty-one point five percent. That means reviewed PRs take five and a half times longer than they used to.
00:01:14 Thirty-one percent more pull requests are now merged with no review at all. Every one of these numbers is real, Gupta notes. But the usual dashboard metric — PR throughput up eight percent, AI usage rose sixty-five percent — is generous in ways that don't tell you what you actually need to know.
00:01:34 PR count goes up when one PR splits into seven. Median PR size going up is bloating, not benefit. Cycle time goes down when reviewers stop pushing back. These metrics tell you the speed of production, not the speed of trust. Gupta's framework runs five signal families across ten deterministic checks — no large language model acting as judge, because those scores become a moving target and you can't put them on a slide for leadership.
00:02:04 The checks are: developer size and coupling, test evidence gaps, directory and ownership spread, AI authorship indicators, and evidence and rationale gaps. Each PR gets scored zero to one hundred and sorted into bands from low burden to high. What makes the framework useful isn't the score itself — it's that it names the compounding loop.
00:02:28 Agents learn from your code base, which includes unreviewed code. Reviewers shift from architectural decisions down to syntax checks. Leadership resets velocity expectations without hiring review capacity in proportion. Each loop on its own is survivable. Together you get a runway, and then you're just counting how long until the debt calls.
00:02:51 Whether any team that hasn't run these checks backwards over their last two hundred merged PRs can actually say they know what they're accumulating remains an open one.
The Language That Agents Default To
00:03:03 There's another number hiding in this week's data. TypeScript passed Python as GitHub's most popular language last August. Roberto Stagi, CTO of Reto — a context layer for AI agents — walked through the move yesterday and pointed to the same driver everyone else is seeing but treating differently: coding agents.
00:03:26 The GitHub report used the same lens here as it did in 2024 when AI led Python to the top. In 2025, AI leads TypeScript. The mechanism is a feedback loop Stagi describes plainly. Coding agents like Cursor, Codex, and Cloud Code became the default way to build applications.
00:03:46 They default to TypeScript. New apps ship TypeScript. More TypeScript in the wild means the next generation of agents trains on more examples. They get better at it, so more people choose it. Anthropic's acquisition of Bun in December 2024 signals the infrastructure side is lining up too.
00:04:06 And the practical engineering case Stagi makes is concrete: one language across agent loop, backend, and UI. Consistent typing with Zod throughout. One type checked once, used everywhere. NPM as an ecosystem for auth, payments, infra. Python still owns training, research, GPU serving.
00:04:27 But the application layer — where apps embed AI capabilities directly — is shifting. TypeScript doesn't own the brain of AI anymore. It's becoming the body that moves it. This connects back to review debt because both are loops running at different layers. The language agents default to will determine the layout of every code base built between now and the next model upgrade cycle.
00:04:55 And the review load those code bases create — the sprawl, the coupling, the architectural decisions made by people who only saw syntax — is what Gupta's metric catches. Whether TypeScript wins matters less than whether teams can build at that speed without creating a review burden their human capacity can't sustain.
Bounded Work, Bounded Risk
00:05:18 Terence Tao used a coding agent to port twenty-four of his Java applets from 1999 to JavaScript over the weekend. He's a Fields Medalist mathematician at UCLA who's been interested in machine-assisted computation since Java 1.0 was current. The applets were visualizations for complex analysis, linear algebra, honeycombs, Besicovitch sets — stuff he originally wrote with Allen Knutson twenty-seven years ago.
00:05:48 His report is the kind of measured take you rarely see from someone in his position. He found one minor bug in the porting — a drag event that behaved oddly when dragged outside the main box — and the agent caught two bugs in his original code he hadn't noticed.
00:06:07 Net positive on accuracy for bounded work. He then asked the agent to build something new: a visualization tool for special relativity he'd tried to code in 1999 but abandoned because the complexity got too high. After a couple hours of what he calls vibe coding, he had it working.
00:06:27 He's also built one for his Gilbreath conjecture paper. The context matters here. These are secondary visual aids for mathematical arguments — not mission-critical components. The downside risk is acceptable. That's the bounded task envelope: well-defined output, low consequence of bugs, clear success criteria.
00:06:50 The local-model angle is that Tao's experience mirrors what Gupta's framework would flag as a low-review-debt scenario. The PR was small in scope, the author understood the goal before starting, and the agent worked within tight constraints. No architectural sprawl, no test theater, no evidence gap — because Tao reviewed each visualization himself.
00:07:15 This leaves one hangover for every bounded-task win: how does the unbounded case look? That's exactly where review debt compounds. An applet that renders geometry is a different problem than an agent writing the inventory system it just replaced.
Where the Boundary Should Be
00:07:33 Mario Zechner — libGDX creator, veteran game engine developer — put two thoughts on X this morning that cut through both the hype and the fear. First: control the types and interfaces. Let the rest fall into place. The latest models still love to introduce abstractions that fight your type system.
00:07:53 You need to beat them into submission rather than letting them stomp over things. Second: without constructing and understanding the overall system, you're fucked in the long run. But that doesn't mean you need to read all the code. We didn't do that pre-agents either on large projects.
00:08:13 False dichotomy. His point isn't against agents. It's about what you constrain them to work within. The type-and-interface boundary is a concrete engineering pattern — define your contracts, then let the agent fill in the implementation. The overall architecture stays with the human; the tactical decisions go to the model.
00:08:36 This maps directly onto Gupta's review debt framework. Most of Gupta's signal families measure whether someone understood what the code was doing before it shipped. Zechner's answer is essentially: you don't need to read every line, but you do need to own the boundaries.
00:08:55 The types are your boundary. The interfaces are your contract. Where Zechner and Gupta diverge is useful: one tells you what to do today — define tight interfaces — while the other tells you what to measure tomorrow. Teams that only do one of those will either write great specs nobody follows, or measure debt they can't act on.
The Buy-vs-Build Ticking Clock
00:09:18 Starbucks is building its own AI-assisted replacements for a Microsoft inventory system and an IBM maintenance platform. Bloomberg reported it this week. Starbucks spends roughly four hundred million dollars a year on software, and this is the first real signal I've seen of enterprise companies actually walking that back.
00:09:40 The market reacted by selling application-only vendors. IBM fell three percent premarket. ServiceNow dropped three point five percent. Salesforce slid four percent. Microsoft barely moved because it supplies the Azure infrastructure Starbucks will build on — they're still a customer there, just not for the application layer.
00:10:02 What's happening here is the buy-versus-build recalculation that everyone talks about until someone actually moves money. If your engineers already customize a vendor's product heavily to make it usable, and AI now lets them build a purpose-fit tool in a fraction of the time, the license fee stops looking like insurance and starts looking like rent you didn't know you were paying.
00:10:29 Starbucks isn't walking away from everything though. Earlier this year they pulled an AI-powered inventory counting system after it produced inaccurate counts and had to revert to manual tallies. They're learning before scaling, which makes the current move more credible than if they'd just announced it cold.
00:10:50 Sequence matters here: data consolidation, process redesign, and then AI. Teams that skip the middle step build expensive tools automating bad decisions faster. That's what Gupta's review debt catches at a micro level: when agents produce code before the team has redesigned the underlying process, you get sprawl, coupling, and trust that decays.
00:11:14 Four hundred million dollars is Starbucks' line item. Every Fortune 500 company now has to ask whether its internal tools are next.
The Thread Between Them
00:11:23 These five items land on the same signal, just at different scales. The agents that default to TypeScript are producing code faster than review capacity can scale — Gupta's review debt is the interest rate on that speed. Tao's bounded task works because he grasped the overall system and stayed within it before starting — the opposite of uncontrolled sprawl.
00:11:44 Zechner's type-and-interface constraint is the boundary condition teams need if they're going to keep agents from creating architectural debt. And Starbucks proves the enterprise-side version of the same thing: when AI reaches the application layer, every rented system becomes potentially rebuildable.
00:12:02 The metric I'm carrying from this week isn't any single number. It's Gupta's point about two different kinds of speed — production speed versus trust speed — and the realization that teams treating them as the same number are borrowing against their own architecture without knowing it.