---
title: "Software factories Stack"
url: https://stackassay.com/stacks/software-factories/
updated: 2026-11-19
publisher: Stack Assay
license: https://creativecommons.org/licenses/by/4.0/
---

# Software factories Stack

Sold by Stack Assay: weigh what follows with that in mind. Prices: https://stackassay.com/pricing/

Text and data under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/): quote it with a link to the page.

Turns a labelled GitHub issue into a pull request written by one sandboxed coding agent, checked by a merge gate that never merges on green alone.

Status: available. Measured as of 2026-11-19. Track: [Software factories](https://stackassay.com/tracks/software-factories.md). Latest version 0.6.0 (2026-12-01); upgrade with `npm i @stackassay/stack-software-factories@latest`.

|  | The category | This Stack |
| --- | --- | --- |
| What it is | Coding agents wired into your issue tracker, CI and code review, so tickets turn into pull requests with little human help. | A small software factory that runs in your own GitHub repository, as a GitHub Action and a `factory` command. |
| What it does | Takes an issue, plans and writes the change, runs the tests and opens a pull request. Some add planner and reviewer stages or learn from past work. | Label an issue and one sandboxed agent works it. A merge gate runs your hidden checks, the agent’s tests and an optional whole-repo reviewer, then opens a pull request marked ready, flagged or blocked. A person always decides the merge. |
| Why you need it | Green tests are not enough. In the lab, agents’ own tests passed in every run, including two runs whose change was wrong, and reviewers that saw only the diff flagged 7 of 18 correct changes. | A gate that never merges on green alone. It runs hidden checks the agent never sees and the agent’s own tests, and you can turn on a reviewer that reads the whole repo. Every flag is explained to the person who decides. |
| What you are buying | A hosted service (Devin, GitHub Copilot coding agent, Cursor Automations, Factory, Warp) that runs your code on its machines, on its terms and its model bill. | Source you can read, running in your own CI on your own model key. It is Claude Code in a locked-down container, a gateway that holds the key, an offline grader and the lab’s cost meter. Defaults set by measured results, and the measurement itself so you can re-run it on your tickets. |
| Why now | The category moves monthly. New agents ship, one hosted product shut down in October 2026, and pipelines with more stages sell as more capable without evidence that they are. | Start on the shape the evidence supports (one agent per ticket did as well as a three-stage pipeline at a quarter of the cost) and keep your tickets, code and keys in your own CI whichever vendor wins. |
| Who it is for | Teams that want agents doing real tickets and need to trust what lands in review. | A team that wants agents on its backlog now, inside its own CI, with guardrails that were measured rather than assumed. |

### One ticket, start to finish

1. Someone with triage rights labels an issue. The ticket is the issue as it was when labelled, so a later edit cannot change what the agent sees.
2. One Claude Code agent works the ticket in a locked-down container with no secrets and no network except a gateway that holds your model key.
3. The gate runs your hidden checks (which the agent never sees) and the agent’s own tests, offline, and an optional cheap reviewer that reads the whole repo.
4. A pull request opens, as a draft if the gate blocked it, with what each check found and what the run cost on your key. A person decides whether it merges.

### Defaults, each set by a measured result

| Default | Why | Experiment |
| --- | --- | --- |
| One agent per ticket | A planner, builder and reviewer pipeline passed the same 18 of 18 tasks at 3.8× the cost. | https://stackassay.com/labs/factory/#pipeline-or-single |
| Never merge on green alone | Agents’ own tests were green in all 90 runs; 2 of those runs were wrong on the hidden check. | https://stackassay.com/labs/factory/#green-vs-correct |
| The reviewer, when you turn it on, reads the whole repo | Reviewers that saw only the diff flagged 7 of 18 correct changes. | https://stackassay.com/labs/factory/#review-agents |
| Tickets point to the doc with the rules | Thin tickets passed 16 of 18; tickets that named the doc passed 18 of 18. | https://stackassay.com/labs/factory/#spec-quality |

### Measured as an arm in its own lab

The same six tasks, sandbox, hidden checks and cost meter as every other option in the track, run on Claude Haiku 5.5.

| Measure | Value | Experiment |
| --- | --- | --- |
| Passed the hidden check (six tasks, 3 runs each) | 18 of 18 | https://stackassay.com/labs/factory/#stack-arm |
| Model spend per ticket to build the change | 0.48¢ | https://stackassay.com/labs/factory/#stack-arm |
| Model spend per ticket for the whole-repo reviewer | 0.50¢ | https://stackassay.com/labs/factory/#stack-arm |
| Changes the gate flagged for a person, each with a reason | 5 of 18 | https://stackassay.com/labs/factory/#stack-arm |

### Teams already doing this

Public accounts from companies that built this pattern themselves; figures as each source states them. These companies are not Stack Assay customers.

- **Stripe** (Payments): Stripe merges over 1,300 agent-written pull requests a week. Over 1,300 pull requests merged each week are written entirely by Minions and reviewed by people, up from over 1,000 a few weeks earlier. Source: [Stripe engineering blog, Minions: Stripe’s one-shot, end-to-end coding agents—Part 2](https://stripe.dev/blog/minions-stripes-one-shot-end-to-end-coding-agents-part-2), 2026-02-19.
- **Ramp** (Corporate cards): Ramp’s background agent wrote about 30% of merged pull requests within months. Within a couple of months, about 30% of all pull requests merged to Ramp’s frontend and backend repositories were written by Inspect. Source: [Ramp Builders, Why We Built Our Own Background Agent](https://builders.ramp.com/post/why-we-built-our-background-agent), 2026-01.
- **Airbnb** (Travel marketplace): Airbnb moved 3,500 test files in six weeks instead of a year and a half. About 3,500 test files migrated in six weeks against an estimate of a year and a half of engineering time; 75% were done in the first four hours. Source: [Airbnb Engineering, Accelerating Large-Scale Test Migration with LLMs](https://airbnb.tech/?p=366), 2025-03.
- **Microsoft .NET** (Developer platform): In the .NET runtime, two in three agent pull requests merged, and review stopped the rest. Over ten months, 535 of 878 agent pull requests in dotnet/runtime merged (67.9%, against 87.1% for the team’s own), with a median of about two days to merge. Source: [.NET Blog, Ten Months with Copilot Coding Agent in dotnet/runtime](https://devblogs.microsoft.com/dotnet/ten-months-with-cca-in-dotnet-runtime/), 2026-03-23. Microsoft owns GitHub, which makes the agent.

### What it needs

- A GitHub repository and Actions minutes
- Your own OpenRouter key, added as a repository secret
- Hidden checks for the rules that matter to you (optional; without them the gate flags every run)

### Set up, after `npm i`

```sh
npx factory init
npx factory image
npx factory doctor
```
