Skip to content

Software factory fundamentals / Customize Factory stages

Customize Factory stages

Add custom stages to your Factory board and use auto-advance to control when tasks move to the next stage.

Customize the stages in your Factory pipeline to match how your team works. Use Edit stages to add steps such as a production deployment and choose where tasks wait for a decision. You need permission to update the Factory.

Open your Factory board. Select the Board view gear and choose Edit stages.

Factory board with the Board view menu open and Edit stages visible
Open the Board view menu to edit stages.
  • To add a stage, select Add stage, enter a name, and select Add stage again. The new stage appears before Done.
  • To rename a custom stage, select its title, enter the new name, and press Enter.
  • To reorder stages, drag a stage by its handle. Backlog and Done stay at the start and end of the line.
  • To delete a stage, select its trash icon. Before you save, check which automations run in that stage.

Warning: Saving a stage deletion deletes the automations that execute there and requests cancellation of their unfinished runs. Automations that execute in a stage you keep stay in the workspace.

Select Save changes. Review the summary, then select Save changes again to confirm. The saved board changes for everyone who uses this line. Select Discard and confirm to leave the saved configuration as it was.

Tasks that have yet to start use the saved configuration when they leave Backlog. Tasks already on the line use the stage order and auto-advance settings recorded when they started.

In Edit stages, set Auto-advance for each stage where tasks do work. Backlog and Done have no switch. Save and confirm your changes.

Stage editor with Add stage, reorder handles, and Auto-advance off for Deploy to production
Set Auto-advance separately for each stage between Backlog and Done.
Auto-advanceWhat happens
OnThe task moves to the next stage after all automations that run as part of the stage pass. If the stage is empty, the task advances immediately. If the next stage is Done, SuperPlane closes the task as completed.
OffThe task stays in the stage after its automations pass. It also stays if the stage has no automations. An explicit move can continue the task.

On the default line, Auto-advance starts on for Implement and off for Verify. New custom stages start with Auto-advance on. Turn it off when a task must wait for a separate decision or event.

Automations that run independently, such as those triggered by a pull request event, do not have to finish for auto-advance.

Use Add automation on the stage to define what runs there. Choose Build your own if the picker opens. Select the Manual trigger for an automation that a person starts from the task when it is ready to move.

In a prompt step, ask the agent to move the current task to the next stage. The agent uses the move_task tool. For a Bash step in the task’s automation, use the runner CLI:

Terminal window
superplane task move --next

The move takes effect immediately. Put any checks or approvals that must pass before the move ahead of this step. The next stage follows the order recorded for that task.

For example, add a Deploy to production stage between Verify and Done. Keep Auto-advance off in Verify. Configure an automation to move the task forward after the required checks and approvals pass.

Turn off Auto-advance in Deploy to production. Use an automation in that stage to prepare the release. After the automation passes, the task stays in the stage while the deployment runs. Configure a Webhook automation in the same stage to move the task to Done when your deployment system reports success. A webhook run starts without a task. Use --task to pass the key of the waiting task from the deployment event.

If PR Closure would close the task on merge before deployment succeeds, remove that automation from the Factory. Let the deployment webhook move the task to Done instead.

An open task in Deploy to production after its release preparation automation passes
The task stays in Deploy to production until the deployment automation moves it to Done.

For more on triggers and checks, see Automations.