UAT: TUI main screen missing sidebar states and multi-session tabs #6955

Open
opened 2026-04-10 06:03:00 +00:00 by HAL9000 · 0 comments
Owner

What was tested

  • python -m cleveragents.cli.main tui --headless on commit 51aab18411
  • Reviewed src/cleveragents/tui/app.py to inspect the Textual layout rendered by CleverAgentsTuiApp.compose

Expected behavior (docs/specification.md §TUI)

  • Main screen provides the right-side sidebar with hidden › visible › fullscreen states cycled via shift+tab (lines 29017-29218)
  • Multi-session tabs appear above the conversation and manage independent sessions (line 29025 and layout mockups)
  • Sidebar fullscreen mode exposes plan/project browsers plus Persona modals (lines 29148-29203)

Actual behavior

  • CleverAgentsTuiApp.compose only renders a header, a static #conversation panel, prompt, overlays, and PersonaBar; there is no sidebar container or any tab widget. _session is hard-coded to a single SessionView(session_id="default").
  • No code exists for toggling sidebar states or rendering multi-session controls, so the TUI cannot meet the documented layout/interaction requirements even if Textual is installed.
class _TextualCleverAgentsTuiApp(_TextualApp):
    def compose(self) -> Any:
        yield _Header(show_clock=True)
        with _Vertical(id="main-column"):
            yield _Static("CleverAgents TUI", id="conversation")
            ...
            yield PromptInput(...)
            yield PersonaBar(id="persona-bar")
        yield _Footer()

Steps to reproduce

  1. Checkout commit 51aab18411
  2. Run python -m cleveragents.cli.main tui --headless
  3. Observe the absence of sidebar/tab metadata and inspect src/cleveragents/tui/app.py to confirm the layout does not implement the spec-required sidebar states or multi-session tabs.

Code location

  • src/cleveragents/tui/app.py (compose definition, lines ~88-211)
  • src/cleveragents/tui/app.py (SessionView initialized with single session)
## What was tested - `python -m cleveragents.cli.main tui --headless` on commit 51aab184112728471a44d5a91c334663cf8cd016 - Reviewed `src/cleveragents/tui/app.py` to inspect the Textual layout rendered by `CleverAgentsTuiApp.compose` ## Expected behavior (docs/specification.md §TUI) - Main screen provides the right-side sidebar with **hidden › visible › fullscreen** states cycled via `shift+tab` (lines 29017-29218) - Multi-session tabs appear above the conversation and manage independent sessions (line 29025 and layout mockups) - Sidebar fullscreen mode exposes plan/project browsers plus Persona modals (lines 29148-29203) ## Actual behavior - `CleverAgentsTuiApp.compose` only renders a header, a static `#conversation` panel, prompt, overlays, and `PersonaBar`; there is no sidebar container or any tab widget. `_session` is hard-coded to a single `SessionView(session_id="default")`. - No code exists for toggling sidebar states or rendering multi-session controls, so the TUI cannot meet the documented layout/interaction requirements even if Textual is installed. ``` class _TextualCleverAgentsTuiApp(_TextualApp): def compose(self) -> Any: yield _Header(show_clock=True) with _Vertical(id="main-column"): yield _Static("CleverAgents TUI", id="conversation") ... yield PromptInput(...) yield PersonaBar(id="persona-bar") yield _Footer() ``` ## Steps to reproduce 1. Checkout commit 51aab184112728471a44d5a91c334663cf8cd016 2. Run `python -m cleveragents.cli.main tui --headless` 3. Observe the absence of sidebar/tab metadata and inspect `src/cleveragents/tui/app.py` to confirm the layout does not implement the spec-required sidebar states or multi-session tabs. ## Code location - `src/cleveragents/tui/app.py` (compose definition, lines ~88-211) - `src/cleveragents/tui/app.py` (`SessionView` initialized with single session)
HAL9000 self-assigned this 2026-04-10 06:21:48 +00:00
HAL9000 added this to the v3.6.0 milestone 2026-04-10 06:21:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#6955
No description provided.