Skip to content

Stages

Add stages between Backlog and Done, choose where tasks wait, and move tasks from one stage to the next.

A stage is a column on your workspace board. Every board starts in Backlog and ends in Done. A new workspace has Implement and Verify in between. Add a stage when your process needs another step, such as a Spec stage before implementation or a Deploy stage before Done.

Each stage holds its own automations. When a task enters a stage, the automations there start.

Add the stage to the stages list in your workspace manifest. Its position in the list is its position on the board.

stages:
# Keep Backlog and the other exported stages here.
- id: deploy
name: Deploy
auto_advance: false
automations: []
# Keep the exported Done stage last.

Then plan and apply the change. You can also add, rename, reorder, and delete stages from Edit stages on the board.

Stage editor with Add stage, reorder handles, and Auto-advance off for Deploy to production

Each stage between Backlog and Done has an auto-advance setting.

Auto-advanceWhat happens
OnThe task moves to the next stage after the stage’s automations pass. If the stage has no automations, the task moves on right away. If the next stage is Done, SuperPlane closes the task as completed.
OffThe task stays in the stage after its automations pass, and also when the stage has no automations. It moves when a person or an automation moves it.

In a new workspace, auto-advance is on for Implement and off for Verify. New stages start with auto-advance on. Turn it off where a person decides, or where the task waits for an outside event.

Automations started by a pull request update don’t hold up auto-advance. If a task must not move before a check passes, turn auto-advance off and move the task from the automation that runs the check.

In a Prompt step, ask the agent to move the task. It uses the move_task agent tool. In a Bash step, use the superplane task move command:

Terminal window
superplane task move --next
superplane task move --previous
superplane task move --stage "Deploy"

The move takes effect immediately, so put the steps that must pass before it. --next and --previous follow the stage order the task started with.

A stage can hold a task until another system reports back. For example, a Deploy stage before Done:

  1. Turn auto-advance off for Deploy.
  2. Add an automation with the Task enters stage trigger that prepares the release, such as a checklist for the reviewer.
  3. Add a webhook automation to the same stage. Your deployment system calls it when the deployment succeeds.
  4. In that automation, ask the agent to find the waiting task from the request and move it to Done:
steps:
- name: Finish the deployed task
prompt: |
Read the commit SHA from the request body.
Find its task with superplane task get --commit, then move that task to Done
with superplane task move --task.

An automation run that a webhook starts has no task, so it names the task with --task. It can also find the task from a pull request URL with --pull-request.

Stage changes apply to tasks that leave Backlog afterwards. Tasks that have already started keep the stage order and auto-advance settings they started with.

Deleting a stage deletes the automations in it and cancels their unfinished automation runs. Backlog always stays first and Done always stays last.

  • A workspace can have up to 64 stages.
  • Stage names are unique within the workspace and 1 to 64 characters long.
  • In a custom stage, automations use the Task enters stage, Manual, or Webhook trigger. See Triggers.
  • The workspace manifest can remove only the stages you added.