Skip to main content
Early Access. Commands and behavior can change between releases.
A Software Factory works from your board. Each issue it picks up becomes a run: the run plans the change, builds it, has it reviewed and lands it, and waits for you at the gates your policy sets. This page is the map; each section links to the full guide in the Factory docs.

Connect a board

The board is named in .architech/factory/factory.yaml, together with your repositories and policy.
  • A GitHub Project owned by an organization. Address it by owner and project number, and map the Factory’s statuses to your Project’s columns with statusMap.
  • A repository’s issues. A Project owned by a personal account can’t be bound to a Cloud Factory, so a personal account uses the repository’s issues as the board. Status then lives in status:* labels.
  • A Linear team. On Mutagent Cloud a board can also be a Linear team. Connect the Mutagent app for Linear with architech factory integrations connect linear --wait, and map the Factory’s statuses to the team’s workflow states; the code still goes through GitHub. See Linear.
An item in triage never starts a run, so don’t map triage to the column new work lands in. On Cloud, architech factory push binds the board and links the repositories the GitHub App can reach.

Configure your Factory

Boards, status maps, repositories and labels in factory.yaml.

Factory on Mutagent Cloud

Connect GitHub, push the file, bind the board and turn the Factory on.

Start a run

A board event starts a run at plan when it matches an enabled trigger of an enabled Factory (by default, adding a pickup label or assigning the item to the Factory) and the item is eligible:
  • it is open and on the bound board, outside triage;
  • it carries every pickup label (factory:pickup by default), or the fast-lane label in their place (on a Linear board, an assignment or delegation to the Mutagent app also takes their place when an active, non-app member of the bound team makes it and its webhook reaches the Factory);
  • no prerequisite check blocks it, such as an issue it depends on, and it is not already part of a running dispatch.
The Factory records why an event started nothing; on a GitHub board, an item parked in triage or missing from the board gets a comment saying so. To start a run without a board item, name the request and a repository from your Factory configuration:
Other events can start work too, such as failed CI on a pull request branch. See Routines and triggers.

Follow a run

runs show lists each stage and any open questions. In the web app, the Factory page shows the Factory’s overview, analytics, board and fleet, and Inbox shows what is waiting on you. By default, a work item keeps one shared work session from plan to land. When its sandbox is idle, the session can park, and the Factory wakes the same conversation when a later stage or your answer needs it.

Operate the Factory

Follow a work item from pickup to merge, and know when the Factory needs you.

Gates

The default policy, calibrating, waits for a person on each ordinary plan and before every merge. A task of a spec a person already signed doesn’t wait for another plan approval. A qualifying fast-lane plan doesn’t either: the run was started by the fast-lane label, applied by a person (see who can decide), and its first plan is small, with one part and no planned path in a protected zone. A fast-lane label from someone who doesn’t count as a person still starts the run, but its plan waits for a person, and so does a revised plan. Other presets let small plans start on their own, or merge a reviewed pull request once CI is green on its exact head. See Approvals and merge controls.

When a run stops

A stopped stage asks a question with the actions it offers, such as retrying the stage, skipping a sub-item, resuming the session or rolling back to the last complete checkpoint. Answer with one of them:
The hold label (merge:hold by default) is for an item already picked up and worked on, with a pull request: it blocks the merge until a person removes it. To stop new work, architech factory disable <factory-id> --json turns off trigger-based pickup; runs already started continue. architech factory runs cancel "$RUN_ID" --force --json ends one run.

Answer a question

Give a decision, wait for a dependency, or defer planning.

Troubleshooting

Missed GitHub events, waits, provider problems and recovering work.