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.

An isometric factory drawn in dots: requests enter on a conveyor at the back, and finished work leaves through a trust gate, coming out verified.requests inagents buildtrust gateverified software out
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.

  1. 1Map the conventional processDoneWrite down every phase, element and human gate of how software is built today.
  2. 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).
  3. 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.
  4. 4Design the architectureLaterThe agents, tools, queues, verification systems and records that make up the factory.
  5. 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 by CLAUDE.md) and scripts/process-inspiration.py.

Next

  1. User reviews CONVENTIONAL-SDLC.md against their own experience.
  2. Define the trust model (TRUST.md): what evidence lets a step run without a human, and the autonomy levels per step.
  3. Map the factory process: what replaces each conventional element and gate.
  4. Deploy the website, and connect the newsletter API when it exists (set NEXT_PUBLIC_NEWSLETTER_ENDPOINT).

Log

  1. 16Better root README with a themed banner63ac2cb
  2. 15Add a pre-push hook that builds and checks the apps122ba7c
  3. 14Build the website7448562
  4. 13Check everything is committed
  5. 12Add Lauren Tan's agent setup to the software factory docb23823d
  6. 11Request log, decisions, and an Obsidian vaulta3c6cd3
  7. 10Give new sessions the context via CLAUDE.md / AGENTS.md8db9a6d
  8. 9Process 8 more images: strip metadata, rename with prefix and date9c22ef5
  9. 8Note that the project is R&D516970a
  10. 7Compress the first 4 images268d7c0
  11. 6Moodboard folder62286ad
  12. 5Commit the Next.js website16d5f8f
  13. 4Software factory overview doc120f2bb
  14. 3Commit after each unit of work2608d13
  15. 2Document the conventional SDLC2608d13
  16. 1First look at the repo

Decisions

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.

  1. 1Discovery and ideationStakeholders agree the problem is real and worth the investment.
  2. 2Requirements and specificationPRD review. Engineering confirms it is feasible; product confirms it is what was meant.
  3. 3Planning and estimationSprint planning or cycle kickoff. The team commits to a scope.
  4. 4UX and UI designDesign review, sometimes user testing of a prototype.
  5. 5Architecture and technical designDesign review or RFC approval. Big decisions get recorded as ADRs (see Part 2).
  6. 6Environment and project setupA new developer can clone the repo and run the app by following the README.
  7. 7DevelopmentThe developer believes the ticket is done, local tests pass, and a PR is opened.
  8. 8Code review and PR approvalRequired approvals (usually 1 or 2), all CI checks green, branch protection rules met, conversations resolved.
  9. 9Testing and quality assuranceTests pass, coverage thresholds met, QA or product signs off against acceptance criteria.
  10. 10Security and compliance checksNo unresolved critical findings; compliance controls satisfied.
  11. 11Build and continuous integration (CI)The pipeline is green.
  12. 12Release and continuous delivery or deployment (CD)Staging verification, release approval, then staged rollout (canary, blue-green, percentage rollout) with a rollback plan.
  13. 13Operations and monitoringSLOs met; alerts acknowledged and handled.
  14. 14Incident managementIncident resolved, postmortem written, action items turned into tickets.
  15. 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
Read the full map of the conventional process
From punch cards, to drafting tables, to agents on a line.

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.

  1. 1969

    Japan's software factories

    Hitachi, Toshiba, NEC, Fujitsu, 1969 – 1990s. Human factory.

    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 0

    Tooling

    • 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
  2. 2004

    Microsoft Software Factories

    Microsoft (Jack Greenfield, Keith Short), 2004 – c. 2010. Human factory.

    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 0

    Tooling

    • 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)
  3. 2017

    Kessel Run and Platform One

    US Air Force, 2017 – today. Automated pipeline, human builders.

    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 0

    Tooling

    • 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)
  4. 2023

    Factory's Droids

    Factory (factory.ai), 2023 – today. AI agents on the line.

    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 3

    Tooling

    • Droids (autonomous coding agents)
    • CLI, web, desktop and Slack interfaces
    • Linear and Jira integrations
  5. 2024

    Devin

    Cognition, 2024 – today. AI agents on the line.

    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 3

    Tooling

    • Devin (autonomous coding agent)
    • Dynamic Workflows (one job split across several Devins, results brought back together)
  6. 2026

    Lauren Tan's agent PR factory

    Grok Bot team, SpaceX AI, 2026. AI agents on the line.

    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 4

    Tooling

    • 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)
  7. 2026

    StrongDM's software factory

    StrongDM AI team, 2026. AI agents on the line.

    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 5

    Tooling

    • 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.

Follow the research

Occasional notes from the lab as the factory takes shape: what we tried, what worked, and what didn’t.