Software Factory
A research project to build software with as little human involvement as possible. Not by removing people blindly, but by handing over each step only once there’s evidence it can be trusted.
This site is the lab notebook: what we’ve learned, what we’ve decided, and what other software factories have already shown.
- Project
- Software Factory
- Kind
- R&D, no product yet
- Revision
- 16
- Updated
- 23 November 2026
- Documents
- 22
When can you stop checking?
Today, almost every step of building software ends with a person deciding it’s good enough: a reviewer approves the pull request, QA signs off, someone says go for the release. Those decisions are where trust lives.
Agents can already write the code. What they can’t yet do is earn that trust. So this project treats every human decision as a gate to be handed over one at a time, and only when the evidence (tests, checks, proofs, a track record) is strong enough to stand in for the person.
- 1Map the conventional processDoneWrite down every phase, element and human gate of how software is built today.
- 2Define trustNextWhat evidence lets us trust a step without a human checking it, how we measure it, and what levels of autonomy a step can be at (in the spirit of Shapiro's five levels, but applied per step, not to the whole factory).
- 3Map the factory processLaterFor each element of the conventional SDLC, decide what replaces it (agent, tool, automated check), what makes it trustworthy, and where a human stays.
- 4Design the architectureLaterThe agents, tools, queues, verification systems and records that make up the factory.
- 5Build it and raise autonomy step by stepLaterStart "lit", with humans at every gate, and turn the lights off one gate at a time as each one proves itself.
Progress so far
Every request and decision is written down as we go, so anyone can see how the project got here.
Where things stand
- Docs: the vision and history of software factories (SOFTWARE-FACTORY.md), the approach (PROCESS.md), and a baseline map of the conventional SDLC (CONVENTIONAL-SDLC.md).
- Website: the public lab notebook in
apps/website, built from this vault at build time (see decision 0008). It covers the idea, progress so far, the conventional SDLC, other software factories and the library, plus a newsletter sign-up that works before the API exists (0009). Not deployed yet. - Case studies: seven software factories with results, tooling and autonomy levels, in case-studies/.
- Moodboard: 12 images in design/inspiration/, pointing to a cobalt "one ink on paper" direction that mixes blueprint/isometric technical drawing with engraved illustration.
- Context vault: this Obsidian vault, with a request log and decision records.
- Agent setup: root
AGENTS.md(imported byCLAUDE.md) andscripts/process-inspiration.py.
Next
- User reviews CONVENTIONAL-SDLC.md against their own experience.
- Define the trust model (
TRUST.md): what evidence lets a step run without a human, and the autonomy levels per step. - Map the factory process: what replaces each conventional element and gate.
- Deploy the website, and connect the newsletter API when it exists (set
NEXT_PUBLIC_NEWSLETTER_ENDPOINT).
Log
- 16Better root README with a themed banner63ac2cb
- 15Add a pre-push hook that builds and checks the apps122ba7c
- 14Build the website7448562
- 13Check everything is committed
- 12Add Lauren Tan's agent setup to the software factory docb23823d
- 11Request log, decisions, and an Obsidian vaulta3c6cd3
- 10Give new sessions the context via CLAUDE.md / AGENTS.md8db9a6d
- 9Process 8 more images: strip metadata, rename with prefix and date9c22ef5
- 8Note that the project is R&D516970a
- 7Compress the first 4 images268d7c0
- 6Moodboard folder62286ad
- 5Commit the Next.js website16d5f8f
- 4Software factory overview doc120f2bb
- 3Commit after each unit of work2608d13
- 2Document the conventional SDLC2608d13
- 1First look at the repo
Decisions
- 0001Run the project as R&D, with no monetisation plan yetaccepted
- 0002Document the conventional SDLC before designing the factoryaccepted
- 0003Build the website with Next.js in apps/websiteaccepted
- 0004Store moodboard images as metadata-free WebP with dated namesaccepted
- 0005Root AGENTS.md is the single source of agent instructionsaccepted
- 0006Commit each unit of work straight to main; never push unless askedaccepted
- 0007Use an Obsidian vault in docs/ for docs and project contextaccepted
- 0008The website is built from the vault's Markdown at build timeaccepted
- 0009Newsletter sign-up works before the API exists, without pretendingaccepted
- 0010Website art: code-drawn dot art, plus generated engravingsaccepted
- 0011A pre-push hook builds and smoke-tests every appaccepted
How software is built today
The starting point we’re moving away from: fifteen phases, each ending at a gate. Before anything can be automated, it has to be written down.
- 1Discovery and ideationStakeholders agree the problem is real and worth the investment.
- 2Requirements and specificationPRD review. Engineering confirms it is feasible; product confirms it is what was meant.
- 3Planning and estimationSprint planning or cycle kickoff. The team commits to a scope.
- 4UX and UI designDesign review, sometimes user testing of a prototype.
- 5Architecture and technical designDesign review or RFC approval. Big decisions get recorded as ADRs (see Part 2).
- 6Environment and project setupA new developer can clone the repo and run the app by following the README.
- 7DevelopmentThe developer believes the ticket is done, local tests pass, and a PR is opened.
- 8Code review and PR approvalRequired approvals (usually 1 or 2), all CI checks green, branch protection rules met, conversations resolved.
- 9Testing and quality assuranceTests pass, coverage thresholds met, QA or product signs off against acceptance criteria.
- 10Security and compliance checksNo unresolved critical findings; compliance controls satisfied.
- 11Build and continuous integration (CI)The pipeline is green.
- 12Release and continuous delivery or deployment (CD)Staging verification, release approval, then staged rollout (canary, blue-green, percentage rollout) with a rollback plan.
- 13Operations and monitoringSLOs met; alerts acknowledged and handled.
- 14Incident managementIncident resolved, postmortem written, action items turned into tickets.
- 15Feedback, analytics and maintenanceFeedback triaged into the backlog.
Where a person decides today
These are the gates the factory has to earn. Each one is handed over only when the evidence is strong enough.
- Problem worth solvingFounder or PM judgment
- PRD approvalPM and engineering agree on scope
- Design and RFC approvalTech lead signs off on the approach
- PR approvalPeer reviewer approves the code
- QA sign-offQA or PM confirms acceptance criteria
- Security reviewSecurity owner accepts the risk
- Release go/no-goRelease manager or PM approves
- Incident responseOn-call engineer diagnoses and fixes
- Backlog triagePM decides what feedback matters
Other software factories
The idea dates back to 1969. What has changed is who works the line. The dots show how much each factory runs without people, on Dan Shapiro’s five levels of autonomy.
- 1969
Japan's software factories
Large banking, telecom and industrial systems built with low defect rates and high reuse
The first organisations to run software development as a factory, with standard methods, reuse libraries, tools and measurement, applied to large teams of human programmers.
Level 0Tooling
- Standardised development methods and documentation
- Libraries of reusable components
- In-house tool environments (e.g. Toshiba's Software Workbench)
- Quality and productivity metrics
- Centralised training and management
- 2004
Microsoft Software Factories
Influenced model-driven development and Visual Studio tooling; heavy up-front cost limited adoption
Build a factory per kind of application, made of domain-specific models, patterns, frameworks and code generators, so developers assemble apps instead of hand-writing them.
Level 0Tooling
- Domain-specific languages and models
- Code generators and templates
- Visual Studio DSL Tools
- Guidance Automation Toolkit
- patterns & practices factories (e.g. Web Service Software Factory)
- 2017
Kessel Run and Platform One
Software shipped in days instead of years, with security approval built into the pipeline
In-house military "software factories" that pair small product teams with a shared, hardened DevSecOps platform, so code moves from commit to production quickly and safely.
Level 0Tooling
- Agile and extreme programming practices
- CI/CD DevSecOps pipelines
- Hardened Kubernetes platform
- Pre-approved, hardened container images
- Security approval built into the pipeline (continuous authority to operate)
- 2023
Factory's Droids
A commercial platform for running fleets of coding agents across an organisation's tools
Autonomous coding agents that take work from where teams already track it, with autonomy adopted gradually as each organisation becomes ready.
Level 3Tooling
- Droids (autonomous coding agents)
- CLI, web, desktop and Slack interfaces
- Linear and Jira integrations
- 2024
Devin
Internal Devin PRs grew from 154 in its best week of 2025 to 659 a week by early 2026 (self-reported)
An autonomous software engineer agent, now able to split a large job across many copies of itself and merge the results.
Level 3Tooling
- Devin (autonomous coding agent)
- Dynamic Workflows (one job split across several Devins, results brought back together)
- 2026
Lauren Tan's agent PR factory
About 11,000 agent PRs to production in a month, with roughly 0.5% reverted
One engineer shipping about 3,000 PRs a month by investing in the environment first, turning every correction into a deterministic check and spending most of the token budget on verification.
Level 4Tooling
- Lint rules and static analysis as the main guardrail
- Agents testing the running app through the Chrome DevTools Protocol
- A feature map to guide verification
- Property-based UI testing, TLA+ model checking, Lean proofs
- Fuzzing each build, with auto-merged fixes
- pstack (her open-source agent skills)
- 2026
StrongDM's software factory
Serious production software built with no human writing or reviewing the code
A "dark factory" where specs and scenarios drive agents that write code, run test harnesses and converge without human review, with trust coming from hidden scenarios and simulated services.
Level 5Tooling
- Attractor (non-interactive coding agent harness)
- Scenarios kept hidden from the coding agents, like a holdout test set
- Satisfaction scores instead of pass/fail
- Digital Twin Universe (clones of Okta, Jira, Slack, Google Workspace)
- CXDB (context store for agent histories)
The library
Everything we’ve written, straight from the project’s docs.
Case studies
Decisions
- 0001. Run the project as R&D, with no monetisation plan yet
- 0002. Document the conventional SDLC before designing the factory
- 0003. Build the website with Next.js in apps/website
- 0004. Store moodboard images as metadata-free WebP with dated names
- 0005. Root AGENTS.md is the single source of agent instructions
- 0006. Commit each unit of work straight to main; never push unless asked
- 0007. Use an Obsidian vault in docs/ for docs and project context
- 0008. The website is built from the vault's Markdown at build time
- 0009. Newsletter sign-up works before the API exists, without pretending
- 0010. Website art: code-drawn dot art, plus generated engravings
- 0011. A pre-push hook builds and smoke-tests every app