UAT: Sessions Screen (ctrl+s modal overlay) not implemented #1383

Open
opened 2026-04-02 17:01:52 +00:00 by freemo · 0 comments
Owner

Bug Report

Feature Area: Multi-session tabs — Sessions Screen
Severity: High
Found by: UAT tester instance uat-worker-tabs


Expected Behavior (from spec §Sessions Screen)

The specification (docs/specification.md, line ~29968) defines a Sessions Screen:

The Sessions screen (ctrl+s) is a modal overlay showing all active and saved sessions

The screen must show:

  • Active Sessions (top): Currently open session tabs with state indicators, persona, actor, and last prompt preview. Current session highlighted with .
  • Saved Sessions (bottom): Previously persisted sessions from SQLite database, showing prompt count and last-used timestamp.

The screen's footer shows:

enter Switch │ ctrl+r Resume saved │ ctrl+n New │ d Delete │ r Rename │ esc Back

The spec mockup (line ~29968) shows:

┌─ Sessions ──────────────────────────────────────────────────────────────────────────┐
│                                                                                     │
│  ❯ Session 2  • feature-dev  • claude-4-sonnet  • ❯ awaiting input     14:02       │
│    Last: Can you review the auth module...                                          │
│                                                                                     │
│    Session 1  • reviewer     • gpt-4o           • ⌛ working             13:58      │
│    ...                                                                              │
└─────────────────────────────────────────────────────────────────────────────────────┘

Actual Behavior

No Sessions Screen widget or screen class exists anywhere in the TUI codebase:

$ grep -rn "SessionsScreen\|sessions_screen\|action_sessions\|ctrl+s" src/cleveragents/tui/
(no results)

The ctrl+s binding is not in BINDINGS (only ctrl+q, f1, and ctrl+t are bound). There is no action_sessions_screen method. There is no modal overlay class for the Sessions Screen.

The spec also requires ctrl+s to be listed in the footer bar (line ~28905):

│ F1 Help │ shift+tab Sidebar │ tab Persona │ ctrl+tab Preset │ ctrl+s Sessions │ ctrl+q Quit  │

But the current footer does not include ctrl+s Sessions.


Steps to Reproduce

  1. Search src/cleveragents/tui/ for SessionsScreen, sessions_screen, action_sessions
  2. Read src/cleveragents/tui/app.py lines 90–94 (BINDINGS) — ctrl+s absent
  3. Observe: no Sessions Screen implementation exists

Code Location

  • src/cleveragents/tui/app.py, lines 90–94 — ctrl+s binding absent
  • src/cleveragents/tui/ — no sessions_screen.py or equivalent widget/screen file

Impact

Users cannot open the Sessions Screen to view, switch between, resume, rename, or delete sessions. The ctrl+s shortcut shown in the spec's footer bar is non-functional.

## Bug Report **Feature Area:** Multi-session tabs — Sessions Screen **Severity:** High **Found by:** UAT tester instance `uat-worker-tabs` --- ### Expected Behavior (from spec §Sessions Screen) The specification (docs/specification.md, line ~29968) defines a Sessions Screen: > The Sessions screen (`ctrl+s`) is a modal overlay showing all active and saved sessions The screen must show: - **Active Sessions** (top): Currently open session tabs with state indicators, persona, actor, and last prompt preview. Current session highlighted with `❯`. - **Saved Sessions** (bottom): Previously persisted sessions from SQLite database, showing prompt count and last-used timestamp. The screen's footer shows: ``` enter Switch │ ctrl+r Resume saved │ ctrl+n New │ d Delete │ r Rename │ esc Back ``` The spec mockup (line ~29968) shows: ``` ┌─ Sessions ──────────────────────────────────────────────────────────────────────────┐ │ │ │ ❯ Session 2 • feature-dev • claude-4-sonnet • ❯ awaiting input 14:02 │ │ Last: Can you review the auth module... │ │ │ │ Session 1 • reviewer • gpt-4o • ⌛ working 13:58 │ │ ... │ └─────────────────────────────────────────────────────────────────────────────────────┘ ``` --- ### Actual Behavior No Sessions Screen widget or screen class exists anywhere in the TUI codebase: ``` $ grep -rn "SessionsScreen\|sessions_screen\|action_sessions\|ctrl+s" src/cleveragents/tui/ (no results) ``` The `ctrl+s` binding is not in `BINDINGS` (only `ctrl+q`, `f1`, and `ctrl+t` are bound). There is no `action_sessions_screen` method. There is no modal overlay class for the Sessions Screen. The spec also requires `ctrl+s` to be listed in the footer bar (line ~28905): ``` │ F1 Help │ shift+tab Sidebar │ tab Persona │ ctrl+tab Preset │ ctrl+s Sessions │ ctrl+q Quit │ ``` But the current footer does not include `ctrl+s Sessions`. --- ### Steps to Reproduce 1. Search `src/cleveragents/tui/` for `SessionsScreen`, `sessions_screen`, `action_sessions` 2. Read `src/cleveragents/tui/app.py` lines 90–94 (`BINDINGS`) — `ctrl+s` absent 3. Observe: no Sessions Screen implementation exists --- ### Code Location - `src/cleveragents/tui/app.py`, lines 90–94 — `ctrl+s` binding absent - `src/cleveragents/tui/` — no `sessions_screen.py` or equivalent widget/screen file --- ### Impact Users cannot open the Sessions Screen to view, switch between, resume, rename, or delete sessions. The `ctrl+s` shortcut shown in the spec's footer bar is non-functional.
freemo self-assigned this 2026-04-02 18:45:16 +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#1383
No description provided.