The Pragmatic Engineer — selected conversations
Software factories and code reviews with Harjot Gill
Twenty-five curated conversations on agent workflows, software factories, software correctness, developer platforms, engineering leadership, resilient systems, and software quality
A manually reviewed selection of Pragmatic Engineer conversations with Katelyn Lesse, Harjot Gill, Satya Nadella, Sean Allen, Will Larson, Uday Kiran Medisetty, Sam Newman, Maggie Appleton, Matt Pocock, Tibo Sottiaux, Martin Fowler, Dex Horthy, Boris Cherny, Mario Zechner and Armin Ronacher, Laura Tacho, Hillel Wayne, Mitchell Hashimoto, Kent Beck, Peter Steinberger, Grady Booch, Steve Yegge, DHH, Dax Raad, Charity Majors, and Addy Osmani. Topics include software factories and risk-based review, software correctness and fault-injection test workloads, engineering management and careers, developer platforms, resilient distributed systems, design prototyping, reusable skills, agent workflows, context and harness design, TDD and verification, architecture, measurement, accountability, and open-source governance. Practitioner observations, product-team and vendor claims, and forecasts are not controlled findings.
In this collection Browse 25 summaries 2 of 25
Harjot Gill, founder and CEO of the AI code review company CodeRabbit, describes running CodeRabbit's roughly 40-person engineering team as a "software factory": agents work toward long-running goals, verify their own work, and watch production, while people review risk at the release level instead of reading each pull request. Gill previously founded Netsil, an observability startup acquired by New Relic, and FluxNinja. He also argues that hypergrowth venture-funded software startups in competitive markets now need much larger budgets for tokens and compute, a claim the host disputes.
Based on the video's English auto-generated captions, with product, company, and personal names corrected in the saved transcript; no check against the original audio. CodeRabbit sells AI code review, so Gill's view that human code review is dead but AI review matters more is a vendor's position. His figures for pull requests, spending, and defect rates are his own reports; he says he has not yet measured the defect trend. Funding, market, and career claims are opinions or forecasts. The host reads sponsor segments for turbopuffer, Entire, and WorkOS, and closes with his own skepticism about several of Gill's views.
Key points
-
Most of the CEO's pull requests remove bottlenecks. Gill merged more than 5,000 pull requests in the previous month. On the host's chart, his monthly count rose from at most 100 or 200 to more than 1,000 in July, after Gill says agents became good enough to ship real work to production. He drives agents through the Codex desktop app and has not opened a code editor since; much of his team uses Opus 5.5 with Claude Code. Most of his pull requests are janitorial work on the development process, such as fixing CI, flaky tests, and caching. 02:53–06:13(opens in a new tab)
-
"Hill climbing" means giving agents something to verify against at each stage. Gill says an agent ran for six weeks to build a Git write-ahead log on object storage in Rust, which now runs in production and which he has not read. The loops start with checks close to where agents write code: TLA+ models, deterministic local simulations, Lean theorems for components such as billing, and emulators of cloud APIs. Agents then test in real cloud environments. CodeRabbit ships every 30 to 45 minutes, and Gill treats each release as a turn in a strategy game: features go out behind flags in progressive rollouts, starting with about 10% of open-source users, while an agent watches performance and logs before widening the rollout. He argues small teams now need the release tooling that Facebook and Netflix built for thousands of engineers. 15:16–20:26(opens in a new tab)
-
Interactive crafting and factory work need different interfaces. Of about 20 Codex chats a day, Gill says only one or two are hands-on crafting, such as shaping a UI message by message. The rest are factory work, where agents pursue a goal, remove flaky tests that reset the merge queue, or own the health of components such as billing and add telemetry or fixes after each deploy. He says chat is the wrong interface for running fleets of agents, and that this work should move to cloud sandboxes so other people, including CodeRabbit's team in Bangalore, can unblock agents while he sleeps. 20:26–23:22(opens in a new tab) Local machines with 24 or 48 GB of RAM max out at three or four sessions, and local token spending cannot be audited. His own cost is about $150 per pull request; for some people it may be thousands. 23:22–26:09(opens in a new tab)
-
Human code review is gone, but human review moved to risk and releases. Planning used to ration expensive engineering time before work started. Now support tickets, designers, and background agents such as Datadog's open pull requests directly, so the pull request becomes the planning and review gate. A person decides whether a change is worth shipping, whether it is slop to close, and whether its risk needs closer attention, such as a migration on a large table or a schema change. CodeRabbit fast-tracks low-risk changes, and even interns ship directly to production. For SOC 2 compliance, CodeRabbit defines a change as a release: a Slack message summarizes each pull request's risk, and engineers and SREs decide whether the release goes out or is rolled back; Gill says a rollback takes 10 to 15 minutes and is the worst case. Gill says software engineers, not product managers, still carry this responsibility. 26:09–30:40(opens in a new tab)
-
A "driving license" ties shipping rights to regressions. Engineers on a review-exempt list can ship without human review based on experience and past performance. CodeRabbit traces each fix back to the pull request that introduced the regression and measures how long the regression was exposed in production, sometimes 100 hours until a customer noticed. After enough strikes, an engineer loses the license, goes back to human code review, and must pass a proving period. Gill says some engineers question agents carefully about their implementations, while others hand over vague goals and let the agent rearchitect the system. 30:40–33:34(opens in a new tab)
-
Operations must move at the same speed as shipping. Gill's goal is to minimize how long a bad change stays exposed in production, not to prevent every outage. He says that even if defect rates do not fall, higher volume means more defects ship, so agents must watch production. Alerts only cover failures someone imagined, so agents should also read logs and traces. Parts of the code that no agent watched had longer production exposure to bad changes. 34:23–36:00(opens in a new tab)
-
Let entropy rise, then run cleanup agents. Gill accepts that unleashing agents increases mess, possibly including weaker security when agents do not reuse shared auth layers. Janitorial agents then remove flaky tests, fix bad abstractions, and run large refactors, such as introducing Effect and XState. Other agents "deslop" tests by removing redundant unit tests in favor of integration and end-to-end tests. CodeRabbit aims for CI runs of about three minutes and is at roughly four. A vendor quoted about $13 million a year for CI, so CodeRabbit built its own, and it later had to move GCP regions when it could not get capacity to upgrade a database instance. 39:30–42:30(opens in a new tab)
-
Gill's unmeasured view: with validation, agents write less slop than humans did. He says distributed backend systems are now cheap to build because few designs are correct, while UI work needs more taste because it can be built many ways. Tasks such as migrating every service to Bun over a weekend work when unit and smoke tests can confirm the result. He thinks humans shipped more unvalidated "slop" than AI does, and reports fewer outages as CodeRabbit's validation layers improve, while saying he still has to measure it. Earlier he said higher volume could mean more defects ship even if the rate does not fall. 42:30–46:50(opens in a new tab)
-
CodeRabbit tunes its harness rather than models. CodeRabbit picks models from several providers for each subagent and workload instead of letting users choose, and Gill says evaluating new releases now limits how many vendors it can onboard. Early fine-tuned models lost their advantage as frontier models improved. Effort now goes into the harness: choosing context with semantic analysis and code graphs so reasoning models do not overthink and token costs fall. Free reviews of open-source repositories feed that tuning. He argues code review is one of the few areas where a specialized harness still beats general-purpose agents, because it needs both breadth and depth, with good recall and precision. 45:48–51:02(opens in a new tab)
-
TLA+ modeling came before implementation. For a Slack bot with queued and steerable messages and sandbox shutdown states, the team modeled the state machines in TLA+ before having Codex implement them. TLA+ found race conditions the team had missed, and a simulation harness fuzzed different interleavings. Gill says TLA+ suits message passing and actor interactions rather than algorithms. 51:02–52:48(opens in a new tab)
-
Token spending is now a headline cost. Gill says his own AI cost is about $250,000 to $275,000 a month, the company spends several million dollars a month on tokens, and CodeRabbit's background agent is the second-largest committer. Moving CI in-house roughly halved its cost, according to early figures he had just heard. 51:56–53:37(opens in a new tab)
-
Forecast: factories will cost more capital than seed rounds provide. Gill limits this to hypergrowth venture-funded startups in competitive markets. He argues that tokens and compute are replacing salaries as the main early cost; one person can drive two to three million dollars of tokens a year, and small teams can steer spending the way marketing teams do. 54:27–58:06(opens in a new tab) Because copies now appear within weeks, he thinks a startup has one or two months after its first version to win attention. 1:01:29–1:03:17(opens in a new tab) He expects "composite" companies to mass-produce software that is cheaper and lower in quality, like plastic toys replacing metal ones. 1:03:17–1:06:08(opens in a new tab) In his closing commentary, the host says he doubts this level of spending makes sense outside competitive AI developer-tool markets. 1:24:41–1:26:41(opens in a new tab)
-
Hiring favors agency and range, and collaboration moves into rooms. In a hiring tweet, Gill asked for either 1,000 tastefully shipped pull requests in 30 days or 500 hours of strategy games such as Civilization or Factorio. He says experienced seniors often need to unlearn habits, and he looks for side projects, systems thinking, and range across domains. 1:08:49–1:11:19(opens in a new tab), 1:22:37–1:24:41(opens in a new tab) For interactive work, CodeRabbit gathers product managers, designers, and engineers in "war rooms" to agree on a plan in a Slack canvas and shape the software together. 1:11:19–1:13:01(opens in a new tab) Gill wakes at night to unblock stalled agents on his local machine, which he says is not sustainable; the host argues against the practice. 1:13:01–1:15:39(opens in a new tab)
Full video: https://www.youtube.com/watch?v=4Cjb7691GJ8(opens in a new tab)