Stop the Slop Factory: Practices That Keep Agents from Making Your Codebase Worse

·4 min read

Coding agents can generate code faster than ever, but a new benchmark shows the best models still score only about 16% when asked to evolve a real codebase over time instead of solving a one-shot problem. In a talk at AI Engineer Code Summit this week, Dex Horthy (Factory) argued that a software factory is simply good engineering with an agent in the “build” slot—and that the practices that prevent it from becoming a slop factory are mostly decades old.

Know the enemy: models do not maintain code well

Slop Code Bench (from a University of Wisconsin lab) measures incremental evolution across checkpoints rather than a fully specified problem. GPT-5.5 scored ~15%; Astra ~16.3%. Unattended models do not autonomously improve codebase quality over time. Patterns that looked better six months ago are sometimes worse now. Hands-off feature pushing is not a strategy for long-lived systems.

Forward pressure and back pressure

Horthy frames the design space as two forces rather than fashionable “loops”:

  • Forward pressure starts work: route feature requests and incidents straight into the factory so a 3 a.m. page can become a pull request that may already contain a fix.
  • Back pressure vets the output without creating a pure human bottleneck: agentic code review, agentic testing, heavy CI/CD and linter investment, and (for hardcore teams) formal verification.

The goal of back pressure is to let agents hill-climb against checks so that by the time a human looks, the obvious problems are already fixed.

Concrete practices that matter

  • Plan before you build, but price the rework. Architecture and schema decisions are expensive to reverse; button colors are not. Use expected pain (probability of later change × cost of that change) to decide how much upfront work is justified.
  • Align visually. Text walls are slow for humans. Prefer mockups, tables, and charts so review stays fast.
  • Let agents test their own work. Screenshots, browser runs, curl, and for mobile, a full build-and-run environment.
  • Fight slop with tooling. Dylan Moroy’s Anti-Slop rules (~100 patterns that stop common agent anti-patterns), Factory’s ESLint plugin, and the quality rules from Slop Code Bench itself are forkable starting points. Anything a linter or type checker can catch should be caught automatically.
  • Use feature flags and evals. Prototype behind a flag, measure, then decide what belongs in the product.
  • Unify the forge. Keep designs, decisions, and context next to the code instead of scattered across Slack, Notion, and paste-between-agents workflows.

The Anti-Slop Manifesto

Horthy and others launched slopmanifesto.com. Core values: outcomes over output, understanding over speed, our own thinking over the model’s first draft, better work over easier work, and improving the system over patching the output.

Slop is defined as putting less effort into producing something than we ask the consumer to spend understanding it. AI output is not automatically slop; it becomes slop when passed along without responsibility for quality. A swarm of agents can produce more work in a day than a person can review in a lifetime, and slop compounds because the next agent reads and copies it.

Key resolutions include owning the intent, taste, and consequences of what ships; disclosing when an agent wrote something; still reviewing at least some subset of outputs (the subset depends on stakes); and pushing back kindly when someone sends unreviewed work.

What you cannot buy

VMs, harnesses, and control planes can be purchased or customized. Verification of your code cannot. Only the team that owns the system knows how to test it properly.

Review still matters. As models improve we may stop reading most of the code, but we still need to bring judgment—on a plan, a design, or a result. If we bring nothing, we get the same output as everyone else.

Watch the full talk: 12 Rules for a Software Factory That Doesn't Ship Slop — Dex Horthy, Factory (AI Engineer channel, ~20 min).

Related recent discussions on Hacker News touch the same themes: surveys showing some teams merging with no human review once CI and agent checks pass, and tools aimed at visualizing agent changes so review remains feasible. The bottleneck has moved from writing code to verification, maintainability, and shared understanding.

The practical takeaway is simple: treat the factory as classic engineering with agents doing the building. Add deliberate forward and back pressure, invest in anti-slop tooling and visual alignment, own the judgment, and do not assume unattended models will keep the codebase healthy over time.

Share