# Build a Software Factory with GitHub Issues and Actions

Create a GitHub Actions software factory, run an API change from issue to pull request, and test review, repair, documentation, and incident triage using agents.

Published: 2026-11-30
Tags: ai-agents, github-actions, automation, engineering-practices

---
import ProcessFlow from "../../components/ProcessFlow.astro";

While we don't have [Weft](https://github.com/woliveiras/weft), my Open-source, vendor-neutral Agentic Software Factory, I'd like to share what an agentic software factory is, how it works, and how to implement something similar to that in the cheapest and easiest way possible.

To understand how it works, let's create an agentic software factory using GitHub Issues and GitHub Actions. We'll see an example of a Golang's API for todo lists on GitHub using its infrastructure for work with agents.

The process will be similar to this: a GitHub issue asks for a limit on the number of todos an API returns. Add a label, and GitHub Actions turns the request into a draft pull request with implementation and tests. Separate jobs inspect the change, post findings, and can make one repair attempt on the same branch. You decide whether the result is ready to merge.

That boundary is the useful part. Generating code is only one step in software delivery. A working factory also carries context, runs checks, publishes evidence, limits what an agent can change, and leaves a merge decision with a maintainer. This post explains both the model and the implementation. It starts with the responsibilities of a factory, walks through the example repository, and ends with a controlled way to exercise code review, repair, and incident response.

## What is a software factory?

A software factory is a repeatable path from a work request to a verified change. The workflow defines what starts the work, who can authorize it, where it runs, which checks must pass, and what evidence reaches a maintainer. Coding agents handle the parts that need judgment about a specific issue or diff. GitHub Issues, Actions, and pull requests carry the work from one step to the next.

A factory is therefore not synonymous with an agent. A prompt that edits a repository may produce useful code, but it does not become a factory until the surrounding system defines inputs, permissions, verification, and human control. It is also not a CI pipeline with an agent attached. CI answers "does this change pass the repository checks?" A factory adds the operations around that answer: triage the request, create a proposal, obtain review, repair a specific failure, document the result, and escalate incidents.

The distinction matters for trust. The agent can inspect and propose a change. The workflow decides what it is allowed to see, read, write, and publish. GitHub records the issue, branch, commits, checks, and pull request as one auditable chain. The maintainer still owns the final merge decision.

<ProcessFlow
  label="From a software request to a merge decision"
  steps={[
    { stage: "GitHub Issues", title: "Define the work", detail: "Record the change and how to tell whether it works." },
    { stage: "GitHub Actions", title: "Build and verify", detail: "Run the agent on a checkout, then test the proposed files in a separate job.", emphasis: true },
    { stage: "Pull request", title: "Decide what ships", detail: "Read the diff, check results, and feedback before merging." }
  ]}
/>

The factory in this tutorial lives in a single repository. A maintainer releases issues and merges changes. Codex runs the role prompts. GitHub Actions enforces the event, file, and credential boundaries around those roles. The [coding-agent harness article](/posts/how-to-build-a-reliable-coding-agent-harness/) goes deeper into the execution and verification layer; you can check it later.

## How the GitHub software factory works

We'll separate the responsibilities into some GitHub roles:

- **Issue to Code** reads an issue and proposes implementation files plus tests.
- **CI** applies the proposal to a checkout and runs the repository checks.
- **Code Review** inspects the pull request and reports findings against the current commit.
- **QA** evaluates the proposed behavior and the tests that cover it.
- **Repair PR** consumes a failed check or review finding and attempts one scoped patch.
- **Documentation** updates the API documentation after application files merge.
- **Incident Response** creates or reuses an issue from a failed smoke test.

These roles do not share one generic prompt. Each role receives a purpose-built prompt and a narrower contract. The repository keeps [the prompts](https://github.com/woliveiras/github-software-factory/tree/main/factory/prompts) for Issue to Code, review, QA, repair, documentation, and incident response alongside the factory. You can check its content:

- [Issue to Code](https://github.com/woliveiras/github-software-factory/blob/main/factory/prompts/issue.md)
- [Code Review](https://github.com/woliveiras/github-software-factory/blob/main/factory/prompts/review.md)
- [QA](https://github.com/woliveiras/github-software-factory/blob/main/factory/prompts/qa.md)
- [Repair PR](https://github.com/woliveiras/github-software-factory/blob/main/factory/prompts/repair.md)
- [Documentation](https://github.com/woliveiras/github-software-factory/blob/main/factory/prompts/docs.md)
- [Incident Response](https://github.com/woliveiras/github-software-factory/blob/main/factory/prompts/incident.md)

Issue to Code has to return structured file contents. The verify job checks those paths before it publishes anything. Review and QA run independently on the proposed pull request. Repair can update implementation files, but it cannot change the tests or workflows that are supposed to verify it. That separation keeps a repair attempt from rewriting the evidence that triggered it.

GitHub supplies the control plane for this flow:

- **Issues** define the requested behavior and acceptance criteria.
- **Labels** authorize work and opt a pull request into repair.
- **Actions** starts roles, isolates execution, runs checks, and publishes evidence.
- **Branches** give each proposal an independent set of changes.
- **Pull requests** collect the diff, comments, checks, and merge decision.
- **GitHub Apps** provide an identity for verified writes, distinct from a maintainer's account.

The example is intentionally small. The application is a Go API, and the prompts operate inside a repository contract. The goal is not to prove that an agent can build an arbitrary product without supervision. It is to make one small software-delivery workflow observable and reproducible, from the label on an issue to the merge decision.

We develop the example through the same GitHub objects that the factory consumes. An issue describes the behavior, the agent opens a branch and draft pull request, CI and review evaluate that proposal, and a maintainer decides where it goes next. Documentation starts only after application code reaches the default branch. A failed laboratory check can create an incident issue, which follows the same Issue to Code path as a planned change.

## 1. Create your repository and establish a baseline

You'll need a GitHub account that can create a repository and install a GitHub App, Go 1.27, Python 3.11 or later, Git, the GitHub CLI, and `curl`. The hosted agent steps also need an OpenAI API key with access to Codex.

> I used OpenAI API Key, but you can change to another provider if you want.

Use the example repository as a template. The new repository gets the Go API, the workflows, and the role prompts. Choose an unused repository name and run these commands from the directory where you want the clone. Sign in with `gh auth login` first if `gh auth status` shows you need to. Keep this terminal for the Git and GitHub commands so the variables stay available.

Change `<my-software-factory>` for your repo name.

```sh
repo_name=<my-software-factory>
owner=$(gh api user --jq .login)

gh repo create "$owner/$repo_name" \
  --template woliveiras/github-software-factory \
  --private --clone

cd "$repo_name"
default_branch=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')
```

Check `python3 --version` in the same terminal. If it points to an older Python, select your Python 3.11 or later installation before running the baseline checks.

```sh
go vet ./...
go test -race ./...
python3 -m unittest discover -s factory/tests -v
```

All three commands should exit successfully. The Python suite deliberately runs a failing Go test against a seeded regression, then asserts that it failed for the expected reason. Look for `OK` in the Python suite's summary. You can run this baseline before adding credentials.

## 2. Trace the workflows you just installed

Open `.github/workflows/issue.yml`. The trigger registers interest in issue labels, and the job selects the label that delegates work.

```yaml
on:
  issues:
    types: [labeled]
```

The `factory` job runs when `FACTORY_ENABLED` is `true` and the new label is `agent-ready`. It calls the reusable `.github/workflows/agent.yml` with `role: issue`. The same reusable workflow selects different prompts from `factory/prompts/` for the other roles.

<ProcessFlow
  label="Jobs that turn a labeled issue into a draft pull request"
  steps={[
    { stage: "Trigger", title: "Match the label", detail: "The issues event starts Issue to Code." },
    { stage: "Prepare context", title: "Check who labeled it", detail: "Require write access and read the issue's acceptance criteria." },
    { stage: "Agent and verify", title: "Test the proposal", detail: "Codex returns structured file contents. A separate job applies them and runs the checks.", emphasis: true },
    { stage: "Publish", title: "Open the draft", detail: "The GitHub App writes the issue branch and opens a pull request." }
  ]}
/>

In `.github/workflows/agent.yml`, the **Prepare context** step writes the role prompt and event data to a file. The Codex Action runs `codex exec` on the checkout and writes a structured result as an artifact. These are the inputs that define that handoff.

```yaml
working-directory: source
sandbox: read-only
prompt-file: ${{ runner.temp }}/factory/prompt.md
output-schema-file: ${{ github.workspace }}/factory/schema.json
output-file: ${{ runner.temp }}/factory/result.json
```

The `verify` job validates the returned file paths and tests application changes in a network-disabled container. The job that publishes verified changes obtains the App token separately. Keep these boundaries when you change the prompts or test commands.

Each role leaves its result where the next step can find it.

<ProcessFlow label="How the workflow jobs hand off work">

```mermaid
---
config:
  flowchart:
    nodeSpacing: 24
    rankSpacing: 30
    padding: 10
---
flowchart TD
    accTitle: Handoffs between GitHub Actions roles
    accDescr: A labeled issue starts Issue to Code. CI, Code Review, and QA run on the draft. A maintainer merge starts Documentation. A failed smoke test opens an incident issue.
    Issue["Maintainer labels an issue"] --> Code["Issue to Code"]
    Code --> Draft["App opens a draft PR"]
    Draft --> CI["CI checks"]
    Draft --> Review["Code Review"]
    Draft --> QA["QA"]
    CI --> Merge["Maintainer reviews and merges"]
    Review --> Merge
    QA --> Merge
    Merge --> Docs["Documentation opens a draft"]
    Smoke["Failed laboratory smoke test"] --> Incident["Incident Response opens an issue"]
    class Issue,Smoke entry
```

</ProcessFlow>

The PR event starts CI, Review, and QA independently. Review and QA leave feedback against the same commit. A merge to the default branch starts Documentation if application files changed. A maintainer can send an actionable incident through the same issue queue by applying `agent-ready`.

## 3. Install a GitHub App and enable the factory

The App supplies the identity that opens and updates factory PRs. Its installation token lets GitHub start PR-triggered workflows automatically. PRs opened with a workflow's built-in `GITHUB_TOKEN` can leave those runs waiting for approval.

### Register and install the App

1. In your GitHub account, open **Settings → Developer settings → GitHub Apps → New GitHub App**.
2. Choose an available **GitHub App name**, such as `my-software-factory-app`, and set **Homepage URL** to your repository's URL. For the optional **Description**, you can use “Opens and updates pull requests for the software factory workflows.”
3. Leave **Redirect URI** and **Setup URL** blank. Keep **Expire user authorization tokens** selected. Leave **Request user authorization (OAuth) during installation**, **Enable Device Flow**, and **Redirect on update** unchecked. In **Webhook**, uncheck **Active**. You can then leave **Webhook URL** and **Secret** empty because Actions receives the events.
4. Under **Repository permissions**, set **Contents** and **Pull requests** to **Read and write**, and **Issues** to **Read-only**. Select **Only on this account** and create the App.
5. Open **Install App** and click **Install** next to your account. Choose **Only select repositories**, select your copy of the example from the dropdown, and click **Install**.
6. Return to the App settings. Copy the numeric **App ID** from **General** and use **Credentials → Key pairs → New key** to download the `.pem` file.

### Add repository credentials and labels

The template copy starts without repository secrets or variables. In your new repository, open **Settings → Secrets and variables → Actions**. Use **Secrets → New repository secret** for each secret and **Variables → New repository variable** for each variable.

| Kind | Name | Value |
| --- | --- | --- |
| Repository secret | `OPENAI_API_KEY` | Your OpenAI API key. |
| Repository secret | `FACTORY_APP_PRIVATE_KEY` | The entire downloaded `.pem`, including the `BEGIN` and `END` lines. |
| Repository variable | `FACTORY_APP_ID` | The numeric **App ID** from the App settings. |
| Repository variable | `FACTORY_BOT_LOGIN` | The slug at the end of the App's **General** settings URL followed by `[bot]`, such as `my-software-factory-app[bot]`. |

To save the PEM directly from the file, run this from your clone with the path to the downloaded key.

```sh
gh secret set FACTORY_APP_PRIVATE_KEY < "/path/to/private-key.pem"
```

Once the App is installed and the four entries are saved, enable the workflows and create the labels.

```sh
gh variable set FACTORY_ENABLED --body true
gh label create agent-ready --color 1D76DB --description "Delegate an issue to Issue to Code"
gh label create agent-repair --color FBCA04 --description "Allow one automatic repair on a factory PR"
gh secret list
gh variable list
```

If a label already exists, reuse it. Check that both secret names appear and the three variables are set. GitHub displays the secret names and keeps their values hidden.

## 4. Send the first issue through the factory

The template already supports filtering by completion. The new issue adds `limit` to `GET /todos`. That gives you a change to make on the current default branch.

Open `examples/todo-limit.md` before submitting it. The issue asks for a single integer from 1 to 100, with ID order preserved. It specifies a JSON `400` for invalid inputs and says to apply the completion filter before counting toward the limit. That last rule gives QA a concrete case where the order of operations matters.

```sh
issue_url=$(gh issue create \
  --title "Limit the number of todos returned" \
  --body-file examples/todo-limit.md)
issue_number="${issue_url##*/}"

gh issue edit "$issue_number" --add-label agent-ready
gh run list --workflow issue.yml --limit 5
```

GitHub may take a few seconds to register the run. If the listing is empty, run the list command again or refresh **Actions**. Open **Issue to Code** and wait for it to finish. A verified proposal produces a draft PR from `factory/issue-<issue-number>`. Its description links to the verification run and the issue. If the workflow was skipped because the label was applied before enabling the factory, remove the label and apply it again as a maintainer. If verification failed, open the **verify** job before retrying.

## 5. Inspect and test the draft

Once the draft exists, get its number, wait for its checks, and read the agent comments.

```sh
pr_number=$(gh pr list --head "factory/issue-$issue_number" --json number --jq '.[0].number')
gh pr checks "$pr_number" --watch
gh pr view "$pr_number" --comments
```

Expect three kinds of evidence. **CI** runs Go checks, the factory fixture suite, and workflow linting. **Code Review** reports actionable findings for the PR's commit. **QA** reports whether the existing tests cover the issue. If it proposes another test, the run includes a `qa-patch` artifact and the comment gives the check outcome. Read that outcome and the diff even when the workflow itself finishes successfully.

If **Review and QA** is skipped on a factory PR, check the exact login GitHub sends to the workflow. It should match `FACTORY_BOT_LOGIN`, including `[bot]`. The workflow also checks that the issue branch belongs to the same repository.

```sh
gh api "repos/{owner}/{repo}/pulls/$pr_number" --jq .user.login
```

In the recorded completion-filter run, the candidate Go checks passed and the full CI caught a duplicate import in a factory fixture. That difference is why this step waits for both the candidate checks and PR CI.

To check the proposed behavior yourself, check out the draft and start the API on a free loopback port. This example uses `8081`. If it is in use, change the port in both command blocks. Leave the server running in this terminal.

```sh
gh pr checkout "$pr_number"
go test ./...
go run ./cmd/todo -addr 127.0.0.1:8081
```

Once the server is listening, use another terminal to seed it with three todos and mark the first one complete.

```sh
api=http://127.0.0.1:8081

for title in First Second Third; do
  curl -fsS -H 'Content-Type: application/json' \
    -d "{\"title\":\"$title\"}" "$api/todos" >/dev/null
done

curl -fsS -X PATCH -H 'Content-Type: application/json' \
  -d '{"completed":true}' "$api/todos/1" >/dev/null

curl -fsS "$api/todos"
curl -fsS "$api/todos?limit=1"
curl -fsS "$api/todos?completed=false&limit=1"
curl -sS -w '\nHTTP %{http_code}\n' "$api/todos?limit=0"
```

| Request | Expected result |
| --- | --- |
| `GET /todos` | IDs `[1, 2, 3]`. |
| `GET /todos?limit=1` | ID `[1]`. |
| `GET /todos?completed=false&limit=1` | ID `[2]` because the filter runs first. |
| `GET /todos?limit=0` | HTTP `400` with a JSON `error` field. |

The [article on human approval in agent workflows](/posts/human-approval-agent-workflows-evidence/) covers how to decide what you need to inspect before approving an agent's change.

## 6. Merge the code and check the documentation

Stop the local server. After you have reviewed the PR and its evidence, mark it ready and merge it into the default branch.

```sh
gh pr ready "$pr_number"
gh pr merge "$pr_number" --merge
merge_sha=$(gh pr view "$pr_number" --json mergeCommit --jq '.mergeCommit.oid')
gh run list --workflow docs.yml --commit "$merge_sha" --limit 5
```

The commit filter selects the run for this merge. If the list is empty, rerun the last command once GitHub registers the push. **Documentation** compares the Go handlers and tests with `docs/api.md`. Expect a separate draft that changes `docs/api.md` and shows how to use `limit`, how it combines with `completed`, and when the API returns `400`. Review the examples against the HTTP checks above before merging the docs draft.

## 7. Exercise automatic repair on two disposable drafts

Repair PR is opt-in. As a maintainer with write access, add the `agent-repair` label to an open pull request from a factory branch. The workflow then checks whether the current commit has a trigger: a failed Go check or an actionable Code Review finding on a commit whose CI has passed.

If the evidence matches the current commit, the workflow sends the failure or finding to the Repair PR prompt and allows one repair attempt. A successful repair adds a commit to the same branch, which starts CI and review again. A failed repair or a mismatch between the evidence and commit leaves the decision with the maintainer.

<ProcessFlow label="How a repair reaches the original PR">

```mermaid
---
config:
  flowchart:
    nodeSpacing: 24
    rankSpacing: 30
    padding: 10
---
flowchart TD
    accTitle: Opt-in repair for a factory pull request
    accDescr: A failed Go check or a code review finding on a green commit can start one repair attempt. A verified patch updates the pull request. Otherwise the maintainer takes over.
    Fail["Failed Go check"] --> Repair["Repair PR checks label and commit"]
    Finding["Review finding on green CI"] --> Repair
    Repair --> Candidate["Propose and verify a patch"]
    Candidate -->|Pass| Commit["App updates the PR<br/>Checks run again"]
    Candidate -->|Failure or no patch| Human["Maintainer takes over"]
    class Fail,Finding entry
```

</ProcessFlow>

The workflow records one completed automatic attempt per PR. Repairs can edit existing Go implementation files. The existing tests and workflows stay outside the repair scope, and the maintainer owns the merge.

Create two issues so you can exercise the inputs independently. Give them different titles, such as `Repair exercise - CI` and `Repair exercise - Code Review`. Use the same issue body for both.

```text
Reject todo titles longer than 120 Unicode code points after trimming.
Apply the rule on POST /todos and PATCH /todos/{id}.
Return a JSON 400 for an overlong title and leave an existing todo unchanged
when a patch is rejected. Add HTTP tests for titles of 120 and 121 characters.
```

Label both issues `agent-ready` and wait for their first CI and review runs. Keep both drafts open. Use a different draft for each edit in the `GET /healthz` handler in `internal/todo/handler.go`.

| Draft | Change to push | Expected trigger |
| --- | --- | --- |
| CI | Change the HTTP status from `http.StatusOK` to `http.StatusCreated`. | The existing HTTP test fails. CI leaves a `go-check-failure` artifact. |
| Code Review | Keep HTTP `200` and change the JSON value from `"ok"` to `"error"`. | CI passes. A review finding about the response starts a repair from the review artifact. |

Replace `REPAIR_PR_NUMBER` with the draft's number, then make its edit at the indicated line in the sequence.

```sh
gh pr edit REPAIR_PR_NUMBER --add-label agent-repair
gh pr checkout REPAIR_PR_NUMBER
# Make the health handler edit from the table.
git add internal/todo/handler.go
git commit -m "Seed a health check regression for the repair exercise"
git push origin HEAD
gh run list --workflow repair.yml --limit 5
```

Look for the **Automatic PR repair** comment on the original draft. Use its links to identify the repair run and the check that triggered it. The general run list can include earlier runs or runs that completed without publishing a patch.

Confirm that the App added a commit to the draft's branch. The patch should restore HTTP `200` and `{"status":"ok"}`. Once you see the new commit, run `gh pr checks REPAIR_PR_NUMBER --watch` to check it. Review findings depend on the model. If the reviewer misses the second regression, the PR needs a maintainer's decision. Close the test drafts when you're done with the exercise.

In the recorded review test, CI passed before the repair and Code Review flagged the incorrect JSON value. In the CI test, `TestLifecycle` failed on HTTP `201`. Both repairs changed only the health handler, and CI passed on both new commits.

## 8. Turn a smoke-test failure into an incident issue

From the same clone, dispatch **Laboratory smoke** on the default branch with injection disabled.

```sh
gh workflow run smoke.yml --ref "$default_branch" -f inject-failure=false
gh run list --workflow smoke.yml --limit 5
```

Wait for the smoke run to pass. Then dispatch it again with injection enabled.

```sh
gh workflow run smoke.yml --ref "$default_branch" -f inject-failure=true
gh run list --workflow smoke.yml --limit 5
```

The second run should fail. It uses a loopback fixture that returns `503` and uploads a `smoke-report` artifact. Replace `SMOKE_RUN_ID` with the run number from the Actions URL and inspect the evidence.

```sh
gh run download SMOKE_RUN_ID -n smoke-report -D .factory/smoke-report
cat .factory/smoke-report/smoke.json
```

```json
{"path":"/healthz","expected_status":200,"observed_status":503,"simulation":true}
```

The successful smoke test can also leave a skipped **Incident Response** entry. Open the run triggered by the failed smoke test and wait for it to finish. Expect one issue titled `Laboratory smoke failure (<smoke-run-id>)` with a link to the failed run, the expected and observed status, and a reproduction note.

```sh
gh run list --workflow incident.yml --limit 5
gh run rerun INCIDENT_RUN_ID
gh run watch INCIDENT_RUN_ID --exit-status
gh run view INCIDENT_RUN_ID --json attempt,status,conclusion
```

Use the **Incident Response** run ID in the rerun commands. Check that the attempt number increased, the new attempt succeeded, and the same issue is still the only one for that failed smoke run. For a real actionable incident, add acceptance criteria to the issue before assigning it to Issue to Code.

## Conclusion

The factory is not a set of Go files to copy. It is a control loop: a maintainer authorizes work, an agent proposes a change, existing checks verify it, and GitHub records the evidence for a merge decision.

Keep your existing CI and bring over the event workflows, the reusable `agent.yml`, and `factory/`. Then adapt `factory/contract.py` to restrict the files an agent may change. Adapt `factory/workflow.py` and `docs.yml` to use your test commands, documentation target, and path filters. Update the smoke check to validate your application instead of the Todo API.

If you enable repair, make your pull request CI publish the failure evidence that Repair PR expects. Keep repair as a maintainer-controlled label and require the evidence to match the pull request's current commit.

Start with one issue that names one behavior and one observable check. That first issue should be enough to evaluate the implementation, the reviewer, and the repair without trusting a model's summary as evidence. Once that loop works, add more roles and more repository rules. Do not give the agent a broader factory until it has completed a small one.

## References

- William Oliveira. [GitHub Software Factory](https://github.com/woliveiras/github-software-factory). Public example and GitHub repository template.
- William Oliveira. [Implement issue #1](https://github.com/woliveiras/github-software-factory/pull/3). Recorded completion-filter pull request, merged November 29, 2026. [Review and QA run](https://github.com/woliveiras/github-software-factory/actions/runs/46257909393).
- William Oliveira. [Update the Todo API documentation](https://github.com/woliveiras/github-software-factory/pull/4). Draft documentation pull request from the completion-filter run, November 29, 2026.
- William Oliveira. [Laboratory smoke failure (46257307031)](https://github.com/woliveiras/github-software-factory/issues/2). Incident issue from the simulated failure, November 29, 2026. [Incident Response run](https://github.com/woliveiras/github-software-factory/actions/runs/46257333898).
- GitHub Software Factory. [Implement issue #6](https://github.com/woliveiras/github-software-factory/pull/8). Recorded repair from a Code Review finding, November 29, 2026. [Repair run](https://github.com/woliveiras/github-software-factory/actions/runs/46260159635).
- GitHub Software Factory. [Implement issue #7](https://github.com/woliveiras/github-software-factory/pull/9). Recorded repair from a failed Go check, November 29, 2026. [Repair run](https://github.com/woliveiras/github-software-factory/actions/runs/46260256048).
- OpenAI. [Codex GitHub Action](https://learn.chatgpt.com/docs/github-action). Product documentation.
- Warp. [How do you move from coding agents to a software factory?](https://www.warp.dev/articles/coding-agents-to-software-factory). Warp article, August 25, 2026.
- Manish Kapur. [What Is an Agentic Software Factory?](https://www.sonarsource.com/resources/library/what-is-an-agentic-software-factory/). SonarSource, article, November 2, 2026.
- Addy Osmani. [The Factory Model: How Coding Agents Changed Software Engineering](https://addyosmani.com/blog/factory-model/). Addy Osmani, February 25, 2026.
- Addy Osmani. [Software Factories, Light and Dark](https://addyosmani.com/blog/software-factories/). Addy Osmani, July 20, 2026.
- Zach Lloyd. [How to build a cloud software factory - self-improving code review](https://www.warp.dev/blog/how-to-build-a-cloud-software-factory-self-improving-code-review). Warp Engineering, July 15, 2026. A related example of a feedback loop for the reviewer itself.