Skip to content

tui/webui: title the ambient pane 'monitor' - #1256

Merged
edwin-zvs merged 1 commit into
mainfrom
monitor-pane-title
Aug 16, 2026
Merged

tui/webui: title the ambient pane 'monitor'#1256
edwin-zvs merged 1 commit into
mainfrom
monitor-pane-title

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

The matrix-rain / token-meter pane's leftmost header text was minibuffer, which read as the pane's title and collided with the actual minibuffer (the dispatcher session in the bottom strip).

This pane is the fleet's ambient monitor — rain intensity, token usage, sticky widgets. monitor is also existing vocabulary: the smith adapter already describes the minibuffer's ambient role as a monitor, and the loop model env var is CONSTRUCT_MINIBUFFER_MONITOR_MODEL.

What changes

  • TUI: header reads monitor / monitor !. Click-to-open, the ▶/⏸ loop toggle, the approval alert, and the hover tooltip (which still names the minibuffer) are unchanged. Collapse tooltips now say Expand/Collapse monitor.
  • Web UI: visible title and aria labels renamed to monitor. Internal ids/classes keep the minibuffer- prefix (invisible vocabulary).
  • Specs 0019 / 0081 / 0186 amended: minibuffer must never double as this pane's name.

The default sidebar (~40 cols) has no room for a separate title plus a minibuffer chip — a first attempt at that split pushed the widget squares off the bar. So the existing label is renamed in place.

Before / after

before:  ▶ minibuffer ──────── tokens ⇄ −
after:   ▶ monitor    ──────── tokens ⇄ −

Stills from isolated vhs recordings of the same tape against main vs this branch (see the follow-up comment for the frames).

Notes

  • Touches crates/cli (TUI header) and crates/daemon/assets (web panel title) → the relevant binary is construct: .claude/worktrees/monitor-pane-title/target/debug/construct
  • cargo test -p construct-cli --bin construct: 1402 passed. The one failure (color::tests::truecolor_backend_still_emits_rgb) is an unrelated RGB-escape assertion and does not touch this header.

The matrix-rain/token-meter pane's leftmost header text was 'minibuffer',
which read as the pane's title and collided with the actual minibuffer
(the dispatcher session in the bottom strip). The pane is the fleet's
ambient monitor — name it that. 'monitor' also matches existing
vocabulary: the smith adapter already describes the minibuffer's ambient
role as a monitor and the loop model env var is
CONSTRUCT_MINIBUFFER_MONITOR_MODEL.

The default sidebar is too narrow for a separate title plus minibuffer
chip, so the existing label is renamed in place. Click-to-open, the
loop toggle, the approval alert, and the hover tooltip (which still
names the minibuffer) are unchanged.

- TUI: header reads 'monitor' / 'monitor !'; collapse tooltips now say
  Expand/Collapse monitor.
- Web UI: panel title and aria labels renamed; internal ids/classes
  keep the minibuffer- prefix (invisible vocabulary).
- Specs 0019/0081/0186 amended: 'minibuffer' must never double as this
  pane's name.
@edwin-zvs

Copy link
Copy Markdown
Contributor Author

Before / after stills

Same vhs tape against main (914ad11) vs this branch (a7f4e46). Isolated daemon; first-run /configure dismissed; default token-meter body.

before:  ▶ minibuffer ──────── tokens ⇄ −
after:   ▶ monitor    ──────── tokens ⇄ −

Stills (gist, data-URI markdown so the frames travel with the file):
https://gist.github.com/edwin-zvs/a3bae250b5d16b1c7640fd6b72b686e7

Local artifacts (open these to see the actual frames):

  • /tmp/agt-mon-before.png
  • /tmp/agt-mon-after.png
  • /tmp/agt-mon-before.mp4
  • /tmp/agt-mon-after.mp4

@edwin-zvs
edwin-zvs merged commit a8e3161 into main Aug 16, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the monitor-pane-title branch August 16, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant