Skip to main content
Derrick MeadeEngineered byDerrick Meade
FEATUREDNEW Article Technical Development

The Dark Factory: Software Engineering Beyond Human Implementation

AI-assisted development is only the transitional stage. The Dark Factory examines what happens when machines become the native implementation workforce and engineers shift from writing and reviewing every component to designing and governing the system that produces them. It explores the role of orchestrated agents, independent validation, executable governance, evidence, observability, and risk-proportionate human authority in building software factories that can operate with increasingly justified autonomy.

AUTHORDerrick MeadeWRITTEN September 1, 2026 READ TIME30 min read
us flag
sa flag
cn flag
fr flag
de flag
in flag
jp flag
ru flag
es flag
ke flag
Part IV — The Transition
Can the Factory Improve Itself?

Once sufficient observability exists, another possibility emerges.

If one class of work repeatedly passes independent validation with little correction, should the factory recommend greater autonomy for that workload? If another category repeatedly fails, should it recommend stronger controls? Model routing, retry policy, and validation strategy can all potentially improve from observed behavior.

Technically, much of this is achievable. Governance makes the question harder because there is a profound difference between allowing a factory to learn about itself and authorizing it to rewrite the rules by which it is governed.

I am comfortable with a factory identifying patterns, proposing improvements, and simulating the effects of those changes. I am much more cautious about allowing the production system to silently redefine its own trust boundaries.

The engineer may leave the coding loop without leaving the constitutional loop. Human authority over the rules governing autonomous production can remain even as human participation in routine production disappears.

That is not a contradiction. It is the architecture of control.

The Apprenticeship Problem

There is one consequence of this transition that engineering organizations should not wave away.

If experienced engineers developed their judgment partly through years of writing software, debugging failures, and living with the consequences of bad decisions, what happens when the next generation no longer spends a decade performing that same routine work?

That is a real problem, and I do not think the industry has solved it yet.

A recent survey preprint on agentic AI in the software-development lifecycle reaches a similar boundary, identifying skill redistribution alongside evaluation, governance, technical debt, and attention economics as open problems created by the agentic transition. Because that work is a recent preprint rather than settled literature, I view it less as proof than as evidence that the question is emerging independently across the field. [8]

The wrong answer, however, is preserving human implementation as an inefficient production requirement simply because our historical apprenticeship model depended upon it. Engineering apprenticeship will need to evolve deliberately.

Future engineers still need deep code literacy. They need to understand architecture, state, security, performance, and failure. They may still write substantial amounts of code in education, laboratories, simulations, and deliberate practice. What changes is the assumption that repetitive production implementation is the only mechanism through which that understanding can be acquired.

Some alternatives are already visible. Engineers can diagnose failed orchestrations, study why validators disagreed, trace incidents back into plans and rules, challenge architecture, and run controlled experiments against the factory itself.

Whether those mechanisms can reproduce all of the tacit judgment historically developed through years of implementation remains an open question, and we should say that plainly. A dark factory changes how we produce software, but it also forces us to invent a better way to produce the engineers capable of governing it.

The Maturity Gap
The amount of autonomy granted to a workload should be proportional to the evidence that the surrounding governance system can support it.

That principle turns the distinction between implementation autonomy and governance maturity into an operating model rather than merely a conceptual one.

StageOperating ModelPrimary Human Role
AI AssistanceAI accelerates implementation and understandingDeveloper
Agentic ImplementationAgents build meaningful work under direct supervisionDeveloper / Reviewer
Orchestrated ADLCSpecialized agents plan, build, validate, and test through governed workflowsOrchestrator
Governed Dark FactoryMachines perform routine implementation and code review inside evidence-driven production linesFactory Architect
Adaptive FactoryTelemetry informs policy, routing, and bounded changes to autonomyGovernor / Systems Architect

The table should not be read as a universal staircase on which every repository or workload moves upward at the same rate. The maturity of the surrounding control system determines how much autonomy is justified for a particular class of work.

One organization may possess substantial implementation autonomy before its governance catches up. Another may deliberately restrict autonomy despite having sophisticated controls. Within a single mature enterprise, routine and well-understood work may operate almost completely dark while security-sensitive, safety-critical, regulatory, or genuinely novel changes retain explicit human authority.

Those are not inconsistencies.

They are what risk-proportionate autonomy should look like.

The destination is therefore not a particular percentage of AI-written code, nor a declaration that humans have disappeared from engineering. It is a production architecture capable of granting autonomy selectively because it can distinguish where that autonomy has been earned.

The mistake is not being at an intermediate stage.

The mistake is confusing more autonomy with more maturity.
The New Bottleneck

This transformation has an organizational consequence that can be uncomfortable to discuss.

If implementation capacity becomes elastic, engineering organizations no longer scale primarily by adding implementation capacity. Headcount stops being as useful a proxy for software throughput as it has been historically.

For decades, large software initiatives required large engineering organizations because human implementation was expensive and finite. More requirements generally meant more developers, more reviewers, and more teams.

Dark factories challenge that relationship. A mature autonomous production system should require fewer humans to produce a given quantity of software, and it would be intellectually dishonest to pretend otherwise.

The remaining human work, however, becomes more leveraged. Product judgment matters because the factory cannot invent coherent business strategy for us. Architecture matters because poor decisions can now be implemented at machine speed. Governance matters because autonomy scales risk as effectively as it scales output.

The bottleneck therefore moves upstream.

For most of software history, organizations accumulated large backlogs because implementation capacity was finite. There were always more ideas than engineers available to deliver them. As that constraint weakens, the expensive part becomes determining which ideas deserve to enter the factory and expressing them with enough rigor that they can be safely orchestrated.

A dark factory can manufacture an enormous amount of software. That does not mean it should.

Velocity without judgment merely creates waste faster.

The lasting competitive advantage will not belong to the organization whose preferred model generates the most code. Models will improve and commoditize. The advantage belongs to the organization capable of transforming strong ideas into high-integrity intent and moving that intent through a trusted production system faster than competitors can.

The value of an engineer moves with that shift. It becomes less about the amount of code an individual can personally produce and more about the quality of the systems and decisions that engineer can cause to exist.

That is a very different definition of engineering throughput.

The Line in the Sand

I have spent most of my professional life writing software, and for much of that career writing code felt inseparable from being a software engineer.

I no longer believe that relationship survives the transition now underway.

The important questions are no longer whether AI can write production code or whether agents can perform meaningful engineering work. We already know they can. The question now is whether we are willing to redesign software engineering around that reality.

If we are not, AI remains another acceleration tool inside an increasingly outdated operating model. We will generate code faster and wait for humans to review it. We will add agents and then build queues and supervision around them. Individual steps become faster while the system as a whole remains constrained by the same architecture.

That is not transformation; it is automation trapped inside yesterday's operating model.

The real leap occurs when we stop asking machines merely to imitate developers and begin designing production systems in which machine intelligence is the native implementation workforce. The center of gravity then moves toward plans, architecture, executable governance, evidence, and factory telemetry.

The engineer stops being the person expected to manufacture every component personally and becomes responsible for creating a factory trustworthy enough that nobody needs to.

Once an organization has earned enough confidence in its architecture, evidence, governance, and production controls to cross that threshold, insisting that humans continue manually writing and reviewing routine code is not necessarily prudence.

At some point, it becomes nostalgia disguised as governance.

The responsible alternative is harder because it requires far more than buying an AI coding tool. We have to build the constraints, validation, observability, escalation paths, and management discipline capable of supporting genuine autonomy. Then we have to be willing to let that system operate.

There will still be humans. There will still be engineers, expertise, judgment, and accountability. There will still be moments when somebody puts on the hard hat and walks onto the production floor because something unexpected has happened. What changes is that those interventions become intentional boundaries rather than permanent fixtures of every software production cycle.

And before we cross each new boundary, the standard should remain the same:

Autonomy should be earned through evidence, not granted through enthusiasm.

The next generation of software organizations will not win because their engineers learned to type faster with AI. They will win because they stopped organizing software production around typing at all.

The code will be written in the dark.
The factory will be brightly governed.
And the humans will finally be standing where their judgment matters most.

References

  1. [1] Dan Shapiro, “The Five Levels: from Spicy Autocomplete to the Dark Factory.” January 23, 2026. Primary-source presentation of a five-level AI coding autonomy model culminating in the dark factory.
    Dan Shapiro — The Five Levels
  2. [2] Eric S. Qiu and Joyce Gill, "Adversarial Review: Structured Disagreement for Grounded Agentic Code Review.” arXiv preprint, August 16, 2026. Recent, non-peer-reviewed research examining structured reviewer/critic disagreement, including false-consensus behavior in naïve configurations.
    Adversarial Review — arXiv
  3. [3] Idan Habler, OWASP GenAI Security Project, “Memory Is a Feature. It Is Also an Attack Surface.” May 13, 2026. Discussion of memory and context poisoning in agentic applications and the security implications of persistent trusted state.
    OWASP — Memory Is a Feature. It Is Also an Attack Surface
  4. [4] OWASP GenAI Security Project, “LLM06:2025 Excessive Agency.” Guidance on risks arising from excessive agent functionality, permissions, and autonomy.
    OWASP — LLM06:2025 Excessive Agency
  5. [5] ISO/IEC 42001:2023, “Information technology — Artificial intelligence — Management system.” International standard specifying requirements for establishing, implementing, maintaining, and continually improving an Artificial Intelligence Management System.
    ISO/IEC 42001:2023
  6. [6] Joel Becker, Nate Rush, Beth Barnes, and David Rein / METR, “Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity.” July 10, 2025. Randomized controlled trial of experienced developers working in mature repositories they knew well; the studied early-2025 AI tools produced a 19% slowdown despite participants perceiving a speedup.
    METR — Early-2025 Developer Productivity Study
  7. [7] Joel Becker, Nate Rush, Tom Cunningham, David Rein, and Khalid Mahamud / METR, “We are Changing our Developer Productivity Experiment Design.” February 24, 2026. Follow-up describing why newer tooling may provide greater acceleration while selection effects and concurrent agent use make the magnitude harder to measure reliably.
    METR — Developer Productivity Experiment Update
  8. [8] Happy Bhati, “Agentic AI in the Software Development Lifecycle: Architecture, Empirical Evidence, and the Reshaping of Software Engineering.” arXiv preprint, April 29, 2026. Recent, non-peer-reviewed survey proposing an agentic software-engineering reference architecture and identifying evaluation, governance, technical debt, skill redistribution, and attention economics as open problems.
    Agentic AI in the Software Development Lifecycle — arXiv