Why Enterprises Should Not Build a Dark Software Factory
A lights-out software factory can ship code quickly while leaving enterprises with the hardest work: secrets, permissions, approvals, audit, and ownership. Build a governed factory instead, where business teams move fast and IT sets the controls.

TL;DR: what you'll build. A dark software factory is a lights-out pipeline that turns requirements into code, tests and deploys with no person in the loop. Enterprises should not make it the default for business software, because production apps still need an accountable owner, scoped access, audit records and a person who decides when something goes wrong. This guide gives CIOs, CTOs and heads of platform a governed alternative: risk tiers, an intake checklist, a launch gate and a build walkthrough on Major.
Why lights-out code factories optimise the wrong thing
A dark software factory is a lights-out software-development pipeline. MindStudio describes it as an automated pipeline that turns requirements into code, tests it, fixes failures and sometimes deploys, with an orchestrator assigning planning, coding, validation and delivery. People define tasks and review results instead of directing each step.
That meaning is about the engineering cycle. It is a fair idea for well-specified, repetitive work such as test generation, migrations and documentation, and the same article advises against using it for ambiguous needs or high-stakes production systems without substantial oversight.
The enterprise question is different. Nobody asks "can a pipeline write code without a person?" and stops there. The question is who owns what the pipeline ships once it is running against Jira, Intercom, NetSuite or a plant system, who approved its access, and who gets paged when it acts wrongly.
Output volume is the wrong measure. A factory that ships forty internal apps a week while ownership, permissions, audit and exception handling stay unchanged has not become faster. It has moved the bottleneck from writing code to supporting code nobody owns.
Autonomy should be granted per action and per risk tier, not per factory. Reading a Jira queue is a different decision from emailing a customer. Human approval at the right point is a control, not a failure of automation.
This is the position behind the governed software factory we describe for business teams. Major is the enterprise platform where agents build the software they run on. The agent reasons once about the repeatable part of a task, builds a deterministic app for it, and then runs the app. People and IT stay accountable for what runs, and the model keeps its place at the judgment calls.
Two terms are worth keeping apart through the rest of this article:
- Deterministic execution: code that runs the same way every time, such as matching an Intercom conversation to a Jira issue by ID.
- Model judgment: a decision with no fixed rule, such as whether a vague bug report is severity one or severity three.
A lights-out factory blurs the two. A governed factory keeps the first in code and spends the model only on the second.
The real cost of unmanaged AI demand
Most enterprises are not choosing between a dark factory and a careful one. They are choosing between a governed path and the ungoverned one employees are already taking. Demand for AI-built tools rises faster than IT can review it, and the pains stack up in a predictable order.
The queue and the review burden
- The IT request backlog grows. Every team wants an agent or a small app, and each request lands in the same queue.
- Every new AI tool is an unbudgeted security review. Someone has to read the data flows, the vendor terms and the permissions, usually without extra headcount.
- AI mandates stall against enterprise controls. Leadership asks for speed while security asks for evidence, and neither side is wrong.
What ungoverned building leaves behind
- Shadow IT and prototypes. A prototype built in an afternoon often ships with an API key pasted into the code, a database open to anyone with the link, no sign-in and no logs.
- Engineering inherits the maintenance. When a business-built app breaks, the engineers who never saw it get the ticket.
- Tool sprawl. The same Jira-to-Slack workflow gets rebuilt by three teams in three products, and nobody can say which is current.
Retool's survey of 300 technology leaders gives one data point on how this looks from the IT side. It is a vendor survey of its own respondents, not a universal reading of all enterprises, so treat it as a signal and not a benchmark.
- 89% of IT leaders say their company has at least one AI agent in production.
- Among leaders with agents in production, 27% say one team owns them all.
- Among that same group, 55% already lack the staff to govern agents at scale.
- Among that same group, 54% say business teams move faster than IT can review.
- Among that same group, 40% set up data credentials one agent at a time, and 20% have had credentials shared insecurely to get an agent working.
The credential figures matter most for this argument. A dark factory that mints apps without a central credential model multiplies exactly the per-agent setup that the survey flags. Every new app becomes one more place a key can leak.
The fix is not a slower queue. Strict review gates leave business teams waiting and push experimentation further underground. The fix is a platform where the safe path is also the fast path, with the controls built in so that review effort goes to the decisions that need a human.
For a fuller look at the security failure modes, see our guide to vibe coding security and the citizen developer operating model that pairs business builders with IT oversight.
A governed software factory operating model
A governed factory automates repeatable work and keeps people accountable. It needs a small number of named roles, a risk classification, and gates that match the risk. Two references are useful as vocabulary. The NIST AI Risk Management Framework is voluntary guidance organised around four functions: Govern, Map, Measure and Manage. The NIST Secure Software Development Framework, SP 800-218, offers high-level practices for building security into the software development life cycle. Neither endorses any vendor or the model below. They are useful because they frame risk as something you manage per system.
Roles
- Business product owner: names the process, owns the outcome, answers for the app's behavior and signs off on changes.
- Platform or IT steward: owns the platform, the approved connectors and their scopes, and the deployment and retirement process.
- Security reviewer: reviews apps in the higher tiers, checks data class and access, and can block a launch.
- Human approver: the named person who approves individual high-impact actions at runtime, such as an external message or a financial write.
The four risk tiers
- Tier 1, read-only and internal. Criteria: reads internal systems, writes nothing, touches no regulated data. Permitted automation: full, including scheduled runs. Human decision: the owner signs off at launch. Example: a weekday summary of new Jira issues.
- Tier 2, reversible writes. Criteria: writes to internal systems, and every write can be undone. Permitted automation: deterministic writes inside approved scopes. Human decision: the owner approves the design and the steward reviews the scopes. Example: tagging Jira issues and posting to an internal Slack channel.
- Tier 3, sensitive data or external commitments. Criteria: touches customer or financial data, or sends something outside the company. Permitted automation: the app prepares and the agent proposes, but a person approves each action. Human decision: security review at launch and per-action approval at runtime. Example: escalating a customer's conversation to engineering with account details.
- Tier 4, prohibited or exception only. Criteria: unattended money movement, deleting records of consequence, access beyond the owner's own role. Permitted automation: none on the factory. Human decision: an exception process outside the factory, with named executive sign-off.
Intake checklist
Every request starts with one record. Copy it into the intake form:
- [ ] Named business owner and a named backup
- [ ] Process described in one paragraph, with the systems involved
- [ ] Data sensitivity: what classes of data the app reads and writes
- [ ] Connector scopes requested, read versus write, per system
- [ ] Write actions listed, each marked reversible or not
- [ ] Rollback path: how to undo the last run
- [ ] Audit evidence: which events must be logged and who reviews them
- [ ] Operational support: who answers when it fails, and when it retires
Launch gate
An app moves to production only when the tier is assigned, tests have passed against a sandbox, approvals match the tier, credentials come from the central store and not from the app, the audit log is on, and the owner and steward have both signed the record. Anything else stays a prototype.

Figure 1: A governed factory keeps deterministic execution in the app, model judgment in the agent, and a person at the approval gate.
What this looks like on Major: build a governed factory
Here is the same operating model as a build. The example is the Jira and Intercom escalation case from our Jira-Intercom integration guide. It is an illustrative architecture based on that published use case, not a customer result, and the prompts below show the shape of a request, not guaranteed product behavior.
- Describe the app, agent and workflow in plain language. Write what you want as a short brief, naming the owner and the systems. You should see Major propose an app, an agent and a workflow as three named pieces you can review before anything runs.
- Select the connectors, connected once by IT. Pick Jira, Intercom and Slack from the connector catalog. IT connects each one a single time, and the credentials live in Major's central credential store, scoped per connector and never in code or prompts. You should see the connectors listed as available to the app without any key appearing in the build.
- Create the app that holds state. The app keeps cases, status, decisions and history in its managed database, with attachments in managed storage. Deterministic code matches conversations to issues and applies routing rules. You should see a cases table with a status column and a history table of every decision.
- Add the agent for the judgment step. The agent reads an ambiguous report and proposes a severity and a confidence score. It does not match IDs or route anything, since the app already does that reliably. You should see a proposed decision with a reason stored on the case.
- Configure approvals and human-in-the-loop. Low-confidence proposals and any external or high-impact action go to the named owner for approval, for example in Slack. You should see the case wait in a pending-approval state until the owner acts.
- Apply SSO, role-based access and audit. Users sign in through single sign-on, roles decide who sees and approves what, and every action is written to the audit log with who, what and when. You should see the audit trail for a test case from intake to decision.
- Deploy and run on the platform. Deployment and runtime are handled by the platform, with versioned deploys so a bad change can be rolled back. You should see a live app and a workflow running on its schedule or trigger.
- Monitor, review and retire through the owner. The owner reviews exceptions on a cadence, and the steward retires the app when the process ends. You should see an owner and a review date attached to the app record.
Two illustrative prompts:
Build an internal app that links Intercom conversations to Jira issues, stores the history, and asks an owner to approve escalations when confidence is low.
Create a workflow that summarizes new issues every weekday, proposes Jira routing, and posts only approved decisions to our team channel.
IT sees and controls everything that is built: which connectors exist, which scopes each app uses, who can approve, and what ran. That visibility is what lets IT say yes without becoming the bottleneck. The same pattern appears in other functions:
- Brex and NetSuite spend policy escalation: a finance control workflow built around review and exceptions.
- AppFolio and DocuSign lease renewal tracking: a legal and operations app with durable status and approvals.
- Plex part-shortage alerts: manufacturing exception handling with alerts to the right owner.
- ChartMogul MRR alerts into HubSpot: a RevOps monitoring workflow that writes to deals.

Figure 2: Autonomy is granted per action and risk tier, with the approval stage rising as the risk does.
Before you roll this out: a factory launch checklist
Treat the first rollout as an experiment with an exit, not a calendar commitment. The sequence below works as a 30, 60 and 90 day shape, but the order matters more than the dates. Expand only after evidence.
Pick one bounded workflow, ideally Tier 1 or Tier 2, with an owner who already feels the pain.
- Select a bounded workflow. Choose a process with clear inputs, a known owner and reversible actions.
- Baseline the current state. Record how long handoffs take and how often work is redone today. You will compare against this, so write it down before you build.
- Appoint the roles. Name the product owner, steward, security reviewer and approver by person, not by team.
- Classify the risk. Fill in the intake record and assign a tier before building anything.
- Pilot with least privilege. Start with read scopes and add write scopes one at a time as the tests justify them.
- Test the exception paths. Feed the app a malformed record, a duplicate event and a rate-limited response, and confirm each routes to a person.
- Approve production entry. Run the launch gate and keep the signed record with the app.
- Instrument audit and monitoring. Decide which events someone reviews weekly, and who.
- Review and expand on evidence. Add the next workflow only when the first one has shown shorter handoffs or less rework against your baseline.
Tie speed to things you can observe: fewer handoffs, less rework and reuse of an approved building block. Do not promise a number you have not measured. When a second team needs a similar app, the test of a working factory is that they start from the first team's approved app and connectors, not from a blank page.
What we are building at Major
Our answer is not more unattended code generation. We think the useful unit is a solved piece of repeatable work, captured as a governed, deterministic app that a person can inspect and an agent can run.
When an agent works out how to handle part of a task, it builds an app for that part and then runs the app instead of reasoning through the work again. The agent reasons once and the app runs forever. That is where the cost, the consistency and the audit trail come from. It is also why a governed factory can be fast: the repeatable work leaves the model, and the model keeps the judgment.
Three things are structural, not optional features:
- State. The app holds the data and history in a managed database, so work persists and resumes instead of living in a chat that ends.
- Permissions. Identity, role-based access and scoped credentials apply where the agent acts, so an action can be attributed and limited.
- Audit. Every decision and write is logged, which gives the steward and the security reviewer something to review other than a prompt.
None of this removes the model or replaces people. It gives accountable people better leverage: business teams describe what they need and ship it, and IT keeps the platform, the scopes and the approvals. We would rather a company run forty small apps with named owners than forty dark pipelines that nobody can explain.
Automate the repeatable work. Do not automate away the accountability for it.
Frequently asked questions
What is a dark software factory?
A dark software factory is a lights-out pipeline that turns requirements into code, tests it, repairs failures and sometimes deploys, with people defining tasks and reviewing results rather than directing each step. The term describes coding autonomy. It says nothing about who owns, secures or supports what the pipeline ships.
Why is a dark software factory risky for an enterprise?
The risk is not that automated coding is unsafe. It is that apps reach production without a named owner, scoped access, an audit trail or a path for exceptions. Each missing piece is cheap to add early and expensive to retrofit after dozens of apps are running.
How can business teams build apps without creating shadow IT?
Give them a platform where the safe path is the fast one. IT connects approved connectors once and scopes credentials centrally, every app has a named owner and a risk tier, and IT can see what exists and what each app can reach. Business teams build inside those boundaries instead of around them.
How does a governed software factory differ from a lights-out code factory?
The difference is who controls access, release, exceptions and ongoing operation. A governed factory still automates repeatable work, but credentials, approvals and audit sit on the platform, and a person decides at the risk points. A lights-out factory removes that person by design.
What should IT review before an AI-built app goes to production?
Review the data it touches, the identity and roles it uses, the connector scopes, the tests it passed, the audit events it writes, the rollback path, the named owner and who supports it. Higher tiers add a security review and per-action approval at runtime.
More use cases by tool: More DocuSign use cases, More HubSpot use cases, More Intercom use cases, More Jira use cases, More NetSuite use cases, More Plex use cases, More Slack use cases.
Start building on Major
Describe the app, agent and workflow your team needs, connect your tools once through IT-governed credentials, and ship with SSO, permissions, audit, database and storage handled by the platform. Your team moves quickly and IT keeps control of access and production.
Related articles
- How to Launch a Citizen Developer Program That IT Can Govern
- Citizen Development Governance: A Framework IT Can Enforce
- SOC 2 and AI-Generated Code: What Evidence Auditors Need
About the author
Ritvij Gautam is Head of Growth at Major.
Last reviewed December 1, 2026 by Ritvij Gautam.
Frequently asked questions
- What is a dark software factory?
- A dark software factory is a lights-out pipeline that turns requirements into code, tests it, repairs failures and sometimes deploys, with people defining tasks and reviewing results rather than directing each step. The term describes coding autonomy. It says nothing about who owns, secures or supports what the pipeline ships.
- Why is a dark software factory risky for an enterprise?
- The risk is not that automated coding is unsafe. It is that apps reach production without a named owner, scoped access, an audit trail or a path for exceptions. Each missing piece is cheap to add early and expensive to retrofit after dozens of apps are running.
- How can business teams build apps without creating shadow IT?
- Give them a platform where the safe path is the fast one. IT connects approved connectors once and scopes credentials centrally, every app has a named owner and a risk tier, and IT can see what exists and what each app can reach. Business teams build inside those boundaries instead of around them.
- How does a governed software factory differ from a lights-out code factory?
- The difference is who controls access, release, exceptions and ongoing operation. A governed factory still automates repeatable work, but credentials, approvals and audit sit on the platform, and a person decides at the risk points. A lights-out factory removes that person by design.
- What should IT review before an AI-built app goes to production?
- Review the data it touches, the identity and roles it uses, the connector scopes, the tests it passed, the audit events it writes, the rollback path, the named owner and who supports it. Higher tiers add a security review and per-action approval at runtime.