Triage: how new issues are sorted
Triage gives each new issue labels and a risk tier on a Connected Computer, then moves the card on or asks you a Question.
What Triage does
Triage is the first step for every new issue. It adds Type, Area and Size labels and a risk tier, then moves the card on, or asks you a Question when it is unsure.
The five current Column Labels are triage, ready, in-progress, in-review and done. An open issue labeled triage, or with no column label yet, is in Triage. A sorted card gets planning, which still shows in Triage, or ready when its risk tier’s route has no planning step. ready waits for a Connected Computer.
When Triage runs
Triage runs only on a Connected Computer, as a Run with a Supported Agent signed in there. Where an Admin has turned on Automation for a private repository, it runs when a new issue arrives. Otherwise a member who may start Runs selects cards on the Board and presses Run Triage.
- The repository must be attached and trusted on that Computer.
- A card nobody is assigned to is sorted only on a Computer with Claim unassigned cards turned on. Unassigned and claimed cards explains this setting.
- A card that is already claimed, because a Connected Computer, a person using Take over or another agent is working on it, is left as it is.
- While no Connected Computer can take the Run, the card waits in Triage unsorted.
Unassigned and claimed cards
Claim unassigned cards is a setting on each Computer. When it is on, the Computer may claim a card nobody is assigned to, which assigns the card on GitHub to its Account Holder, the person whose Computer it is, with that person’s own GitHub sign-in. Triage itself neither assigns a card nor takes a claim, but it sorts a card nobody is assigned to only on a Computer with this setting on.
- The setting starts off. Only the Computer’s Account Holder turns it on, in Settings → Computers: open the Computer and use Claim unassigned cards under Work. The Computer confirms each change itself, so it must be online.
- If that page says claiming needs your opt-in at Connect, first run
trailside connect --claimon that Computer. - A card assigned to someone is sorted only on that person’s own Computer, whatever this setting says.
- In a Workspace where you are the only member, a card nobody is assigned to waits in Triage until one of your Computers has Claim unassigned cards on.
- In a Workspace with more than one member, Trailside cannot yet check whether a Computer uses business seats or API keys, so a card nobody is assigned to stays unsorted in Triage even on a Computer with Claim unassigned cards on. Turning the setting on, changing billing or signing in again does not change that. To sort the card, assign it to someone: Triage then runs on that person’s own Connected Computer.
- While a card waits like this, the Board shows Waiting to be sorted and says no Computer may sort it.
A claim on a card is something else: it says on GitHub who is working on the card. A card is claimed when a Connected Computer starts a Run on it after Triage, or when a person uses Take over on it, with the in-progress label and a claim comment on the issue. Other agents can claim a card the same way. Triage leaves a claimed card as it is. A claim ends when its work releases it or it expires, but the in-progress label is separate: Triage also leaves a card alone while it carries in-progress, so a card whose claim has expired or been released is sorted again only once that label is gone.
What it reads
The agent reads the issue’s title, body and comments, the repository’s labels, the titles and labels of up to 300 recently updated issues, and the risk-tier rules in .trailside/risk-tiers.json on the default branch.
It works in a throwaway, read-only copy of the default branch and changes no files. Its session is discarded when the Run ends.
Labels and the risk tier
Triage adds one Type label, one or two Area labels and one Size label (size:s, size:m or size:l), only from labels the repository already has, and only where the card has no label of that kind yet.
Every card gets a risk tier from T0 to T4: T0 Trivial, T1 Low, T2 Medium, T3 High and T4 Critical. The tier comes from the repository’s risk-tier rules; without a rules file it is T2. Triage may raise a tier, never lower it.
Some cards stay in Triage after sorting: cards labeled needs-info or type:proposal, cards with an open blocker or open sub-issues, and cards your Triage setup leaves alone by label or title word.
When Triage asks a Question
The Triage dial decides when Triage asks a Question instead of deciding: always, only when unsure or never. New Workspaces start on only when unsure, with a 70% confidence threshold.
- Which label fits, when it is less sure of a Type, Area or Size label than the threshold.
- Whether the card is a duplicate of another issue.
- Whether the card is too big for one Run and should be split.
- With always, whether to move a card it is sure of on, or keep it in Triage.
To ask, Triage posts one comment on the issue with the Question and its choices, and adds ready-for-human. Labels it is sure of are added at the same time. The card shows in Needs you, marked Triage asks.
With never, Triage asks nothing and sorts every card with its best judgement: it adds the Type, Area and Size labels it judges best even when it is unsure, a card too big for one Run moves on with size:l, and a likely duplicate stays sorted in Triage.
Only an Admin changes the dial, on Skills → Triage. A change applies to new Runs; a Run already dispatched keeps its earlier setting.
Answer or override
Answer a Triage Question in Needs you on the Board. Your own Connected Computer posts your answer as a comment on the issue, and Triage then runs again with your choice.
A reply on GitHub is not a choice: Triage applies only a choice made in Needs you.
Triage itself never closes an issue, splits it or marks it as a duplicate. To do that, use Mark as duplicate or Split into tasks on the card.
To change what Triage chose, use Override tag or Raise tier on the card. Only an Admin can use Lower tier. Your Connected Computer makes these changes on GitHub; Trailside’s service never writes to GitHub.
Counts on Skills → Triage
Skills → Triage shows counts for your Workspace. They change nothing on the Board.
- Labels: how many open cards carry each Type, Area and Size label, and how many have none.
- Risk tiers: how many open cards carry each tier, counted at their highest tier label, and how many have no tier label.
- What happened next: for the last 30 sorts, Sorts, Right first time, Corrected, Asked, Tier raised later, Marked as duplicate, Split and Sent back to Triage, for the live and previous Triage Skill versions.
From there you can retake the Triage interview, see the Triage dial and, as an Admin, review your repository’s risk-tier rules through your own Computer.
What Triage never does
Triage writes to GitHub only one Question comment and one change to the issue’s labels, and only from a Connected Computer.
- It never merges a pull request.
- It never closes, splits, assigns or edits an issue, and never creates labels.
- It never lowers a risk tier.
- It never runs without a Connected Computer.