Purple title card reading “Five Months Running a Hospital for Code: Treatment Plans, Discharge Nurses, and Lockdowns”

Link · cockroachlabs.com ↗

Five months treating bugs like patients and coding agents like a medical team

Cockroach Labs ran GitHub issues through agent nurses, fellows and attendings for five months: about $84 an issue, and a one-line fix that took eleven rework rounds.

Why we picked it · the editor's summary

Cockroach Labs' MOLT team modeled its issue pipeline on a teaching hospital: triage agents, fellows that write fixes, a separate attending that reviews plans and code, and humans as chiefs of medicine. The rules do most of the work: no code before an approved plan, no weakened tests, a structured handoff instead of a retry, and an append-only log of past human rulings the agents check before escalating. The authors report about $135,000 in tokens over five months, roughly $84 per issue, and Db2 support built in under two days, though that code predates human approval and is still being verified. The process also overcorrected: an urgent one-line fix took eleven rework rounds before a circuit breaker went in. The figures are self-reported; the rule set and the failure list are what to copy.

Read on cockroachlabs.com ↗55m read

Comments

Loading comments…