Docs
Get started

How a task runs

From the moment you start a task to the moment its pull request is ready, CodeBeast moves through a fixed set of stages. This page explains each one, what you see in the task's Details tab, and when it waits for you.

The stages at a glance

StageWhat happensNeeds you?
StartA cloud machine boots and your repository is checked outNo
ClarifyThe Planner asks questions about anything ambiguousNormal mode only
PRDThe Planner writes a brief (product requirements document)Normal mode only — you approve it
PlanThe brief is split into to-dos and ordered into wavesNo
BuildBuilders write the code for each to-do on its own branchNo
IntegrateThe branches are merged and a pull request is openedNo
ReviewThe Review agent comments on the diffNo
TestThe Test agent boots the app and checks it in a browserOnly if your app needs a sign-in

When review and test finish, the card moves to In Review on the Board.

Run modes: Normal and Auto

You choose a run mode when you create a task:

  • Normal — pauses for clarifying questions and for PRD approval. The plan then builds automatically.
  • Auto — skips the clarify and PRD approvals and goes straight from your description to building. Some screens (Slack, Linear, Beastmates) call this mode Autopilot.

Use Auto for well-defined changes and bug fixes with a clear error. Use Normal when the task is open to interpretation.

Clarify

The Planner reads your repository and asks about anything it can't decide on its own. The card moves to Needs Input and shows Needs your answers.

Reply in the task thread with your answers to continue. There are at most 3 rounds of questions, with up to 5 questions each.

PRD

Next, the Planner writes a brief describing what will be built. The card shows Needs your approval.

  • Approve it from the composer (this posts "Looks good — approved."), or
  • Describe what should change and click Send revision. A new draft is written, and you can revise as many times as you need.

Plan

Once the PRD is approved, the Planner turns it into a plan of to-dos (also called chunks). To-dos that depend on each other are ordered into waves: everything in a wave can be built at the same time, and each wave starts once the one before it is finished.

The plan builds automatically — there is no separate approval step.

Build

A Builder agent writes the code for each to-do on its own branch. How many to-dos in the same wave are built at once depends on the task's machine size:

MachineTo-dos built at once
t3.medium1
t3.large1
t3.xlarge2
t3.2xlarge3

The build is all-or-nothing: if any to-do fails, no pull request is opened and the task shows Build didn't finish. You can run the build again on the same machine.

Integrate

The Integrator merges every to-do branch into one integrated branch and opens the pull request against the branch you picked when creating the task. The Details tab shows "N branches merged into a pull request."

If merging fails, the task shows Integrate didn't finish and you can retry the merge without rebuilding. See Pull requests for branch naming and what the PR description contains.

Review and test

After the PR opens:

  1. The Review agent reads the integrated diff and lists findings.
  2. The Test agent boots your app on the task's machine and drives it in a browser, checking the flows from the plan.

Both results are posted together as one comment on the PR. Changes that only touch the backend skip the browser test. See Review & Test agents for how to read the comment.

After the PR

Review the pull request on your git provider and merge it as usual. Back on the Board, the task owner can click Mark done to move the card to Completed.

If a task fails or is stopped along the way, see Retrying failed tasks.

Limits
  • An organisation can have up to 5 tasks running at the same time.
  • A single build run can take up to 60 minutes.