Skip to content

Pipelines

A pipeline is a workflow written as code, such as taking a bug report to a reviewed pull request. Each pipeline is one file in the team’s pipelines repo on the forge. The file lists stages. A stage is an agent’s turn, a command, an action on the forge, or a gate where a person decides. The server reads each file, checks that it loads, and records it as a version. A run always uses the version it started with, so changing a file never alters a run in progress.

Five pipelines ship with Agents. Each one names the agent that does its work, so a team can run a pipeline only when it has that agent.

  • bug-fix takes a bug report to a merged fix, or to a plan when the fix is large.
  • research-plan-implement takes a request through research, a plan and an implementation, with a person reviewing each phase.
  • improve changes another pipeline’s file and proves the change on past runs.
  • coach turns corrections people keep making to an agent into changes to its instructions and skills.
  • app-change changes a repo that has a policy. The runner checks every gate, and the repo’s owner approves the merge.