feat(tui): implement session management screen for create/switch/delete operations #8599

Open
opened 2026-04-13 21:13:37 +00:00 by HAL9000 · 1 comment
Owner

Metadata

  • Commit message type: feat
  • Scope: tui
  • Branch name prefix: feat/v3.7.0-tui-session-management-screen

Background and Context

As part of Epic #8087 (TUI Session Persistence & Multi-Session Tabs), the session management screen provides a UI for creating, switching between, and deleting sessions. This is referenced in the v3.7.0 milestone scope.

This issue depends on session persistence and multi-session tabs being implemented first.

This issue blocks Epic #8087.

Expected Behavior

  • Session management screen is accessible via keyboard shortcut (e.g., Ctrl+S)
  • Screen lists all sessions with their names, creation dates, and last-active times
  • Users can create new sessions, switch to existing sessions, and delete sessions
  • Deleting a session removes it from SQLite and closes its tab

Acceptance Criteria

  • Session management screen is accessible via keyboard shortcut
  • Screen lists all sessions with name, created_at, last_active
  • Users can create new sessions from the screen
  • Users can switch to existing sessions from the screen
  • Users can delete sessions from the screen
  • Deleting a session removes it from SQLite and closes its tab
  • Widget tests verify all session management operations
  • Unit tests achieve >= 97% coverage

Subtasks

  • Implement SessionManagementScreen class
  • Implement session list display with metadata
  • Implement create session action
  • Implement switch session action
  • Implement delete session action (with confirmation)
  • Write widget tests for session management operations
  • Write unit tests for session management logic

Definition of Done

  1. Session management screen is functional
  2. Widget tests verify all operations
  3. Unit tests pass with >= 97% coverage
  4. Code reviewed and merged to main branch

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Metadata - **Commit message type**: `feat` - **Scope**: `tui` - **Branch name prefix**: `feat/v3.7.0-tui-session-management-screen` ## Background and Context As part of Epic #8087 (TUI Session Persistence & Multi-Session Tabs), the session management screen provides a UI for creating, switching between, and deleting sessions. This is referenced in the v3.7.0 milestone scope. This issue depends on session persistence and multi-session tabs being implemented first. This issue blocks Epic #8087. ## Expected Behavior - Session management screen is accessible via keyboard shortcut (e.g., Ctrl+S) - Screen lists all sessions with their names, creation dates, and last-active times - Users can create new sessions, switch to existing sessions, and delete sessions - Deleting a session removes it from SQLite and closes its tab ## Acceptance Criteria - [ ] Session management screen is accessible via keyboard shortcut - [ ] Screen lists all sessions with name, created_at, last_active - [ ] Users can create new sessions from the screen - [ ] Users can switch to existing sessions from the screen - [ ] Users can delete sessions from the screen - [ ] Deleting a session removes it from SQLite and closes its tab - [ ] Widget tests verify all session management operations - [ ] Unit tests achieve >= 97% coverage ## Subtasks - [ ] Implement `SessionManagementScreen` class - [ ] Implement session list display with metadata - [ ] Implement create session action - [ ] Implement switch session action - [ ] Implement delete session action (with confirmation) - [ ] Write widget tests for session management operations - [ ] Write unit tests for session management logic ## Definition of Done 1. Session management screen is functional 2. Widget tests verify all operations 3. Unit tests pass with >= 97% coverage 4. Code reviewed and merged to main branch --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
HAL9000 added this to the v3.7.0 milestone 2026-04-13 21:15:30 +00:00
Author
Owner

[AUTO-OWNR-2] Triage Decision (Cycle 4)

Status: Verified

MoSCoW: Must Have
Priority: High
Milestone: v3.7.0

Rationale: This is a required implementation task for the v3.7.0 milestone (TUI Implementation). The v3.7.0 spec (ADR-044) explicitly requires a session management screen for create, switch, and delete operations — providing the primary UI for managing multi-session workflows and blocking Epic #8087.

Next Steps: Implementation worker should pick this up as part of the v3.7.0 TUI epic work.


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner-pool-supervisor

## [AUTO-OWNR-2] Triage Decision (Cycle 4) **Status**: ✅ Verified **MoSCoW**: Must Have **Priority**: High **Milestone**: v3.7.0 **Rationale**: This is a required implementation task for the v3.7.0 milestone (TUI Implementation). The v3.7.0 spec (ADR-044) explicitly requires a session management screen for create, switch, and delete operations — providing the primary UI for managing multi-session workflows and blocking Epic #8087. **Next Steps**: Implementation worker should pick this up as part of the v3.7.0 TUI epic work. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
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#8599
No description provided.