# Firstmate for Herdr A Herdr window with a task board, read-only Files viewer, and a tab bar with PR and Board buttons. ![Firstmate for Herdr](preview.png) ## What you see A 268px left sidebar contains the workspace brand, spaces, agents, and footer. The main area has a 42px tab bar, a flexible active-tab pane, a hidden right panel, and a 28px status bar. When the panel is shown it takes two thirds of the row and the active-tab pane one third, so both narrow and widen with the window. The terminal pane uses a 1px `border` outline (radius 10) that switches to `accent` when focused; `fm-board` wraps its entire panel (including any open split viewer or inspector) in the same 1px radius-10 perimeter border so it switches between `border` and `accent` without layout shift when the Board or any of its text inputs holds keyboard focus. The tab bar sits on the chrome background and shows tabs plus PR, Board, Files, and Changes panel buttons; the PR button appears only while the layout's panel stack holds a `pr` block. The board shows the Today strip and the NEXT MOVE band at the top, then the task section. The task section holds a `Kanban | Chains` view toggle and a search field with a find icon above the task board (either Kanban columns or Chains swimlanes). Below the task section, one tab group holds `Commands` (command buttons and the Scout, Task, and Memo field), `Projects` (project rows, the add form, and pending requests), and `Checks` (the Registered checks list). Its tab strip carries the update and watcher status on its right. The Projects tab counts the Board requests Firstmate has not handled yet, such as Memos, as `N pending`, so they stay in view whichever tab is open. Clicking another tab shows it, and clicking the open tab folds the group down to its strip. The chosen tab and the fold are remembered. Its surfaces, borders, text, and status dots use the active Herdr theme; project badges use a three-letter abbreviation and a color of its own: a project gets the first palette color no other project holds when it is first seen and keeps it when others are added or removed, and its color is freed once a successful read finds it in neither the registry nor any card, so projects get distinct colors while free palette colors remain. When none is free, or local storage cannot be used, a project takes a color derived from its name and keeps it even after a color is freed; a project with a chosen color keeps its automatic color reserved for when Auto is chosen again; in those cases two projects can share a color. Each Board copy's text follows Herdr's terminal font size and grows with that copy's width. The board uses the Ledger look, which it shares with the separate PR viewer mod. Headings sit on a hairline instead of a filled strip, and Kanban columns are open lanes split by hairlines, each heading underlined in its column's status color. Every card has a 3px bar on its left edge in that color (red for a failed worker). Counts, task ids, project tags, priorities, and wait times use Geist Mono, which ships with Herdr, while the worker screen lines keep the terminal font. The Today strip shows five counts with one line under each. `Done today` counts finished backlog items whose merged, reported, or done date is today in Korea time. `Waiting on you` counts holds to answer now and shows the oldest one's wait, `Working` counts working cards and their background jobs, `Ready to land` counts cards in Review, with a PR waiting, or with a finished `local-only` branch waiting to land, and `Blocked` counts Blocked cards and how many failed. While a hold waits to be answered now, a NEXT MOVE band sits below the strip. It is a plain frame on the theme's background with a bar in the held (blocked) color on its left edge, and it shows the longest-waiting hold to answer now. Its first line names the card the decision comes from: the project tag, task id, and title, then the wait and its place among the holds to answer now. Clicking that card line switches to Kanban if needed, shows the card where a filter, search, or fold hides it, scrolls to it, and rings it in the held (blocked) color for 4 seconds or until `Esc`. That ring is the NEXT MOVE band's color, so it is not mistaken for the accent ring that hovering or selecting a card in a dependency chain draws. The hold's question follows in the normal text color; for a hold with a topic, the band shows the topic's shared question and options, as the Held column's topic box does. Holds are ordered by the backlog's hold-set time, else their filing date, with ties kept in backlog order. ## How it behaves Tab clicks select a tab, double-clicking its name starts rename, dragging a tab reorders it, and right-clicking opens Herdr's tab menu. The active tab has a close control, the plus button opens Herdr's new menu, and scrolling the tab rail changes tabs. The panel buttons select or hide their panel; the chosen panel is remembered per space. Todo, Queued, Working, and Done columns always appear. Held, Parked, Blocked, Paused, Review, and Unknown appear while they contain cards. The Held column draws its cards in up to three labelled groups, each with its card count and shown only while it holds a card: `Answer now`, then `Deferred`, then `Waiting on other work`. Each group starts with a hairline-ruled heading that carries its name and card count. The fleet snapshot's `hold_bucket` places a card: `live` is answered now, `dated` and `aged` are deferred, and `blocked` waits on other work. Only captain holds have a bucket: an `external` hold waits on other work, and a captain hold with no bucket is answered now. A deferred card that has a `hold_until` date shows it on its state row as `until -`, such as `until 12-01`. There is no Failed column: a task whose worker reported `failed:` sits in the Blocked column, marked with a red `Failed` label on its state row and a red border (and `failed` in red in the Dependency Inspector and on its Chains node), and keeps its detail text. Their heading rules and card bars (and a folded column's dot) use the theme's idle, working, blocked, done, and unknown colors as appropriate. Queued uses the theme's `ansi2` (green), distinct from Todo and Paused (`idle`), Done and Review (`done`), and Working (`working`). Held and Blocked use the blocked color. Parked uses the theme's `ansi5`, because a parked task waits on review activity rather than on the captain. A hold to answer now shows how long it has waited on its state row, such as `2h 14m` from a hold-set time or `3d` from a date. Clicking a column header folds it; below 720px wide the columns stack vertically and the board scrolls as one list. The board search matches task ids and the title, note, and decision text on cards, ignoring case. Enter or the find icon applies it: in Kanban each column then shows only matching cards, columns and cards holding a match open even when folded, and the current match gets an accent border; in Chains only lanes holding a match are shown, open even when folded, with non-matching nodes dimmed, and the `Independent` drawer opens to list only matching tasks. Pressing Enter or the icon again steps through the matches with an `n/m` count; fold and collapse clicks on cards, columns, lanes, and the `Independent` drawer do nothing while a search is set. Esc, or Enter or the icon with an empty field, restores the full board and the remembered folds. Cards show their project, priority when present, the task's state, and available detail. Firstmate's validation detail reads as short text such as `Validating: running`, `Waiting for a firstmate decision at review`, or `Checks passed · PR ready for review`, without run ids or the PR link, which the card shows separately, taking it from Firstmate's detail when the worker never reported one; other detail keeps Firstmate's own text without run ids, and shows the worker's last status text only when nothing else is left. The search still matches Firstmate's original detail text. Clicking a card header folds or unfolds it, selects the card, and moves keyboard focus onto the Board; the second press of a double-click there keeps the first toggle. Its question-mark icon puts the task id and full title into the Firstmate chat input without pressing Enter. Topic-group headers have the same icon for all their task ids and the group question. The board derives reverse dependencies (`blocks` and `blocksCount`), topological levels (with a cycle guard), cross-project joins, and connected chain components from `unresolved_blocker_ids` across all cards without changing the snapshot format. Cards in every column show `★ Blocks N →` when downstream tasks wait on them and `← Waits on …` when they wait on unfinished blockers; queued cards that still wait on other work are dimmed until highlighted. Hovering a card in a chain highlights its upstream, selected, and downstream cards by color without changing layout or dimming other work; clicking a dependency badge or the toolbar `Inspector` toggle selects the chain (adding `Upstream`, `Selected`, and `Downstream` labels), dims unrelated cards, and opens the Dependency Inspector showing the whole connected chain (upstream, downstream, parallel branches, and cross-project joins) grouped by level (`L0`, `L1`, …). The Dependency Inspector uses the right-hand `h_resizable` split slot only when the Board half beside it would still be at least 720px wide (about 1,090px for the whole Board); on narrower boards it pins a compact chain card between the search row and the columns instead, so the columns never squeeze unstacked beside it. Dragging the split divider keeps the split, and the Board half stacks its columns once it measures below 720px. Clicking a node in the inspector highlights that task, clears a project filter or search that hides it, shows its card, topic group, and column open for now without changing the saved folds, and scrolls its column's list to the card (or to its Held group), or scrolls the stacked board to its column on narrow boards; pressing `Esc` or clicking `Close` clears the selection and closes the inspector. The `Kanban | Chains` toggle beside the search field switches between Kanban (the default) and the Chains view, remembering the chosen mode locally. The Chains view groups unfinished tasks (`column !== "done"`) by connected dependency component into collapsible swimlanes ordered by most-blocking and deepest chain first (marking the top multi-step chain `CRITICAL PATH` and cross-project lanes `CROSS-PROJECT`), above an always-visible legend (`upstream`, `selected`, `downstream`, `cross-project`, and `L0…Ln = dependency level`): each hairline card shows its project badge, short task id, priority, title, status meta, PR link (`repo#number`), and compact live indicator; wide boards (`>= 720px`) align cards onto a `L0`…`Ln` level grid (spine on the top row, side branches below) joined by right-angle 1px connectors with rounded elbows and arrowheads (dashed across projects; a link that would pass through a card detours through the gap between rows instead), while narrower boards switch each lane to a vertical stepper with branch arms off the rail. Clicking a lane header folds or unfolds that lane, hovering or clicking a node highlights its upstream and downstream cards and edges by color and opacity without changing card sizes or positions, and clicking a node dims other chains and opens the card's detail below its lane (the full card, including Ask, Live strip, Held/open decision answering, `Open worker`, and `Files`; `Esc` or `Close` clears the selection). Unfinished tasks with no dependencies are placed in a collapsible `Independent` drawer at the bottom (collapsed by default and remembered locally), and search filtering applies in both Kanban and Chains views. Held decisions with the same explicit topic share a question and options; in the Held column a topic box is drawn inside each group that holds one of its cards. A card lists every decision its worker's status log still holds open, from the snapshot's `hints.open_decisions`, oldest first: the decision's verb (`needs-decision` or `blocked`) and key, its text up to 240 characters, and its options when the text has them. A detail line that would only repeat one of those decisions is left out. An unobservable worker uses recorded status evidence when available, otherwise it appears in Unknown. Cards with a finished worker and a review link show a PR waiting badge while the backlog and worker detail still indicate pending review; finished `local-only` ship tasks whose backlog item is not yet done show a Ready branch badge in the same slot and styling. Clicking a PR link on a card or a Chains node shows that PR in the layout's PR panel when the separate `herdr-pr-viewer` mod is installed in the Herdr home, following that mod's panel contract. It sets the shared value `herdr-pr-viewer.show` to the link, the card's task (` · `), its project tag and color, and the click time, which makes every click a new request. Then it selects the `pr` child of the panel stack and shows the panel. Without the mod, or in a layout without that panel, the link opens in the browser. The board does not query the forge to check whether the link has merged. Clicking an option of a held decision puts `[Board answer] :