The Software Factory: From Bug Report to Production Code — Davis Palmie, Factory
Talk notes · AI Engineer ·A close reading of the source at ai.engineer (also youtube.com): what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.
Software FactoryBenchmarks & LeaderboardsVerification Loops & BackpressureBenchmark Gaming & Contamination
Problem
Davis Palmie (member of technical staff at Factory; before that he co-founded Lummetric, an agent platform for investment teams that went through Y Combinator and was acquired by Factory) says engineers are moving from typing code to governing agents, and the next step is organizing agents into a system that turns input signals such as bug reports and user feedback into production code (0:01, 2:04). He frames it as three eras: autocomplete, whole-file generation, then agents, each a step up the abstraction ladder that, he says, made engineers more valuable, not less (1:02).
He then walks through the questions he says every leader asks: how to avoid cost overruns (he mentions headlines about one big company's CTO using up the yearly AI budget by April, and another clawing back licenses; he does not name the sources), how to get the best model, what happens to engineers, and how organizations change (2:04, 3:04, 4:05).
His central claim: coding was never the bottleneck. Review time, reproducing bugs, debugging, stale docs, test upkeep and the gap between teams are, and the DORA time from code written to production "dwarfs" the time spent making the change (4:05, 5:06).
Approach
Scope. The factory covers triage, planning, docs, execution, review, testing, rollout and monitoring (6:08). Do not build it all at once: start narrow and verifiable, for example incident triage, where an agent reads a Sentry alert, pulls traces and context, and posts to Slack while humans decide what to do. Trust builds as correct diagnoses pile up. Only when output can be tied back to the input signal do you unlock self-improvement (7:09).
Four principles (8:11, 9:12, 12:17):
- Model agnostic. His example: the same code review performance from GPT-5.2 as from the latest Opus models at half the price, and open models 10 to 30x cheaper (Factory's reported finding, no benchmark shown). The line from Factory's CEO: you can find an algebra tutor cheaper than Einstein.
- Sovereign deployment: fully managed, bring your own machine, or air-gapped.
- Integrated across the software lifecycle: docs, code, tests and planning inform one another.
- Surface agnostic: remote machines, CLI, Slack, with one shared harness and context.
Agent readiness, eight pillars (13:17, 14:17): validation (linters, formatters), build system docs, feedback loops (unit and integration tests), docs such as READMEs and agent instruction files, reproducible dev environments, modular code, observability, and security scanning. He says the work exposes tribal knowledge and helps humans too.
Operating it. Common patterns: triage alerts before the human answers the page, security scanning, test upkeep, doc syncing, review and rollout monitoring (10:13). Governance: every action auditable, role-based access and least privilege (14:17). Value for large orgs: define guardrails and testing policy once and apply them everywhere, taking management cost from O(N) to O(1) "conservatively" (11:16).
Lessons learned
- Palmie: roll out one pillar at a time and automate each before you close the loop (7:09, 15:18).
- Humans stay as validation gates and set direction: "judgment and prioritization now beat mechanical implementation skill" (15:18).
- Measure outcomes, not tokens or lines of code. Token leaderboards are "Goodhart's law in real time" (16:20). Factory's own metrics: signal-to-production time, human intervention count, median time to repair, shelf life of code, cost per PR (16:20, 17:24).
- Give agents the same governance as engineers: tooling, access, review (17:24).
- Self-reported: Factory is a vendor, and the cost and model-parity figures have no benchmark attached in the talk.
Theme
Group: AI Coding & Software Factories. Palmie is the executive-overview voice from Factory. He repeats three Factory themes from his colleague Tereza Tížková (card): model routing for cost, agent readiness, and humans deciding direction. He agrees with Dex Horthy (card) on measuring outcomes instead of PR counts, and with Ryan Cooke of WorkOS (card) on that same point. His "start with incident triage" is a gentler path than Walden Yan's end-to-end self-driving PRs (card). Narrow-first agrees with Armin Ronacher's attention limit (card).