Skip to content

fix(codex-fleet): restore default top nav header + glass-pill dock redesign#197

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex-nav-header-glass-pill-dock-2026-05-18
May 18, 2026
Merged

fix(codex-fleet): restore default top nav header + glass-pill dock redesign#197
NagyVikt merged 1 commit into
mainfrom
agent/codex-nav-header-glass-pill-dock-2026-05-18

Conversation

@NagyVikt
Copy link
Copy Markdown
Contributor

Summary

  • Bug: every fresh full-bringup.sh run came up with no top nav header attached. Root cause: the fleet-tab-strip Rust binary was retired in PR Delete standalone fleet-tab-strip crate #107, but full-bringup.sh:502-513 + overview-header.sh:64-71 still hunted for it, hit a warn branch, and silently set HEADER_ROWS=0.
  • Fix: drop the dead binary lookups; the tmux status bar (configured top-docked by style-tabs.sh) is now the single canonical nav surface. Also upgrades the chrome-verify block from a bare warn to an auto-correct that re-asserts status on + status-position top if drift is detected.
  • Redesign (parallel 3-agent design pass, picked Design A "Glass-pill dock"): strip bg lifted #000000#0A0A0C for a translucent-dock cue; inactive tabs get rounded ╭ ╮ caps (glass card), active tab gets half-block ▌ ▐ caps (backlit dock chip). Mixed cap glyph family gives strong focus-state contrast at peripheral vision without needing a second row. Single-row preserved → tmux 3.6 MouseDown1Status tab clicks still fire.

Visual

 ◖ ◆ codex-fleet ◗   ╭ 0 overview ╮╭ 1 fleet ╮╭ 2 plan ╮▌ 3 waves ▐╭ 4 review ╮╭ 5 watcher ╮╭ 6 pane-health ╮   ◖ ● live ◗  ◷ 14:32:07

Test plan

  • bash -n parses on all 3 edited scripts (verified locally)
  • bash scripts/codex-fleet/full-bringup.sh --n 8 — strip appears top-docked with the new glass-pill chrome
  • Click each tab pill — select-window fires (tmux 3.6 MouseDown1Status single-row contract)
  • Resize terminal narrow → wide — chips reflow without overdraw; rounded vs slab caps stay distinguishable
  • Activity in a background window highlights its chip in iOS-orange; bell goes iOS-red
  • With CODEX_FLEET_TMUX_STATUS=off explicitly set, strip is hidden (opt-out still respected)

Files changed

  • scripts/codex-fleet/full-bringup.sh (+34 -19) — drop dead binary lookup, auto-correct chrome drift
  • scripts/codex-fleet/style-tabs.sh (+22 -12) — ship Design A glass-pill dock chrome
  • scripts/codex-fleet/overview-header.sh (+13 -88) — collapse to no-op

Not in this PR (deferred)

  • PADDING_ROW="#[fg=#000000,bg=#000000]…" in style-tabs.sh:214 for opt-in multi-row mode (STYLE_TABS_HEIGHT>=2) — left as-is because multi-row already breaks tab clicks on tmux 3.6.
  • Designer B (flat-minimal) and Designer C (status-rich w/ counters) proposals kept on file for follow-up if glass caps render unevenly on a given font.

🤖 Generated with Claude Code

…ck redesign

The legacy `fleet-tab-strip` Rust binary that used to draw an in-window
header pane at the top of the overview window was retired in PR #107, but
`full-bringup.sh` and `overview-header.sh` still hunted for the missing
binary, hit a warn branch, and silently set `HEADER_ROWS=0` — so every
fresh bringup came up with no top navigation header attached.

Fix:
- full-bringup.sh: default `CODEX_FLEET_OVERVIEW_HEADER_ROWS` to 0, drop
  the dead binary lookup, and upgrade the chrome-verify block from a bare
  `warn` to an auto-correct that re-asserts `status on` +
  `status-position top` (with `refresh-client -S`) if drift is detected.
- overview-header.sh: collapse to a no-op + log line — the tmux status
  bar (configured top-docked by style-tabs.sh) is now the single
  canonical nav surface, visible on every window not just overview.

Redesign (parallel 3-agent design pass, picked Design A "Glass-pill dock"):
- Strip bg lifted from `#000000` to `#0A0A0C` so the `#1C1C1E` glass
  chips have a perceptible vertical lift (the "translucent dock" cue).
- Inactive tabs: rounded `╭ ╮` caps in the chip-fill color → reads as a
  glass card sitting on the dock surface.
- Active tab: half-block `▌ ▐` caps in iOS-blue → reads as a backlit
  dock chip lifted out of the strip surface. The mixed cap glyph family
  (rounded vs slab) gives strong focus-state contrast at peripheral
  vision without needing a second row.
- Status-left (session badge) + status-right (live pill, clock with `◷`
  glyph) re-flowed onto the lifted bg.
- Single-row preserved → `MouseDown1Status` tab clicks still fire (tmux
  3.6 multi-row mouse-routing quirk avoided).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@NagyVikt NagyVikt merged commit 2b06282 into main May 18, 2026
2 checks passed
@NagyVikt NagyVikt deleted the agent/codex-nav-header-glass-pill-dock-2026-05-18 branch May 18, 2026 14:53
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