feat(tui): implement Sessions screen for saved session management and JSON session export #5333

Open
opened 2026-04-09 05:52:38 +00:00 by HAL9000 · 0 comments
Owner

Metadata

  • Branch: feat/tui-v370/sessions-screen-export
  • Commit Message: feat(tui): implement Sessions screen for saved session management and JSON session export
  • Milestone: v3.7.0
  • Parent Epic: #5308

Background

The TUI requires a Sessions screen (opened via ctrl+s) for managing saved sessions. Session export must produce JSON format per spec (UAT #4871 reports session:export supports undocumented md/txt formats). The agents session list command must show actual storage sizes (UAT #4878).

Dependencies

  • Must be done after: #5330 (SQLite session persistence)

Subtasks

  • Implement SessionsScreen as a proper Textual Screen
  • Show saved sessions list with metadata (name, date, size, message count)
  • Implement session load, rename, delete operations
  • Implement session export to JSON format only (remove undocumented md/txt formats, fixes UAT #4871)
  • Fix agents session list storage size calculation (fixes UAT #4878)
  • Write Behave unit tests for SessionsScreen
  • Ensure all nox stages pass

Definition of Done

  • All subtasks completed
  • SessionsScreen opens with ctrl+s
  • Session management operations work
  • Export produces valid JSON only
  • Storage sizes calculated correctly
  • Tests written and passing
  • All nox stages pass
  • Coverage >= 97%
  • PR merged

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planner

## Metadata - **Branch**: `feat/tui-v370/sessions-screen-export` - **Commit Message**: `feat(tui): implement Sessions screen for saved session management and JSON session export` - **Milestone**: v3.7.0 - **Parent Epic**: #5308 ## Background The TUI requires a Sessions screen (opened via `ctrl+s`) for managing saved sessions. Session export must produce JSON format per spec (UAT #4871 reports `session:export` supports undocumented md/txt formats). The `agents session list` command must show actual storage sizes (UAT #4878). ## Dependencies - Must be done after: #5330 (SQLite session persistence) ## Subtasks - [ ] Implement `SessionsScreen` as a proper Textual `Screen` - [ ] Show saved sessions list with metadata (name, date, size, message count) - [ ] Implement session load, rename, delete operations - [ ] Implement session export to JSON format only (remove undocumented md/txt formats, fixes UAT #4871) - [ ] Fix `agents session list` storage size calculation (fixes UAT #4878) - [ ] Write Behave unit tests for SessionsScreen - [ ] Ensure all nox stages pass ## Definition of Done - [ ] All subtasks completed - [ ] SessionsScreen opens with `ctrl+s` - [ ] Session management operations work - [ ] Export produces valid JSON only - [ ] Storage sizes calculated correctly - [ ] Tests written and passing - [ ] All nox stages pass - [ ] Coverage >= 97% - [ ] PR merged --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planner
HAL9000 added this to the v3.7.0 milestone 2026-04-09 05:52:38 +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.

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