Labels and the board
Labels are a small, fixed set. Two whole categories that would otherwise be labels are not labels here: they live in first-class GitHub fields instead, and labels are reserved for the axes those fields do not cover.
What is not a label
Section titled “What is not a label”- Kind of work is a native Issue Type (
Task,Bug,Feature,Epic), set on the issue itself, never atype:*label. It maps to the conventional-commit type the eventual PR carries:Task= ci/docs/chore/refactor/test/perf,Bug= fix,Feature= feat,Epicgroups a body of work. One field, filterable, with no parallel label to drift out of sync. - Priority is a single-select field on the Omniglass Project board
(
High/Medium/Low), never aprio:*label. It sorts and groups on the board, where planning actually happens, and the architect alone sets it.
Using a label for either would duplicate a field GitHub already models, and two systems for one fact drift apart.
What is a label
Section titled “What is a label”Everything left is one of three prefixed families. The prefix encodes the one distinction
that matters: does the label describe the issue (area:*, and tier:* and risk:* for
the dispatcher), or does it trigger automation (run:*)?
area:<subsystem> describes
Section titled “area:<subsystem> describes”The subsystem a change touches, named to match the glossary. The set grows as subsystems land; today:
area:foundation area:api area:storage area:auth area:identity area:fleet
area:collection area:ingest area:expr area:messaging area:ui area:assistant
area:outpost area:lab area:ci area:docs
Purely descriptive: it filters the issue list by subsystem. An issue can carry more than one.
tier:<seniority> and risk:<level> describe, for the dispatcher
Section titled “tier:<seniority> and risk:<level> describe, for the dispatcher”Two labels the dispatcher reads before it launches a fresh agent session on a ticket. Each ticket carries exactly one of each; the dispatcher’s lint refuses a ticket with none, two, or a value outside the set.
tier:jrtier:midtier:sr: the agent seniority a ticket starts at.jris mechanical work in one or two files;midis a slice with its own tests and docs;sris cross-cutting, a migration, an invariant, a new primitive. The dispatcher escalates a ticket that fails at its tier (jrtomidtosr), so the label is the starting rung, not a ceiling.risk:lowrisk:high:highmarks authorization, scope, secrets, the edge, a migration, a delete, anything an operator cannot undo. Arisk:highticket is reviewed as such, whichever tier builds it.
Who sets them. The filer, through the issue form: every form has a Tier and a Risk
dropdown, and ticket-labels.yml turns the answer into the label the moment the issue is opened
or edited (a GitHub issue form cannot apply a label from a dropdown by itself; the dropdown
renders its answer into the body under ### Tier and ### Risk, and scripts/ticket-labels.sh
reads those two sections and makes the labels match, removing a stale sibling of the same
family). An issue filed by hand or by an agent carries them directly (/file-bug applies them
with the create); the labeler leaves an issue with no such sections alone. Changing the label is
the same as changing the dropdown: edit either, and the other follows on the next edit.
The ticket contract
Section titled “The ticket contract”The dispatcher launches only on a ticket whose body a fresh session can work from with nothing else. That body has five sections, the issue-form headings exactly:
| Section | Holds |
|---|---|
### Goal | What the ticket achieves and how that is observed; for a bug, the symptom and what should happen instead |
### Spec | The behavior or change in detail: surfaces, permission and scope, the thin cut and what it defers; for a bug, the reproduction, the evidence and Found during #<n> |
### Acceptance criteria | A checkbox list (- [ ]), one testable criterion per line, at least one; the first is the test that fails before the change |
### Out of scope | What the ticket must not touch, naming the sibling ticket that owns it |
### Files likely touched | Paths as they are in the tree, one per line |
Plus exactly one tier:* and one risk:* label, and no epic label: an epic is never
dispatched, its sub-issues are. Every issue form (bug, feature, chore, docs, spike) is these five
textareas, each required, with the house questions folded into the section descriptions, so a
form-filed ticket passes the lint as filed. The lint itself is the dispatcher’s bin/ticket-lint;
a ticket that fails it stays where it is and the run says which section or label is wrong. The
contract was adopted under #1602
(ADR-1602); the open tickets filed before it were rewritten into the shape in the same pass.
run:<task> triggers
Section titled “run:<task> triggers”A label that makes CI do something when it is applied. The run: prefix is a two-way
promise: if a label runs automation it is named run:<task>, and if a label is named
run:<task> then applying it runs that task.
| Label | Applying it | Wired |
|---|---|---|
run:preview | spins up a live PR preview environment; removing it tears the preview down | yes |
run:demo | records the demos the PR body tags (demo: <id>) in CI, upserts one comment listing every demo, and writes each demo’s clip into the PR body’s Demo section | yes |
run:test | on a draft PR, runs the checks a draft skips (docs-build, docs-shots verify, migrations, the goreleaser snapshot) now instead of at ready_for_review; a ready PR runs them anyway | yes |
run:dev-gha | on an issue, has a Claude Code agent in GitHub Actions build the ticket into a PR (agents in CI); only a maintainer’s label counts, and the label comes off as the build starts | yes |
run:preview is live today (the PR previews guide covers it, and
preview-comment.yml is the workflow behind it). So is run:demo (demo.yml). Applying it
records the demos the PR is about, each on a runner and a lab of its own, in
parallel: exactly the demos its body tags in its Demo section (demo: <id>, a tape or a
walkthrough), plus any tape (scripts/demo/<id>.tape) or walkthrough script it adds or changes.
Nothing else fans out: touching the console, a recorder or the lab records no demo the PR did
not name (the nightly freshness run records every demo instead). A PR with no tag fails the run,
saying how to tag; demo: none (<reason>) records nothing. It then commits
each passing demo’s files under <id>/ to the PR’s own evidence ref, refs/walkthroughs/pr-<n>,
as a fresh tree (so a renamed or deleted demo leaves nothing behind) on top of the ref’s last
commit, and keeps one comment on the PR listing every demo and reaching its files by that
commit’s SHA: each demo leads with a Watch (scrubbable) link to its video through jsDelivr,
which serves it as video with range requests so the browser’s player seeks, then what plays on the
PR page (a terminal demo’s GIF; a walkthrough’s animated preview, then its poster and its captioned
stills folded below). The comment also links the run’s workflow artifacts (which keep a failed
demo’s partial output) and names any demo that failed (a demo is a test, so a failure fails its
job; a demo whose lab never came up is reported as that, not as a failure). The run also writes
each demo’s clip (its GIF or animated preview and its scrubbable link) into the PR body’s Demo
section, replacing only its own marked block. Why a ref rather than a branch is in
demos.
run:dev-gha is agent-build.yml, and it is the architect’s approval to build. A label from
anyone outside the maintainers team is taken off with a comment saying why.
run:walkthrough is run:demo’s earlier name, from when walkthroughs were the only demos. The
workflow still honors it, so a PR that carries it (or a re-run of a run it started) records as
before, and a PR’s existing walkthrough comment is found and updated in place rather than joined by
a second one. It is not a second task: apply run:demo. The run plays the branch’s own recorders,
so a branch cut before demos merges main first; the job says so if it has not. Retiring the old
name is #1136.
-
What it costs: nothing on main. The evidence never touches the PR branch, so a squash-merge carries none of it, and a default clone does not fetch the ref. It does sit in the repository’s object store on GitHub and in any mirror of every ref (a few MB per demo per run, video included), until
demo-prune.ymldeletes the ref 30 days after the PR closes. -
The PR’s checks: untouched. The run pushes only the evidence ref, never the PR head, so there is nothing to pull after a run and no check left un-run on the head.
-
What it records: the branch tip when the job runs, not the commit the label was applied at. The label stays on; re-run the job, or remove and re-add the label, to record the current head again, and the comment updates in place.
-
Merge conflicts: GitHub runs no
pull_requestworkflow on a PR with merge conflicts, so the label does nothing until they are resolved. -
Forks: fork PRs are skipped (their token cannot push).
run:build is retired, not reserved: the release build runs on every PR that touches its config, so it
has no task to run, and a leftover label of that name does nothing. run:test was retired the same way
(ruled on #214: a test outside the CI gate is a gate defect) and is back with a narrower task (#2309): a
ready PR still runs the full suite as the merge gate, and the label only lets a draft run the checks it
skips before it is ready. A run:<task> label is added in the same
PR that wires its workflow, never reserved ahead of it, since a label that silently does nothing
breaks the promise above.
The fixed set
Section titled “The fixed set”That is the whole taxonomy: a native Issue Type, the Project priority field, area:*,
tier:* and risk:* for the dispatcher, and run:*. The only kind-of-work labels left are bug and flaky-test, which the
regression-test gate reads alongside the Bug type; the other stock GitHub labels (enhancement,
good first issue and the rest) were removed, and there are no bare type:* or prio:*
labels. Adding a label means a new subsystem (area:*) or a new automation task (run:*); the
tier:* and risk:* sets are closed, they are what the dispatcher’s lint accepts; anything
else belongs in a field.
Two labels sit outside the taxonomy because a tool owns them: release-please marks its release
PR autorelease: pending and, once tagged, autorelease: tagged, and reads them to find the PR
to tag (cutting a release). Nobody applies
them by hand.
The board
Section titled “The board”The Omniglass project (org project #1) is the live status of the work. An issue holds the work itself; the board holds where it stands: filed, planned, being built, waiting on review, done. Before it was moved by a script, it held 27 stale items against 249 open issues, and status lived only in chat and in whether an issue was open. Now it moves at fixed points in the lifecycle, by one script the skills call and by GitHub’s own workflows, so reading the board is reading the state of the work.
The fields
Section titled “The fields”- Status is where the work stands:
Backlog(filed, not yet planned),Todo(planned next),In Progress(being built),In Review(its PR is open),Done(closed). - Priority is
High,Medium,Low, or blank. Blank means nobody has weighed it yet, which is what the Needs you view collects. - Iteration is a two-week window of planned work, defined in the field’s settings.
Who moves what
Section titled “Who moves what”Agents move Status, and only at fixed points, each a call written into the skill that owns the moment:
| The moment | The skill | The call |
|---|---|---|
| a definition is posted | /define-work | scripts/board.sh add <n>: Backlog |
| a finding is filed | /file-bug | scripts/board.sh add <n>: Backlog |
| a loop starts | /run-feature-loop | scripts/board.sh add <n> for each sub-issue, then set <definition> "In Progress" |
| a slice starts | /run-feature-loop | scripts/board.sh set <n> "In Progress" |
| the PR opens | /ship-slice | scripts/board.sh set <n> "In Review"; a dispatcher session leaves it to the dispatcher (below) |
| the day’s slice starts, then its PR opens | /autopilot | the same two moves, listed in the day report |
| an Actions build starts | agent-build.yml | scripts/board.sh set <n> "In Progress"; the PR’s link moves it to In Review |
The board’s own workflows move it too, and two of them meet those moves at the same moment, so each is pointed at the same status (the setup below):
| The moment | The workflow | The move |
|---|---|---|
| an item lands on the board, however it got there | Item added to project | Status Backlog |
a pull request is linked to the issue (closes #N in its body) | Pull request linked to issue | Status In Review, the move /ship-slice makes as well |
| the issue closes (its PR merged) | Item closed | Status Done |
| a pull request on the board merges | Pull request merged | Status Done |
an item’s Status becomes Done | Auto-close issue | closes the issue |
| an issue on the board gains a sub-issue | Auto-add sub-issues to project | the sub-issue joins the board |
The architect alone sets Priority and picks the Iteration. No skill writes either, and the script cannot write Priority at all: a Priority name given as a status is refused, and its tests fail on any call that touches the field. The architect may move any Status by hand as well, most often Backlog to Todo when planning.
The script
Section titled “The script”scripts/board.sh is the one way an agent moves the board, so nobody hand-types a field or
option id:
scripts/board.sh add 1191 # on the board in Backlog; an item already there keeps its Statusscripts/board.sh set 1191 "In Progress" # Backlog | Todo | In Progress | In Review | Donescripts/board.sh iteration 1191 current # the iteration running today (the architect's)scripts/board.sh show 1191 # its Status, Priority and Iteration- By name. It resolves the project, its fields, their options and the issue’s item by name each time it runs, once per run, so a renamed option fails loudly rather than writing the wrong one, and adding an option takes no change to the script.
- Idempotent. A second run reads what the first wrote and changes nothing
(
#1191 is already In Progress: unchanged).setanditerationput an issue that is not on the board there first, andadd,setanditerationrestore an archived item. - The board’s workflows first. An item it has just added gets its Status from the Item
added to project workflow a moment later, which would overwrite a move written first, so
the script waits for that Status to appear (up to
BOARD_SETTLEseconds, 6 by default) before writing its own.addkeeps whatever the workflow gave. - Done closes the issue. With Auto-close issue on,
set <n> Donecloses the issue as well as moving it, which is why no skill makes that move: merging closes the issue, and closing moves it to Done. - A dispatcher session leaves In Review to the dispatcher. The harness sets
AGENT_ROLEon every session it launches. With it set,set <n> "In Review"changes nothing, prints one line saying the dispatcher moves the ticket after its gate, and exits 0. The dispatcher moves a ticket to AI Review only while the board still saysIn Progress, so a session that moved its own ticket would strand it with no reviewer. Every other move, and every move withoutAGENT_ROLE, is unchanged. - In Review before it exists. Until the board has an
In Reviewstatus, a move to it lands onIn Progresswith one warning. - Errors a caller can act on. A token without the
projectscope, an issue the repository does not have (a pull request number is not an issue), a project it cannot see, and a status the board lacks each say so and what to do. It needsjqandghauthenticated with theprojectscope (gh auth refresh -s project), which is why a cloud sandbox with only the GitHub MCP tools cannot run it: a skill there names the move it could not make.
Its tests run with go test ./scripts/ (and so in make test-short) against a fake gh
that answers from the board’s field list as recorded, scripts/testdata/board/field-list.json,
and refuses any id the project does not have. They need bash and jq: a host without
them skips the tests and names the missing tool, and CI, which has both, fails instead.
When the board’s fields or options change, record it again, and the tests read the new ids
by name:
gh project field-list 1 --owner hyperscaleav --format json --limit 100 | jq . > scripts/testdata/board/field-list.json.
The views
Section titled “The views”Four saved views, each a tab on the project:
- Roadmap (roadmap layout, dates from Iteration, filter
is:open, sorted by Priority): the iterations as a timeline and what is planned into each. The architect plans here, dragging work between iterations. - Board (board layout, columns from Status, filter
-status:Backlog): the work in motion, one column per state, from Todo to Done. - Needs you (table layout, filter
is:open no:priority, grouped by Status): open work nobody has prioritized, the architect’s triage queue. It is empty when triage is done. - In flight (table layout, filter
status:"In Progress","In Review", grouped by Status, sorted by Updated, newest first): what agents are building, and in its In Review group, the PRs waiting on the architect’s review.
One-time setup in the UI
Section titled “One-time setup in the UI”A project’s built-in workflows can be configured only in its UI (the API can delete one, not set one), and so can a view’s grouping, sort and roadmap dates. The API could add the Status option and a view’s layout and filter, but the setup is one sitting either way, so it is done by hand, in the Status field’s settings and on the project’s Workflows page:
- Add the In Review status. In the Status field’s settings, add the option
In ReviewbetweenIn ProgressandDone. The script finds it by name from then on, and the fallback warning stops. - Item added to project sets Backlog, so an item lands where
scripts/board.sh addwould put it, however it was added. - Pull request linked to issue sets In Review (after step 1). It fires as the PR opens,
the moment
/ship-slicemoves the issue to In Review, so both writers agree and the script’s move is a backstop. Pointed anywhere else, the later of the two writes would win. - Item closed sets Done, and Pull request merged sets Done. Issues reach Done by closing; the second covers a pull request put on the board by hand.
- Auto-close issue on, knowing that a Status of Done then closes the issue.
- Auto-add sub-issues to project on, so a definition’s sub-issues follow it onto the board.
- Auto-add to project for the repository
hyperscaleav/omniglass, filteris:issue is:open, so every new issue lands in Backlog without a skill having to add it. It catches issues created or updated after it is enabled; an older issue goes on withscripts/board.sh add. - The four views above: a new view per tab, its layout, filter, grouping and sort, saved.
- Iterations. In the Iteration field’s settings, keep a current iteration defined:
scripts/board.sh iteration <n> currentreports that none is running until one is.