12 Rules for a Software Factory That Doesn't Ship Slop with Dex Horthy, Factory

Software factories (agent-driven development pipelines) succeed when they are treated as an application of decades-old good engineering practice - with deliber

By Sean Weldon

12 Rules for a Software Factory That Doesn't Ship Slop

Abstract

This synthesis examines the software factory - an agent-driven software development pipeline - as an engineering discipline rather than a product category. Drawing on a framework of forward and back pressure, an expected-pain model for planning, newly released benchmark data, and an articulated anti-slop ethic, it argues that agentic pipelines succeed only when they instantiate decades-old engineering practice. Empirical evidence indicates that unattended models do not reliably maintain codebase quality: Slop Code Bench scores of 15-16.3% for frontier models suggest the capability to evolve a codebase incrementally remains largely unsolved, while field data show 30% of pull requests (PRs) now merging without review alongside rising incident and bug rates. The analysis identifies review asymmetry and slop compounding as the principal failure modes, concluding that verification of code quality is intrinsically team-specific and therefore not fully purchasable.

1. Introduction

The software factory concept reached peak attention approximately three months prior to the source talk, meaning assessment can now draw on data rather than intuition alone. A software factory is best defined by comparison with its pre-AI antecedent: product, engineering, or executive stakeholders set a vision; work enters a tracker; an implementer builds; tests are written; a PR is opened and reviewed; continuous integration (CI) and static analysis gate the merge; canaries, rollouts, and feature flags govern release; production monitoring and incidents feed observations back to the team. The agentic variant substitutes an agent for the human implementer at the build step. Conceptually, nothing else changes.

This framing yields the central thesis: software factories are an application of good engineering practice, not an invention. The corollary is that a factory's value derives from the quality of pressure applied around the agent, not from the agent's raw throughput. Where that pressure is absent, scaling generation scales slop - output into which less effort has been invested than is required of the consumer to understand it.

The analysis proceeds from the structural model of the factory and its pressure dynamics (§2-3.1), through measured codebase-quality trends and a planning calculus (§3.2-3.3), to implementation-level tooling and buy-versus-build boundaries (§4), their broader implications for review practice (§5), and conclusions (§6).

2. Background and Related Work

Several frameworks inform this treatment. The 12 Factor Factories formulation positions agentic pipelines as a successor discourse to context engineering, the mid-2025 framing concerned with what information an agent receives. Where context engineering addressed the agent's inputs, factory thinking addresses the surrounding system of initiation, verification, and release - the scaffolding within which agent outputs are produced and checked.

The empirical backdrop is supplied by a Fharos study reporting that 30% of PRs now merge without review. This shift correlates with longer comments, a greater volume of comments, more incidents per PR, and more bugs per developer - a pattern consistent with reduced human verification rather than improved generation quality. Prior engineering practice supplies the remaining vocabulary: architecture review and sprint planning are the historical analogues of agent planning, while linters, static analysis, and CI are the historical analogues of automated back pressure, with formal and lean verification extending the same lineage toward machine-checkable guarantees.

3. Core Analysis

3.1 Forward and Back Pressure

The factory can be characterized by two opposing forces. Forward pressure is whatever causes new work to begin - for example, routing feature requests or production incidents directly into the factory so an on-call engineer encounters a candidate PR rather than a raw stack trace, compressing the latency between signal and candidate remediation. Back pressure comprises agentic code review, agentic testing, CI/CD, linters, and formal or lean verification that allow an agent to hill-climb toward a better outcome before a human is involved at all. The explicit goal of back pressure is to raise the baseline quality of factory output prior to human review, rather than to replace that review.

3.2 Codebase Quality Over Time

A central empirical finding is that unattended models do not reliably maintain or improve codebase quality over time. Models can clone systems as large as Excel or Redis within days using agent swarms, but only when the entire problem is specified in advance; most real software is instead built incrementally, feature by feature, which is a materially different and harder problem. Slop Code Bench, released by a University of Wisconsin lab on the day of the talk, measures exactly this: a model's ability to evolve a codebase across sequential checkpoints. GPT-5.5 scored 15% and a second model, Astra, scored 16.3%, indicating the benchmark is far from saturated. It applies roughly 200 custom rules - 50 drawn from long-standing software practice, the remainder derived from comparing AI-written code to pre-AI repositories - spanning cyclomatic complexity, lines per symbol, the percentage of high-complexity functions, and interface/library design quality.

The trend data are mixed. Models have learned, for instance, to raise exceptions rather than return error tuples in Python. Conversely, current Claude and GLM outputs show a regression toward Python-2-style %-formatting instead of f-strings, a pattern absent from the pre-AI comparison corpus. Taken across roughly six months of model generations, slop-related quality patterns appear to be amplifying rather than resolving. One untested claim - that Fable 5.2 may produce cleaner code when explicitly told it "owns" the codebase, per Anthropic's own prompting guidance - was still under benchmark evaluation at the time of the talk and should be treated as preliminary.

3.3 Planning and the Expected-Pain Calculus

Planning before building reduces the probability of costly rework, mirroring the older practices of architecture review and sprint planning. The proposed decision framework is expected pain: the probability that a thing will need to change later, multiplied by the difficulty of making that change. This yields a spectrum of planning investment - a two-sentence prompt carries roughly a 50% chance of needing further correction prompts; a five-hour detailed specification reduces that to roughly 10%; twenty hours of fully hand-written code reduces agent-induced rework to zero, though human error remains possible. The resulting prescription is to withhold planning effort from reversible, low-stakes decisions (for example, button color) and concentrate it on hard-to-reverse decisions (for example, database schema).

4. Technical Insights

Several concrete practices emerge for mitigating slop in agentic pipelines:

A buy-versus-build boundary also emerges. Infrastructure layers - VMs, dev environments, agent harnesses (frontier harnesses or minimal customized ones such as Open Code or Pi) and a control plane for session collaboration, scheduling, and governance - are substantially purchasable. Verification of code quality is not: it depends on a specific team's codebase, scale, and testing philosophy, and therefore resists full productization.

5. Discussion

The findings point to an underlying asymmetry that drives slop accumulation: the cost of producing a thousand-line PR or a ten-page document is approaching zero, while the cost of reviewing it remains roughly constant. This asymmetry, combined with the observation that 30% of PRs now merge unreviewed, suggests that review capacity - not generation capacity - is the binding constraint on software quality at scale. Slop also compounds: it propagates through knowledge bases, chats, and code as later agents read and copy earlier slop, while a team's tolerance for contesting it erodes over time.

The Anti-Slop Manifesto, announced at slopmanifesto.com with signers from organizations including ZoomInfo and OpenAI, formalizes the response: outcomes over outputs, understanding over speed, one's own thinking over a model's first draft, and improving the system over merely dispatching more outputs. Its central claim - that AI cannot replace human judgment, only amplify it, for better or worse - reframes model capability gains as a multiplier rather than a substitute for review.

An open question concerns where review migrates as models improve. The expectation articulated is that "there will always be alpha in reviewing something," even as less raw code is read line-by-line; review may instead concentrate on plans, designs, and results. Agent reviewers, linters, and automated verifiers are presented as useful but explicitly insufficient substitutes for this human review function.

6. Conclusion

The software factory, properly understood, is a reapplication of established engineering discipline to agent-generated work rather than a novel category of tooling. The evidence - unsaturated Slop Code Bench scores, rising unreviewed-PR rates, and documented quality regressions such as the reversion to Python-2-style formatting - indicates that current models cannot be left to maintain codebase quality unattended. Practical mitigations include structuring forward and back pressure deliberately, applying an expected-pain calculus to planning effort, and adopting visual-output and self-verification tooling, while recognizing that quality verification itself remains team-specific and cannot be fully outsourced. The practical takeaway is that success should be measured by what shipped and how it helped users, not by lines of code, PRs merged, or parallel agents run - a standard that keeps human judgment, not throughput, at the center of the factory.


Sources


About the Author

Sean Weldon is an AI engineer and systems architect specializing in autonomous systems, agentic workflows, and applied machine learning. He builds production AI systems that automate complex business operations.

LinkedIn | Website | GitHub

Sean Weldon builds apps and custom software at 22Atlas.

Start your build

More about Sean