Skip to content

[TUI] /resume and /model picker overlay invisible due to rendering logic conflict (v0.11.0) #15094

Closed

Description

@lwj-9650

Bug Description

In Hermes TUI v0.11.0, the /resume and /model picker overlays are never rendered on screen, despite the underlying logic correctly setting picker: true and the gateway RPC returning valid data.

Root Cause

In the TUI React rendering layer (ui-tui/src/app/appLayout.tsx), the rendering logic has a self-contradicting condition:

  1. When /resume executes, it sets picker = true
  2. The isBlocked state becomes true (because picker is a blocking overlay)
  3. The FloatingOverlays component (which contains the picker) is nested inside a region gated by !isBlocked
  4. Result: picker active → isBlocked=true → FloatingOverlays not rendered → picker invisible

Expected Behavior

/resume should display an interactive session picker overlay with a list of recent sessions.

Actual Behavior

Screen shows nothing after entering /resume. No overlay appears. The command executes but the picker is invisible.

Environment

  • Hermes Agent v0.11.0 (2026.4.23)
  • WSL2 + Windows Terminal
  • TUI mode

Workaround

Use /resume SESSION_ID with an explicit session ID to bypass the picker entirely.

Verification

  • Gateway session.list RPC returns 20 sessions correctly
  • Database contains 401 sessions
  • The bug is in the TUI React rendering layer, not the backend

Suggested Fix

Move FloatingOverlays rendering outside the !isBlocked conditional, or change the picker overlay to not set isBlocked=true.

Activity

  1. added
    type/bugSomething isn't working
    P2Medium — degraded but workaround exists
    comp/tuiTerminal UI (ui-tui/ + tui_gateway/)
    on Apr 24, 2026
  2. alt-glitch commented on Apr 24, 2026

    @alt-glitch

    Likely duplicate of #14907 — same root cause: FloatingOverlays nested inside !isBlocked guard in appLayout.tsx. PR #14895 (merged) should have fixed this; may be a regression or incomplete fix.

  3. lwj-9650 commented on Apr 25, 2026

    @lwj-9650
    Author

    Confirmed fixed — the fix from PR #14895 (commit 7c59e1a) is already included in our current build. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/tuiTerminal UI (ui-tui/ + tui_gateway/)type/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions