Aubergine

A factory: issues in, pull requests out, you at the gates

A factory here is an ordinary project: a canvas, a workflow that takes one issue from a plan to a pull request, a queue that gives each task a terminal and a working copy of its own, and two places where the work stops until you have looked. Nothing merges by itself.

What was tried. Every part of this is built and tested with stand-in terminals. With a real agent it was tried once, on 2026-12-04, as far as this: a task got its new terminal and its working copy, the agent was started there, and it stopped at its own question of whether the new folder is trusted. Each task's working copy is a new folder, so expect that question in each new terminal. A terminal whose agent was started and has not begun within twenty seconds says that it waits and is on your list; that part was tried with stand-ins only. No real agent has gone down the rest of the line, and the script that brings issues in was not run against a real tracker. Read it as a tool to try on a repository you can afford to make a mess in.

What goes down the line

The template Factory brings the workflow Issue to pull request. A task that takes it goes through these steps:

  1. Plan. The agent reads the issue and the code and writes what it will change. Then it stops: you approve the plan or send it back with a comment.
  2. Build and check. It makes the change on its own branch, in its own working copy, and runs the project's checks.
  3. A second look. A second agent is started in a terminal of its own, in the same folder. It reads the change and hands in a list of what it found. The first agent takes that in, as another reader's view and not as orders.
  4. A draft pull request. The agent pushes its branch and opens the pull request with its own tools, signed in as you. Then it stops again: you see the pull request and how its checks stand, and approve or send it back.
  5. Hand over. It marks the pull request ready and writes what was done. Merging is yours.

Aubergine calls no model, pushes nothing and merges nothing. Only a person approves: no agent and no API token can. An approval is a place where a well-behaved agent stops, not a lock, since an agent in your terminal runs as you. Nothing that fails is tried again by itself.

Start one

Make a project from the template, saying where your repository is, and give the project a line: the workflow and the kind of terminal that a task gets when you say yes to it.

aubergine project new "Line" --template app:factory --place main=~/code/your-repository
aubergine task line --workflow "Issue to pull request" --to new:Line
aubergine board --numbers

Tasks come in three ways: you write one on Runs; the agent in the intake terminal proposes one for each open issue you named, on a schedule that arrives switched off; or a small script of yours adds them through the API (examples/intake/issues.mjs in the repository). What an agent or a program adds waits for your yes. The last command prints how work went through: how many tasks were done, how long one took, how long runs waited for you and how often you sent one back.

Make it yours, and keep several

A factory is a project, so everything about it can be changed where it stands: the steps of the workflow in the editor (a change is a new version, and runs that are going keep theirs), the saved steps, the rules, the schedules, how many tasks run at once. Each project has its own queue, limit, rules and schedules, and the project menu switches between them, so a team's line and your own experiments do not mix.

Share one, with your team or with everyone

A project is written out as one file: its canvases, terminals, workflows, steps, rules and schedules, with no path, ID or credential of your computer and without its notes. Put it into a folder that is a library source, push that folder wherever you keep code, and anyone can add it by its address:

mkdir -p ~/our-factories
aubergine library export "Line" --whole-project --to ~/our-factories
aubergine library add https://example.com/our-team/our-factories.git

In their Library the project is listed like a workflow or a step. Installing it makes one thing: a template among their own, from which they make a project when they choose to. Their copy is theirs to change. When you publish a newer version, they are told that there is one and read the difference before taking it; nothing updates by itself. Aubergine fetches a source only when its owner asks, and never commits or pushes for you.

Read before you install. A factory from someone else is instructions that an agent will follow with everything it may do on your computer. Before anything is installed you are shown every word an agent would be told, and you accept exactly that text. That reading is the control, and the only one: nothing listed here or anywhere is checked by us.

Published factories

Factories that people have published as library sources. The name and the description are the publisher's own claims.

NamePublished byGet it
FactoryComes with Aubergineaubergine project new "Line" --template app:factory

No one else's is listed yet (2026-12-04).

To have yours listed, open a pull request on the repository that adds a row to this page with the address of your source and one line on what it is for. Being listed says only that the address was given to us; it is no recommendation.

Related: the queue, For you and schedules, working copies, security and privacy.

Up and running in five minutes

You need macOS with tmux 3.2 or newer and Node.js 22 or newer. brew install tmux node gets both.

npm install -g @meatgarden/aubergine

InstallRead the source