Coding agents as a hospital: Cockroach's five-month results

Share
Coding agents as a hospital: Cockroach's five-month results

The agentic-coding debate keeps being framed as speed versus trust. Cockroach Labs just published the most detailed trust-first ledger yet — five months of numbers, including the parts that didn't work.

Cockroach Labs ran its codebase like a teaching hospital for five months and says the pipeline merged well over a million lines of code with seven total reverts. In the setup the company calls MOLT Sinai, GitHub issues are patients, merging is discharge, and the humans in charge are Chiefs of Medicine. The core rule is that no agent writes code before its plan is reviewed: a Fellow agent reproduces the problem and posts a treatment plan, a separate Review Attending agent — running a prompt built to find fault rather than fix — approves or rejects it, and only then does work start. A Discharge Nurse at the end doesn't re-review the change at all; it verifies that the review happened properly, checking for an approval, a filled-in review template, no unresolved threads and green CI. The company says it can reconstruct why any of 1,238 pull requests merged from the issue trail alone, and that over the run it spent just over $135,000 in Claude tokens — about $84 per average issue.

The headline result is one sprint: full IBM Db2 support for its database-migration tool, built from a single GitHub issue in under two days for $4,172 in tokens. Cockroach says the equivalent Oracle work in 2024 took nine months and around $160,000 in engineering time, which its own math puts at 164 times faster and 38 times cheaper. The company is candid about the asterisk: no human reviewed the Db2 code during that initial test, and confirming it is still ongoing; since the first week, human approval has been required before anything ships to customers. The pipeline also generated much of its own work — nearly half of the 1,299 issues filed in the repo were filed by the hospital for the hospital, and 85% of the commits to the framework repo were authored by the pipeline itself. The model now runs in four Cockroach repositories.

The failure section is the part worth reading. A one-line fix went through eleven rework rounds over two days — comment hygiene, a false PR claim, rebases, flaky CI — until the safety review that documented it admitted the review loop had no circuit breaker for non-convergence; a fix that forces escalation after four consecutive rounds with new blocking findings has since merged. The instruction files rot like code: an audit of 25 skill files totalling roughly 100,000 words found 23% was removable redundancy, with the Discharge Nurse loading about 29,000 tokens of rules before reading a line of the pull request. And the bureaucracy is real — a confirmed duplicate issue still needed a human because the review protocol had no outcome for closing one.

The claim that matters isn't the speed, it's the metric swap. Most agent-automation experiments optimize pull requests per hour; Cockroach explicitly asked how many of its merges the team "would have been embarrassed to have merged ourselves," which is why the pipeline is slow, layered and expensive on purpose. An industry roundup this month had Cockroach's co-founder arguing that code review is heading toward obsolescence — the hospital paper is the evidence file for that argument, warts included. The open wound the authors name themselves: the hospital doesn't teach. Junior engineers don't get the judgment reps that writing and defending plans build, and their proposed fix — humans writing plans that the agents critique — isn't built yet.

What to watch: whether the framework escapes Cockroach's four repos, and whether any competitor publishes a matching ledger with a human-reviewed baseline.

Would you ship agent-written database code on a seven-revert track record — and who signs off when the reviewer is also an agent? Write to us via our contact page.

Source: Cockroach Labs blog

Get SiliconNoon in your inbox

One email a day with the AI stories that matter — what happened, the numbers, and why it matters. No spam, unsubscribe in one click.

Read more

Copilot made Okta's engineers faster but not more productive

Copilot made Okta's engineers faster but not more productive

A year-long field study inside Okta finds the individual gains are real and the organisational ones are not there. Plus: the Jev team ships a code reviewer built on the assumption that nobody reads a 230-file diff. A peer-reviewed field study inside Okta found that GitHub Copilot cut engineers' working hours and sharply lifted their motivation and perceived skill — while producing no statistically significant change in the code the company shipped.

DeepSeek's agent tool let the agent switch off its own sandbox

DeepSeek's agent tool let the agent switch off its own sandbox

Two separate failures at the same lab in one week, and both are about the same thing: what a model provider promises a developer it will keep. DeepSeek's local coding-agent tool let a sandboxed agent turn off its own file sandbox with a single command and no approval prompt. The flaw, now CVE-2026-82533 with a CVSS score of 9.4, sits in DeepSeek Harness, the open-source tool the lab released in August to run coding agents on a developer's own machine; the repository passed 216,000 GitHub stars…

SolarWinds puts IT agents on a deterministic leash

SolarWinds puts IT agents on a deterministic leash

Enterprise IT is where AI agents stop being a demo — a wrong guess there costs uptime, audit findings, and weekend callouts. SolarWinds' answer is to let the model decide what needs doing and never let it decide how far it can go. SolarWinds today launched Avior, a standalone agentic AI system that takes on first-line IT operations work inside a fixed, auditable execution framework — the company's answer to the reliability problem of letting probabilistic models act on production systems.

Huawei open-sources Pangu 2.0's training stack, code and all

Huawei open-sources Pangu 2.0's training stack, code and all

Three things worth your time this hour: the first Chinese lab to give away the code that produces a frontier model, the platforms quietly replacing Hugging Face inside China, and a small OCR model that beat the big generalists on their own benchmark — a month before anyone announced it. Huawei has open-sourced the code that trains Pangu 2.0, not just the weights — publishing the pretraining, supervised fine-tuning and post-training reinforcement-learning pipelines for the model family.