# Noctua A dark Herdr window in neutral graphite, with no blue in the window around the terminal. Each space is a two-line card behind a two-letter avatar in one of 12 dusty colors from Sanzo Wada's *A Dictionary of Color Combinations*, lightened for a dark background and kept apart from the yellow, red and green that mark working, blocked and done. A new space takes the free color farthest in hue from the ones already in use. A dot on the avatar shows the agent's state, and the card says for how long ("working 30 min"). Tabs carry the session's name, the terminal keeps the ANSI colors of the Omarchy Noctua theme, and the folded sidebar, with rows that line up with the tab bar and the pane header, follows T3 Code. ![Noctua](preview.png) ## What you see Left to right, at zoom 1, theme `noctua` (`themes/noctua.json`: background `#212121`, foreground `#c4c4c4`, canvas `#121212`, chrome `#1a1a1a`, popover `#1d1d1d`, raised `#2b2b2b`, hover `#262626`, selected `#363636`, border `#2a2a2a`, input `#383838`, muted `#d6d6d6`, dim `#8f8f8f`, accent `#e0e0e0`, working `#e5c07b`, blocked `#e06c75`, done `#98c379`, idle `#8f8f8f`; ANSI from the Omarchy Noctua theme's `colors.toml`, with `ansi0` on the background). Every state is a step of gray: rest, hover `#262626`, selected `#363636` with white text; a toggle that is on (Files, Changes) takes the selected fill too. No system title bar. Terminal font: Geist Mono Noctua, Geist Mono with the text symbols it lacks (✔ ✖ ⚠ ☑ ⏸ and 83 more) drawn in one cell, so Claude Code's checked box reads `[✔]` in its green instead of a gray emoji over the `]`. UI font: the person's (Geist by default). - **Sidebar**, 300 px, background chrome, 1 px border `#2a2a2a` divider on its right. Top to bottom: - **Brand**, 66 px, drags the window, in the same lines as the tab bar and the pane header beside it. Row 1, 38 px: the Herdr logo (16 px), "Herdr" 13.5 px semibold white, and the fold button (panel icon). Row 2, 28 px: a Search field (24 px tall, canvas fill, 1 px input border, magnifier, "Search"; the picker's key from `keys.json`, e.g. `Ctrl Shift K`, shows only in its tooltip), a filter button (list-filter icon) and a + for a new space, both 24 px. New agents start from the + on the tab bar. A 1 px border closes the block at the pane header's line. - **Spaces**, 3 parts to the agents list's 2 of the sidebar between brand and footer at first; the line between them drags, and Herdr keeps where it was left. No label row: 6 px of space, then one card per space, 61 px each (57 px card, 4 px under it), 8 px in from the sidebar's sides, 10 px of space at the end. Each card, 10 px in, holds the space's **avatar** and two lines beside it, 12 px apart: - Avatar, 28 px, 6 px corners: two letters, 11.5 px weight 600, in the space's color lightened 12%, on that color at 16% over the card's fill. The letters: a name of more than one word (split on `-`, `_`, `.` or space) takes the first letters of its first two words (`crm-next` CN); a one-word name takes its first letter and the first consonant after it (`notes` NT, `dashboard` DS). The line box is as tall as the font, so the capitals sit in the middle (measured on 31 October 2026: 10 px above and 9 below in 28; the old 16 px monogram on a 16 px line box had them 1 px high). The state seal sits on its bottom right corner, 3 px out: an 11 px dot in a 2 px cut-out of the card's fill (selected, hover or chrome, whichever the card shows). Blocked a red dot, done a green dot, working a turning yellow arc, idle and no agent nothing. On the top left corner, half out, a 12 px upright pin with no fill: always on a pinned space, white at 80%, turning into pin-off under the pointer; on another space only under the pointer, white at 50%. Clicking it pins or unpins without showing the space. The rail's avatars carry the pin of a pinned space too. - Line 1, 18 px: the name, 12 px (white on the shown space, muted on the rest), and at the right the branch: the git-branch icon in the space's color lightened 12% and the branch in Geist Mono 11 px dim. A space outside a repo shows no branch. When the space is blocked, working or done, the right side says for how long instead, in Geist Mono 11 px: "waiting 14 min" in red, "working 30 min" in dim, "done 4 min ago" in green (under a minute "<1 min", past an hour "2 h", past a day "1 d"); the branch then moves to line 2, before ↑↓, at most 90 px wide. - Line 2, 20 px: the shown tab's title, 13 px weight 500, white (muted when the space is idle and not shown): the tab's name if someone named it, else the title its agent set. Then ↑ahead and ↓behind, 11.5 px dim (no count of uncommitted changes: the Changes button on the tab bar has it), and on a repo with worktree spaces the worktree button at the end: 20 px tall, 6 px in, the 12 px fork icon and the count in Geist Mono 11.5 px, gray and with no fill; red while a hidden worktree is blocked; the `input` fill on hover and while open, with white text; closed over the shown worktree, the selected fill, the only mark of where you are. No program icons on the card. The shown space's card has the selected fill `#363636`; hover is `#262626`. A repo's worktree spaces are hidden until its button opens them: then they come down under its card as 28 px lines starting at the card's text column (58 px in), each the fork icon (12 px, dim), the name (muted, white when shown), its branch in Geist Mono 11 px dim (at most 84 px) and its state dot in a 16 px slot at the right; the shown one has the selected fill; 4 px of space after the last. With another machine known, spaces sit under a 26 px machine header (monitor or server icon, name or "This computer", +, a green or dim dot, a fold chevron). **Colors**, 12 powdery colors from Sanzo Wada's *A Dictionary of Color Combinations*, in the order spaces take them: `#dda8c8`, `#78b79e`, `#d6a582`, `#a5ae77`, `#aa9fd3`, `#8fc7c6`, `#b39fbf`, `#bab37c`, `#95c9a4`, `#caa1cc`, `#78c1b6`, `#e4ac92`. Each open space keeps its color unless another open space had it first; a space without one of these colors, or with a repeated one, takes the free color farthest in OKLCH hue from those in use (past 12 spaces, the least used). The old theme names (`ansi6`, `ansi3`…) move to this palette once, the first time the list draws. - **Agents**, the rest, 1 px border on top: Herdr's agents list with an Idle drawer. "Agents" label with a sort button (Priority or Grouped by space); in Priority, the list holds Pinned, Needs you, Done and Working, and Idle is a drawer fixed at the bottom, against the footer: a 1 px border on top, a 32 px head ("Idle", the count, a chevron up when closed and down when open), then its rows (at most 150 px, scrolling). Closed, it still shows the focused idle agent; open, all of them. Grouped by space keeps one section per space with its idle agents in it. Each row 30 px: the program's real icon, "space · task", time since its state changed, and its state dot in a 16 px slot. Sub-agents nest under their parent with tree lines. - Both lists scroll with the theme's scrollbar always shown, at 45% opacity (`#3b3b3b` on chrome, measured) and full while the pointer is over the list. - **Footer**, 36 px, border on top, 8 px taller than the 28 px status bar beside it on purpose, so its top border sits 8 px above the status bar's: Settings (with a 6 px accent square when an update is ready) and Machines as 30 px buttons with 18 px icons, 4 px apart, 6 px in, and the shown space's machine at the right in 13 px muted, 10 px from the edge ("This computer" for this one). - **Work column**, the rest: - **Tabs**, 38 px, chrome, drags the window. Tabs are docked: 140 to 260 px wide, 12 px in on the left, a 1 px border between them. Each shows its program's icon, its session's name by the rule of a space card's line 2 (the tab's name if someone named it, else the title its agent set, else the program's name), cut with an ellipsis, its state dot (9 px; nothing when idle) and a × that shows on the active tab or under the pointer. The active tab takes the terminal's background `#212121` and the foreground color, with no line under it and no colored border, so it runs into the pane; every other tab and the empty bar keep a 1 px bottom border. At the right: + (the new-menu), Files and Changes (28 px; the open one gets the hover fill, a 1 px input border and white text). When the shown space has uncommitted changes, Changes is followed, 8 px after the word, by the lines they add and remove: "+12" in done green and "−3" in blocked red, Geist Mono 11.5 px, 5 px apart, each only when it isn't 0; with none the button is the word alone. After them, then minimize, maximize and close where the system draws no window buttons. - **Panes**, on the canvas `#121212`, 6 px apart, no padding around them, no border, radius 0, framed even when alone. Each has a 28 px header: program icon, name (font medium), folder in dim, and its state dot (nothing when idle). The focused pane's header is raised `#2b2b2b` with a white name; the others are chrome with a muted name. A 1 px border under the header. Terminal padding 14 by 12. - **Side panel**, hidden until Files or Changes opens it: 368 px (280 to 900), 6 px from the panes, a stack of `noctua-files` and `noctua-changes`. Each is square and flush like a pane, on the `background` fill, with no border: a 28 px header on chrome (title 12 px medium in muted, then dim details; its 1 px border falls in the pane headers' line), rows of 28 px with 4 px corners (hover `#262626`, the open file selected with white text), and for Changes a file count chip (4 px corners, `input` border), +/− in green and red, and a commit row (8 px padding: a 28 px message field on canvas with an `input` border, dim when typing, and a 28 px Commit button in the solid fill). - **Status bar**, 28 px, border on top, thin; it doesn't line up with the 36 px sidebar footer, by choice: the focused pane's folder name (the full path in a tooltip) and its git branch, each with its icon in the shown space's color lightened 12% (the avatar's letters); the text stays muted. No machine (the footer beside it has it), no agents, no palette hint. ## How it behaves - Agent state has one mark everywhere (the space's avatar, the tabs, the pane headers, the agents list, the worktree lines): a red dot for blocked, a green dot for done, a turning yellow arc for working, a gray ring for idle in the agents list and on worktree lines (nothing for idle on the avatar, tabs and headers). The dot is 9 px in rows, 11 px on the avatar; the arc is 2 px wider. The card says for how long: blocked since its longest-waiting tab changed (`TabInfo.changed_at`), working since its earliest `working_since`, done since its latest `changed_at`; the times count up once a minute. A space and a tab show their most urgent agent: blocked > done > working > idle. - Brand: Search and the filter button open the space picker (`mod.open {name: "picker"}`); + runs `space.new`. The fold button turns the sidebar into a 52 px rail (76 on macOS) and back to the width it had. - Rail (sidebar under 160 px): the brand block keeps the Herdr logo, which turns into the panel icon under the pointer and opens the sidebar, and Search (on macOS the traffic lights take the first row, so both share the second); its bottom border is the thin line under them. Under it, the spaces block shows each space as its 28 px avatar with the seal in a 36 px slot, 4 px apart (the shown space, or a repo whose worktree is shown, on the selected fill; a repo's seal is the most urgent of it and its worktrees), then a + for a new space. Click an avatar to show the space, right-click for its menu, hover for its name. The agents block shows only, at its bottom, a 28 px wide line and the Settings (with the update dot) and Machines buttons; the footer keeps its top border, 8 px above the status bar's. - Spaces: ↑↓ on a card is a button: it opens the Changes panel on that space (on another space, noctua-spaces writes shared `noctua.panel.open` = `{space, panel, at}` and shows the space; noctua-tabs applies a request under 2 s old, once, on the first render that sees it). Click a card or line to show the space, drag one onto another to move it, right-click for Herdr's space menu. Hover a card for its pin button: pinned cards stay on top, with their worktrees, and keep a pin. A repo's worktree button opens and closes its worktree lines without showing the space; the open repos are kept in the mod's `localStorage` (`worktrees.open`) across restarts, all closed at first. Click a machine header to fold it; its + makes a space there. - Agents: click a row to focus its pane, hover for its pin, click a header to fold a group. Click the Idle head to open or close the drawer; the choice is kept in the mod's `localStorage` (`idle.open`), closed at first. - Tabs: click to show, drag onto another tab to move it, double-click to rename, right-click for Herdr's tab menu, wheel over the bar for the next or previous tab, × to close. Files and Changes toggle the side panel; the choice is remembered per space. The numbers on Changes are noctua-spaces' (shared `noctua.changes.lines`, `{ [space id]: { add, del } }`): it runs `git diff HEAD --numstat` (before the first commit, `--cached` plus the work tree), the source noctua-changes counts with, after its `git status` of a space finds changes, so they move when that does (an agent's turn or a command ends, a space moves, the repo's git folder changes, the 60 s fallback) and never on a render. Files git doesn't track yet add nothing, as in that numstat (the panel adds a new file's lines to its header only once you open it): a space with only new files shows no numbers. - Panes: click the header to focus the pane; on hover, split right, split down, zoom (or unzoom) and close show at its right. - Corners: every radius in the mods is 4 px (`const R = 4`). The pane frame radius comes from the layout file (0). ## Built from - `layouts/noctua.json`. Root: `row`, `"titlebar": "none"`, `"traffic_lights": [12, 16]`, theme `noctua`, background `canvas`, `terminal_padding: [14, 12]`, 1 px border divider. - `sidebar` column, 300 px (52 to 480), chrome, not resizable: `brand` block (66 px, `window_drag`, mod `noctua-chrome`), `sidebar-lists` column with `spaces` (`noctua-spaces`, weight 3) and `agents` (`noctua-agents`, weight 2), min 90 each, resizable: a drag lives in `layouts/.state/` and survives restarts, and nothing in the mods resizes them; `sidebar-footer` block (36 px, `noctua-chrome` with props `{ "footer": true }`). - `work` column, not resizable: `tabs` block (38 px, `window_drag`, `noctua-tabs`); `work-body` row (padding 0, gap 6) with `main` (`{ "tab": "active" }`, pane frame: gap 6, radius 0 or 4, background `background`, `lone: true`, border width 0, header `noctua-pane` 28 px on top, always shown) and `panel` (hidden column, 368 px, stack `panel-body` of blocks `files` and `changes`, mods `noctua-files` and `noctua-changes`); `status` block (28 px, `noctua-status`). - Mods, all `"place": "none"`, each started as a copy of Herdr's mod of the same role: - `noctua-chrome` (from `workspace-chrome`): brand and footer by `props().footer`. Holds the shared icons the others use (`mods/noctua-chrome/*.svg`: lucide `search`, `list-filter`, `square-pen`, `sidebar`, `settings`, `monitor`, `server`, `plus`, `minus`, `square`, `x`, `check`, `circle`, `spinner`, `pin`, `pin-off`, `git-branch`, `folder`, `folder-git-2`, `files`, `git-compare`, `terminal`, `chevron-*`, `clock`, `layers`, `fork` for git-fork; `dot-spin`, the working arc: a 270° stroke 4 on a 24 grid). Calls `keys()`, `updates()`, `spaces()`, `layout()`, `run("mod.open")`, `run("app.settings")`, `run("layout.resize")`, `openOverlay({ mod: "new-menu", kind: "popup" })`, `setShared("sidebar.width" | "sidebar.collapsed")`. Logo: `frame/welcome/herdr.png`. - `noctua-spaces` (from `spaces`): `spaces()`, `panes()`, `agents()`, `machines()`, `hc(["machine","ls","--json"])`, `exec("git", ["status","--porcelain=v2","--branch"], …)`, `git rev-parse` and, when status lists changes, `git diff --numstat` in each space's folder (on its machine), `watchFolder` on local repos' git folders, `run("space.select" | "space.move" | "space.new")`, a 60 s `cx.timer.every` that redraws the times, the `menu` popup. It lists spaces as groups, a card and its repo's worktree spaces, so a closed group draws only the card. Shared keys: `space.colors` (the key Herdr's spaces mod and picker read too; both take a `#rrggbb` as it is and only fill a space that has none), `noctua.spaces.pinned` and `noctua.changes.lines` (written only when it changed, and not on `herdr-app check`'s run with no spaces); folded machines and open repos (by git common dir) in its `localStorage`. - `noctua-agents` (from `agents`): Herdr's list with Noctua's radii, icon paths and state dot, the rail's Settings and Machines buttons (`updates()`, `run("app.settings")`, `mod.open machine-add`), and the Idle section of the priority view moved into the drawer; its sort menu reopens itself as `noctua-agents`. Shared key `agents.sort`; pins, state times and the drawer's open state in its `localStorage`. - `noctua-tabs` (from `tabs`): `run("tab.select" | "tab.move" | "tab.rename" | "tab.close" | "tab.next" | "tab.prev")`, `layout.show/hide/select` on `panel` and `panel-body`, the `menu` and `new-menu` popups, shared `workspace.panels` and `noctua.changes.lines` (read only); per-space panel choice in `localStorage`. - `noctua-files` and `noctua-changes` (from `files` and `changes`): Herdr's panels with Noctua's frame, header, radii and colors; the behavior is Herdr's. - `noctua-status` (new): shared `space.colors` for the icons, `focused()` and `panes()` for the focused pane's `cwd` and `branch`, the shown space's `folder` and `branch` when no terminal is focused; icons from `noctua-chrome`. - `noctua-pane` (from `pane`): `panes()`, `run("pane.focus" | "pane.split" | "pane.zoom" | "pane.close")`; its own split, zoom and close icons. - Shipped mods it relies on: `picker`, `new-menu`, `menu`, `machine-add`. - In every mod white text is `ansi15` on a dark theme, `foreground` on a light one. - `scripts/build-font.py [--check]` writes `mods/noctua-chrome/fonts/GeistMonoNoctua-{Regular,Bold,Italic,BoldItalic}.ttf` and `OFL.txt`: Geist Mono 1.9.0 from npm plus every text-default emoji from U+2000 to U+2BFF in Unicode 16's `emoji-data.txt` that it lacks, taken from the system's Noto Sans Symbols 2 (else Noto Sans Symbols), scaled into one 600-unit cell and centered on half the cap height. Both layouts set `"font": "Geist Mono Noctua"`; Herdr loads it from the mod's `fonts/` folder. - `scripts/install.sh [--dry-run]` copies `layouts/`, `themes/` and `mods/` into `${HERDR_APP_HOME:-~/.config/herdr-app}`, replacing earlier `noctua*` copies whole and refusing any other name. ## Watch out - The mods reference their icons as `mods/noctua-chrome/…` from the app's home: they show only once installed there, not from the repo. - Herdr 0.1.9 draws any symbol its terminal font lacks with the color emoji font, two cells wide and gray whatever color the program asked for. Geist Mono Noctua is the workaround; a symbol outside its list still falls back that way. - With Geist Mono Noctua, bold text is bold: Herdr drew Herdr's own Geist Mono without a bold face. - The Search tooltip names whatever `keys.json` binds to `mod.open:picker` (`ctrl-shift-k` by default), not a fixed `Ctrl K`; with no binding it says only "Search". - `themes/noctua.json` doesn't reload live: switching to the same layout keeps the old colors; switch to another layout and back (which closes floating windows) or restart. Measured on 30 October 2026: selected stayed `#3a4a5c` after install until `layout.switch main` then `noctua`. - `herdr-app check` runs a mod with no spaces against the real `shared.json`: `noctua-spaces` skips its shared writes when it sees no spaces, or a check would wipe `space.colors`. - Space pins are Noctua's own (`noctua.spaces.pinned`): Herdr's spaces mod doesn't know them. - The active tab is "docked" by leaving its bottom border out while every other tab, the empty bar and the right group draw theirs; a single border on the bar would run under the active tab. - `herdr-app check` renders with no spaces, agents or layout, so it doesn't reach the cards, tabs or headers with content; a check that matters feeds fixtures (see Done when). It also writes `gpui-kit.d.ts` and `jsconfig.json` into each mod folder; `.gitignore` keeps them out. - The Changes button counts the shown space as noctua-spaces sees it, from that space's first terminal's folder; the Changes panel counts the focused pane's folder. Two terminals of one space in two repos can show different numbers on the button and in the panel. - Worktree nesting, ↑↓ and the Changes numbers need `git` on the space's machine; a space outside a repo shows no branch. - The state table (`STATES`: color, time color, time words) and `dot()` are copied, identical, into noctua-spaces, -agents, -tabs and -pane: mods can't import each other. Change one, change all four. - `v_virtual_list` refuses `on_mouse_down` inside its row renderer ("cannot be registered from a virtual list's item renderer"), so the cards, which take presses, drags, right-clicks and hovers, sit in a plain `overflow_y_scroll` list. - `Scrollbar.vertical(id)` doesn't take the width of the box it's in: it draws the theme's 6 px thumb at the scroll area's edge (measured at zoom 1: x 290 to 295 on a 300 px sidebar, as `overflow_y_scrollbar` drew it). Opacity on the box does dim it. With `viewport_from_layout()` the thumb disappears. - `herdr-app shot` returns the last frame the window drew. After `scripts/install.sh` replaced the mod folders, the running copies once kept the old build, with no error in `status`, until Herdr restarted. Compare a shot with the files before trusting it. - A pointer moved with `hyprctl dispatch movecursor` gives Herdr no hover: neither a card's hover fill nor the scrollbar's lit state shows in a shot taken that way. - A window off screen draws no frames, so its mods don't render: a test of something timed (the 2 s panel request) needs the window on screen. - The worktree button selects nothing: it stops the mouse down and up itself, because the card shows its space on mouse up. - `preview.png` is a demo: a separate core (`HC_SESSION=demo hc …`), a window with its own short `HERDR_APP_HOME` and `HERDR_RELEASES_URL` pointed at nothing (no update notice), git repos in `~/code`, and stand-in agents that only print `ESC ]7501;state=…:app=… ESC \`. A `done` status counts only when it arrives while another space is shown. ## Done when - `herdr-app check ` passes for each of `mods/noctua-chrome`, `noctua-spaces`, `noctua-agents`, `noctua-tabs`, `noctua-pane`, `noctua-files`, `noctua-changes`, `noctua-status`. - The same eight, rendered with fixture data (spaces with blocked, working, done and idle agents, a pinned space, a remote machine, three tabs, a focused and an unfocused pane, the footer, the rail), pass `herdr-app check`, and `--print-spec` shows every `rounded` at 4. - With fixtures of repos with 0, 2 and 5 worktrees (the shown one among the hidden) and agents in every state with an idle one focused, `--print-spec` shows: two-line cards with the 28 px avatar and its seal (a 15 px cut-out around an 11 px dot or arc); "waiting 14 min", "working 30 min" and "done 4 min ago" with the branch on line 2; a closed repo with a blocked worktree showing a red worktree button and no worktree lines; an open repo with the button on the `input` fill and its 28 px lines; the Idle drawer as the agents view's last child, with only the focused agent closed and all four open; on the rail, the avatars with their seals, the +, and Settings and Machines at the bottom of the agents block; tabs and pane headers with the dot. - `scripts/install.sh --dry-run` lists the layout, its preview, the theme and the 7 mods and writes nothing; with a non-`noctua` folder added under `mods/` it exits 1 before copying. - After installing, `herdr-app do layout.switch --name noctua` shows the window with no `layout.error`, and `herdr-app status` lists no mod errors.