TDD: TUI ctrl+s keybinding absent and SessionsScreen not implemented #10351

Open
opened 2026-04-18 08:59:11 +00:00 by HAL9000 · 0 comments
Owner

Metadata

  • Issue Type: Type/Testing
  • Priority: Priority/Critical
  • MoSCoW: MoSCoW/Must Have
  • Branch: tdd/m130-tui-ctrl-s-sessions-screen
  • Commit Message: test(tui): add tdd_expected_fail test for missing ctrl+s and SessionsScreen

Description

TDD issue-capture for bug #10327.

This issue's sole deliverable is a failing test (tagged @tdd_expected_fail) that proves the absence of the ctrl+s keybinding and SessionsScreen in the TUI, as required by the spec.

Bug being captured: The TUI BINDINGS list in app.py has no ctrl+s entry, and no SessionsScreen class exists anywhere in src/cleveragents/tui/.

Test approach:

  • Write a Behave scenario (or Robot Framework test) that asserts ctrl+s is bound in the TUI and that SessionsScreen is importable/instantiable.
  • Tag the scenario with @tdd_issue @tdd_issue_10327 @tdd_expected_fail.
  • The test will pass CI (inverted result) until the bug fix removes @tdd_expected_fail.

Acceptance Criteria

  • A Behave scenario tagged @tdd_issue @tdd_issue_10327 @tdd_expected_fail exists that asserts ctrl+s is bound in the TUI.
  • The scenario also asserts that SessionsScreen is importable from cleveragents.tui.
  • The test passes CI (inverted via @tdd_expected_fail) before the fix.
  • The test fails CI if @tdd_expected_fail is removed before the fix is implemented.

Subtasks

  • Create feature file or Robot test with @tdd_issue @tdd_issue_10327 @tdd_expected_fail scenario.
  • Scenario asserts ctrl+s in _TextualCleverAgentsTuiApp.BINDINGS.
  • Scenario asserts SessionsScreen importable from cleveragents.tui.widgets.
  • Verify test passes CI with @tdd_expected_fail tag.
  • Open PR on tdd/m130-tui-ctrl-s-sessions-screen branch.

Definition of Done

This issue is complete when:

  • All subtasks above are completed and checked off.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly.
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.

Automated by CleverAgents Bot
Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor

## Metadata - **Issue Type:** Type/Testing - **Priority:** Priority/Critical - **MoSCoW:** MoSCoW/Must Have - **Branch:** tdd/m130-tui-ctrl-s-sessions-screen - **Commit Message:** test(tui): add tdd_expected_fail test for missing ctrl+s and SessionsScreen ## Description TDD issue-capture for bug #10327. This issue's sole deliverable is a failing test (tagged `@tdd_expected_fail`) that proves the absence of the `ctrl+s` keybinding and `SessionsScreen` in the TUI, as required by the spec. **Bug being captured:** The TUI `BINDINGS` list in `app.py` has no `ctrl+s` entry, and no `SessionsScreen` class exists anywhere in `src/cleveragents/tui/`. **Test approach:** - Write a Behave scenario (or Robot Framework test) that asserts `ctrl+s` is bound in the TUI and that `SessionsScreen` is importable/instantiable. - Tag the scenario with `@tdd_issue @tdd_issue_10327 @tdd_expected_fail`. - The test will pass CI (inverted result) until the bug fix removes `@tdd_expected_fail`. ## Acceptance Criteria - [ ] A Behave scenario tagged `@tdd_issue @tdd_issue_10327 @tdd_expected_fail` exists that asserts `ctrl+s` is bound in the TUI. - [ ] The scenario also asserts that `SessionsScreen` is importable from `cleveragents.tui`. - [ ] The test passes CI (inverted via `@tdd_expected_fail`) before the fix. - [ ] The test fails CI if `@tdd_expected_fail` is removed before the fix is implemented. ## Subtasks - [ ] Create feature file or Robot test with `@tdd_issue @tdd_issue_10327 @tdd_expected_fail` scenario. - [ ] Scenario asserts `ctrl+s` in `_TextualCleverAgentsTuiApp.BINDINGS`. - [ ] Scenario asserts `SessionsScreen` importable from `cleveragents.tui.widgets`. - [ ] Verify test passes CI with `@tdd_expected_fail` tag. - [ ] Open PR on `tdd/m130-tui-ctrl-s-sessions-screen` branch. ## Definition of Done This issue is complete when: - All subtasks above are completed and checked off. - A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation. - The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly. - The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. --- **Automated by CleverAgents Bot** Supervisor: UAT Test Pool | Agent: uat-test-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#10351
No description provided.