bakers ui
bakers ui is bakers.build's terminal cockpit: it opens on My work, your open assigned tickets, and adds projects, ticket lists, ticket and run detail and conductors, all against one control plane.
This page covers how the cockpit connects and what each screen shows; a first walk-through is in Terminal UI.
Synopsis
bakers ui [target] [--ticket <id>] [--project <id>] [--run <uuid>] [--here]
[--view <mode>] [--config <path>] [--connection <id>]
[--workspace <name|uuid>] [--yes] [--print-config]| Option | Effect |
|---|---|
target, --ticket, --project, --run, --here | Open one thing; at most one per call (deep links) |
--view <mode> | How a ticket renders: full, teaser or board_card |
--config <path> | Connection file to use; wins over every other selector |
--connection <id> | Named connection from ~/.bakers/connections |
--workspace <name|uuid> | Workspace for this run only |
--yes | Never prompt for a workspace |
--print-config | Print the resolved connection and exit |
The renderer needs the Bun runtime that @bakers-build/addon-bakers-ui installs, so bakers ui re-runs itself under it (--print-config stays on Node); BAKERS_UI_NO_BUN=1 uses Node 26.1 or later with --experimental-ffi instead.
Which control plane answers
The connection selection order is shared with the CLI. Explicit selectors override the checkout selector and defaults.
When an unexpected server answers, bakers ui --print-config shows the connection file, its selection, base_url and bb_dir. Precedence in full: Connections.
Which workspace
Inside a checkout the workspace comes from project.workspace in the project config, otherwise from the connection; --workspace overrides both for one run. W opens the workspace picker, and Enter restarts the cockpit with --workspace set to the choice. The switch lasts for that run and writes no configuration file.
Navigation - six scopes
Navigation has six tab scopes. Tabbed screens show the bar for their current scope; compact ticket views, forms and run detail have no separate tab bar. Tab/Shift-Tab cycle the tabs of the current level, and a left click on a tab goes straight to it; tabs have no letter shortcuts.
| Level | Tabs |
|---|---|
| Root | My work · Projects · Members (workspace lead only) · Machines |
| Project | Overview · Tickets · Runs · Conductors |
| Ticket | Overview · Planning · History · Runs, plus enabled tabs such as Artifacts; a message addon is an Overview card |
| Workspace member | Overview · Tickets · Runs |
| Machine | Overview · Conductors |
| Conductor | Overview · Held work · Assigned · Log |
A list only opens. Enter (or a click) opens the row's own detail; no key acts on a row. The ticket Addons tab is the exception.
Run detail has no bar; Esc returns to the preceding screen. An addon places a tab with weight or before/after anchors: see Adding a screen as a tab and Addons.
Every bar is drawn in the same row, under the header box, and is clickable where it is drawn and only at its own level: on root Projects a click at the column where the project bar's Runs would sit is inert, because that bar is not there. On the ticket screen the same column may fall inside Runs, opening that tab, but still reaches no project screen. Workspace Member Overview shows the person's username, position and About me.
The root Members tab is available to workspace leads.
The ticket sections
Overview opens with links: the ticket's own web address, then its pull or merge requests, then its other links and its origin, each as one line * <URL> with the full URL written out. The URL is a terminal hyperlink (OSC 8), so the terminal opens and copies it; a terminal without hyperlinks shows plain text. Y still copies the ticket's address. links and Summary carry a Nerd Font icon; other fonts show a box. Below them comes the latest summary: the newest comment whose bb_comment_type is summary, the handoff that says where the work stands. It is a collapsible entry, a five-line extract until expanded, and "newest" is the History tab's own order. The type match is exact, so a ticket with no summary comment, a typo included, shows "No summary comment."
Latest spec, Latest plan and Latest test live on Planning under the same rules. Description starts expanded; collapsed it shows five lines, then … +N more lines. At 100 columns or wider a sidebar adds Details and Related: parent, sub-tickets, referenced tickets and Blocked by, one <identifier> · <title> row per blocker.
The header box keeps the identifier, title, labels, state, Assigned and Created by (the ticket's owner, unknown without one) on screen while the body scrolls.
The ticket's labels and its state are full-width rows of the header box, in that order under the title (Labels: agent:claude, State: working). Each is its own row rather than appended to the title, because a too-narrow terminal truncates a shared row and they would appear or vanish by terminal width.
A piped render has no header box, so State and Labels are sections of their own there.
Markdown bodies render as Markdown
Every Markdown body on the ticket detail (the description, the latest summary, spec, plan and test, and every comment) is rendered as Markdown within the terminal's capability: on Overview, Planning and History, and in bakers ui <id> | cat, where the parsed text prints without styles. Nothing else is parsed: state, labels, runs, links, branch rows and the cockpit's own marker rows stay plain.
Rendered: headings, **strong**, *em*, ~~struck~~ (dim), code, lists, quotes, rules and [text](url) (shown as text (url)). GFM tables, setext headings, reference links, footnotes and raw HTML are shown raw. __strong__ is raw too, because it cannot be told apart from __init__; write **strong**.
Fences, exactly. A backtick fence's info string may not hold a backtick, so ```code``` is not a fence: it is an ordinary line carrying a code span. A ~~~ fence has no such restriction. An unterminated fence loses its opening row along with every other fence row, and everything after it is fenced content to the end of that body, never past it. CRLF and a lone CR are normalised to LF before parsing, so a description typed into the web form renders identically to one written with Unix line endings. Only markers the renderer matched are removed; anything it cannot resolve comes back as written.
Runs
The ticket's Runs tab lists its runs as selectable rows, newest started first. Enter (or a click) opens the run detail: the ticket's address and its pull requests, one * <URL> terminal hyperlink each (a pipe prints them), state, timing, footprint (tokens, tool calls, agent turns), worktree and the full, scrollable Log and Error log.
The project and member Runs tabs list runs, newest first, 20 per page; Enter opens the run detail. A running or claimed run with a heartbeat older than 600 seconds, or a lapsed claim lease, shows as stale. Lists state N of M ticket(s): rows on screen of all rows matching the filters, M from the server's meta.count, or ? when it reports none.
Editing a ticket
On a ticket, e opens the ✎ Edit ticket popup: assignee, conductor, estimate, spent, Parent and Labels. Save (Ctrl+S) never writes the state. A closed ticket's popup is read-only.
Cancelling and restarting
Each cancel or restart asks first in the same confirmation dialog. Its buttons Confirm and Close (OK and Cancel for Restart runs) sit under the question, with the first focused. A Restart runs list starts with every ticket checked: ↑/↓ moves and Space checks or unchecks. ←/→ or Tab moves between them and Enter presses the focused one. Esc closes like Close and writes nothing. A refused write shows the server's message and keeps the dialog open.
| Key | Where | What confirming does |
|---|---|---|
x cancel ticket | Overview, Planning and History of a ticket that is neither done, cancelled nor closed | Writes only state: cancelled. |
x cancel run | Run detail, for a run in claimed or running, or the ticket's newest run when it failed | Sets that run to cancelled. |
r restart runs | Overview, Planning and History of an open ticket that is not frozen | Cancels the ticket's claimed or running runs and its newest run when that failed; the dialog names them, or says there is no run to restart. |
r restart runs | Overview of a machine you own, or of its conductor | Lists the tickets with such runs, all checked, frozen ones left out; OK cancels the runs of the checked tickets, noting cancelled by <you>: Restart runs (<level> <name>) in the error log, and each ticket gets one fresh run. Offline, cleanup and fresh runs follow its next start. |
Every cancel and restart goes through the site tools bakers_run_list (restartable) and bakers_run_cancel. If the tickets changed since the dialog opened, OK cancels nothing and asks you to open it again.
The conductor sections
Machines lists your machines with status, active runs and conductor count; Enter opens the machine: Overview (the same facts and host key, r Restart runs for the owner) and Conductors.
Enter on a Conductors row opens the conductor. Four tabs share one read of it:
- Overview: status, last-seen age, machine, project, workspace path, PID, and load
<current>/<max>of the shared host budget.sstarts andxstops a conductor of this machine (others are view-only);rrestarts its runs for the machine's owner. - Held work: its runs in state
claimedorrunning;Enteropens the run detail. - Assigned: its open tickets.
- Log: the tail of its
log.txtwhen this machine owns it, else a note that it runs on another machine.