
Dark Factories in Healthcare and Automotive Are a Fantasy (For Now)
In healthcare and automotive, the fully autonomous "dark factory" runs into a wall: these industries define "done" through evidence and human accountability no agent can produce for itself.
The pitch for agentic development has a logical endpoint: the dark factory. The term comes from lights-out manufacturing, plants that run without human presence and therefore without lighting. The software version is a codebase where agents plan, implement, test, and deploy with no human in the loop.
In internal tooling and low-stakes software, some teams are already approaching this. In healthcare and automotive, the fully dark factory is not a near-term roadmap item. It's a category error, and not because the agents lack capability. It's because these industries define "done" through traceability, evidence, and human accountability that no autonomous loop can currently produce for itself. A passing test suite is not a design history file. A green pipeline is not a safety case.
This is the second post in our series on verification in the age of agents. The first post established that trust is engineered through graded assurance, not generated through raw throughput. Here we apply that to the hardest case: regulated software, where the question is never whether the factory can run dark, but which loops inside it can. The answer that ships is a hybrid, dark sub-loops nested inside a bright factory, with human gates placed exactly where the standards demand them.
Where the Fantasy Breaks
Regulated software does not fail an autonomous pipeline on code quality. It fails it on accountability. When a braking controller or an infusion pump causes harm, a regulator and a court ask who assessed the risk, who approved the change, and what evidence justified it. "The agent shipped it" is not an answer these frameworks accept.
Two standards make this concrete:
- IEC 62304 governs medical device software and classifies it by potential harm: Class A (no injury possible), Class B (non-serious injury), and Class C (death or serious injury). Required rigor scales with the class, and a Class C dosing path is not going dark.
- ISO 26262 governs automotive functional safety, grading risk from QM through ASIL A to D by severity, exposure, and controllability. ASIL-D covers systems like steering and braking and carries the standard's most stringent verification obligations. No deploy loop terminates on an ASIL-D component without a human on the certification path.
The constraint is not "AI is unreliable." It's that these frameworks require a named, accountable human to attest that the evidence is sufficient, and that attestation is the one artifact an agent cannot produce for itself.
Dark Loops and Bright Gates
None of this leaves agents idle inside a regulated codebase. It scopes the dark loops to work where blast radius is contained and reversibility is high, even in a Class C or ASIL-D product: test generation and scaffolding, documentation from schema, traceability-matrix upkeep, and low-risk refactors behind a strong test suite. Running these dark is where autonomy pays for itself, freeing scarce specialist attention for the paths that actually carry risk. Babysitting a documentation-generation loop is the waste, not the safeguard.
The bright zones are defined by the standards, not by preference: clinical decision support paths where a wrong output reaches a patient, ASIL-rated control software where ISO 26262 dictates verification depth, and release certification itself, the moment an organization formally attests a system is fit to ship. In these zones, an unreviewed automated deploy doesn't just carry technical risk. It produces an unsigned decision in a domain that legally requires a signature.
The Hybrid That Ships
The architecture that actually ships regulated software is neither the dark factory nor the fully manual shop. It's a bright factory, human-gated at the risk boundaries, with dark sub-loops operating inside strict scope limits.
The defining property is containment. A dark sub-loop must be architecturally incapable of reaching a bright system without passing through a gate, and that isn't a policy in a wiki, it's enforced structure: scope boundaries so a documentation or test agent cannot touch a safety-classified module, bright gates where a Class C change or ASIL-D component requires human review, and full test coverage with automatic rollback on every dark loop so a contained mistake stays contained.
This is where CI/CD stops being plumbing and becomes the architecture. A dark-versus-bright boundary that lives only in a diagram doesn't exist; it has to be enforced on every commit. In practice the pipeline encodes the topology directly: branch protection and required checks are the bright gates, path filters and scoped environment permissions are the containment walls, the assurance ladder becomes pipeline stages, and build provenance and change-control records are the audit trail a regulator expects. The point is blunt: if your pipeline can't tell a documentation change from a change to a dosing algorithm and route them differently, you don't have a hybrid factory. You have a dark factory with optimistic labeling.
Production Never Goes Fully Dark
The strongest evidence that the hybrid is the real endgame comes from the regulators themselves. In December 2024, the FDA finalized its guidance on Predetermined Change Control Plans (PCCPs) for AI-enabled device software. A PCCP lets a manufacturer pre-authorize a bounded envelope of future changes without a new submission for each one, defined by three parts: a Description of Modifications (what may change), a Modification Protocol (how changes are developed, tested, and validated), and an Impact Assessment (the benefits, risks, and mitigations of operating in that envelope).
Read carefully, a PCCP is not a license to go dark. It's the opposite: a human-defined envelope of permitted autonomy, bounded by a protocol and paired with real-world monitoring that never switches off. It is the hybrid thesis written into regulation. Change can move fast, but only inside limits a human set in advance, and only while the monitoring stays on.
How Fast Does "For Now" Expire?
The envelope will widen. As assurance techniques mature and agents get better at producing their own evidence, more loops will move safely into the dark and the human gates will sit at higher levels of abstraction. That trajectory is real, and the title's "for now" is a genuine hedge.
But the monitoring lights don't switch off, because in these industries production is never a finished state. It's a supervised one. The teams that win in regulated software won't be the ones chasing full autonomy fastest. They'll be the ones who can say, precisely and with evidence, which loops run dark, which stay bright, and why the boundary sits exactly where it does.
If you're building delivery infrastructure in a regulated domain and want a second set of eyes on where the dark loops and bright gates should sit, reach out. Happy to compare notes.
This is the second post in our series on verification in the age of agents. Start with the first: Trust That Software Works: Verification in the Age of Agents.
Related Insights

Insight
Trust That Software Works: Verification in the Age of Agents
Agentic tools don't fix delivery pipelines, they flood them with unverified code. We call the gap verification debt. Here's how to close it: separate verification from validation, match assurance to blast radius, and know exactly which agent loops can safely run dark.
Read More
Insight
Continuous V&V: Overcoming the Compliance Loop in Safety-Critical AI Systems
In deeply regulated industries, whether engineering connected car platforms (ISO 26262), medical devices (FDA software validation), or automated logistics, Verification and Validation (V&V) is the ultimate arbiter of safety.
Read More
Insight
Your AI Cleared the FDA. Now You're Afraid to Improve It.
Medtech teams freeze their AI models post-launch, fearing that any update means a costly return to the FDA. By leveraging the FDA’s Predetermined Change Control Plan (PCCP) framework and building automated evaluation infrastructure, engineering teams can escape the "deployment trap" and safely iterate in production
Read MoreFacing a problem like this one?
Tell us what the business needs to win and who owns it on your side. If it is a fit, a First Build starts within weeks. If it is not, we will tell you why.