Trailside Docs
DocsRuns All docsMenu
DocsRuns

What happens in a Run

A Run is one Workflow that Trailside sends to a Connected Computer for one card. Its Steps plan, build, check and review the change, and hand the card back to you when they need a person.

Sample. Trailside is in development. These docs describe how the product is meant to work. The Sample Board uses fictional data and runs nothing.

Where a Run happens

Every Step of a Run happens on a Connected Computer, a computer you paired that is running trailside up. The Run works in a git worktree on a branch of its own for the card, uses a Supported Agent signed in on that computer (Claude Code or Codex) and writes to GitHub from that computer. The website decides what runs and never runs a Step itself.

While no Computer is connected, nothing runs and the card waits in its column.

Keep a Computer working while you’re away

The Steps, in order

A card goes through one Workflow in each stage. These are the Steps of the default Workflows for a T2 card, the default tier, in the order they run.

StageStepWhat it does
PlanningPlanReads the issue and writes a plan. The plan is posted on the issue, and the card moves to Ready.
ReadyPlan reviewChecks the plan and adds a short addendum. It never asks you anything.
ReadyImplementMakes the change on the card branch, following the plan.
ReadyChecksRuns the repository Recipe checks on that computer.
ReadyDescribeWrites the pull request description. The computer pushes the branch, opens the pull request and moves the card to Red team.
Red teamBrowser specsRuns the browser specs the plan names on that computer, at the reviewed commit. Their output goes to the review as evidence; a failing spec does not end the run.
Red teamRed team reviewReviews the pull request against the issue and the plan. Only a blocking problem fails it.
Red teamIndependent reviewA second review follows the red team review at every tier.

The stages are the Board’s Detailed stages. The Board’s four columns group them: Planning shows in Triage, Ready in In progress, and Red team in Review.

Board columns and stages

A passing review moves the card on to merging, which follows the Autonomy setting of your Workspace.

Merging into Done

Before Planning, Triage labels a new card and gives it a risk tier. Lower tiers run fewer Steps: T0 and T1 have no Plan review, T1 has no Describe Step, and T0 has no review Workflow.

Risk tiers and agents

Checks and retries

The checks are the commands in the repository Recipe, run on the Connected Computer after Implement. When the Recipe checks fail, Implement runs again with their output, up to 2 more times (once at T1). If they still fail, the Run hands the card back to you in Needs you.

If GitHub answers with a server error or times out while a Run fetches its branch, pushes its work or opens its pull request, the card shows Waiting · for GitHub to recover and starts again on its own. It waits 1, 5 and then 15 minutes, each measured from the latest failure, and its Steps run again from the last pushed head. After those three retries it stays in its column, where you can press Run. A refusal such as a 4xx is not retried.

These checks are separate from CI on GitHub. The Evidence tab of the card shows both: GitHub checks for the pull request, and the Recorded Steps of its Runs.

Review and re-plans

A failed review posts a Red Team Report on the issue and sends the card back to Planning. The next plan reads the report, and the card goes through Ready and Red team again. After 5 failed review rounds, the Run hands the card back instead.

A review can also list something only a person can confirm, such as a check on a real device. The card then comes back to you with that list, and the review does not count as passed until a person supplies that evidence.

Why a card is handed back

A hand-back means the Run stopped because it needs a person. The card moves to Needs you, and the Run posts a comment on the issue that starts with Trailside needs a person: and the reason, then lists the Steps it tried.

Needs you is a stage, not one of the Board’s four columns: the Board shows the card in the column that fits why it stopped, as listed under Board columns and stages. A card reopened from Done goes back to Triage instead, for a fresh plan.

Reopened cards

ReasonWhat it means
Open questionsThe plan or Implement needs a decision the issue does not settle. The questions show on the card in Needs you.
Waits on another issueThe plan or Implement found an open issue that has to land first.
Checks still failedThe Recipe checks failed after every retry.
Review rounds ran outReviews failed 5 times.
Evidence neededA review listed items only a person can confirm.
Already fixedThe plan found that the code already does what the issue asks.
A problem on the ComputerThe repository is not attached there or its Recipe is not trusted, setup failed, git has no commit identity, or the card branch does not merge cleanly with main.
A pull request is already openAnother branch already has an open pull request for this card.

Trailside also holds a card that was handed back twice, re-planned twice, or had three failed Runs in a row (a Run that ended before any Step, or failed after its Steps started), in one episode. It asks one question, Run this card again?, and does not pick the card up until you move the card back to Planning or Ready, which starts a new episode. Answering that question on the Board does not restart the card.

What to do after a hand-back

Open the card and read the hand-back comment on its issue. It names what stopped the Run and, for a problem on the Computer, the fix to make there.

  • Answer open questions in Needs you on the Board, or reply on GitHub.
  • For a wait on another issue, finish that issue first.
  • For a problem on the Computer, fix it there: attach the repository and trust its Recipe (Settings › Repositories), set a git commit identity, or merge main into the card branch and push it.
  • For failed checks or reviews, read the output or the Red Team Report. If the issue asks for the wrong thing, edit the issue.
  • Then move the card back to Planning for a fresh plan, or to Ready to build from the current plan.
  • When the card offers Retry, Retry sends it back to Ready. A card can be retried from the Board at most twice.

See how a Run went

The card page shows the Step its Computer last reported. Its Changes tab lists the files the Computer reported, and its Evidence tab shows the GitHub checks, the Recorded Steps and the Trailside review. Progress shows which cards a Run delivered on the first pass.

On Progress, First-pass delivery covers the last 20 cards that left Ready. A card is Delivered when a Run opened its pull request with no hand-back before it, Handed back after a hand-back, and Pending while it is still in progress. With fewer than 20 cards it says Too early. It does not judge CI or review.

The Board and Workflows