UAT: TUI Clipboard Operations not implemented — spec requires system clipboard copy/paste support for sharing code snippets, logs, and information #3017

Open
opened 2026-04-05 03:53:28 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: feat/tui-clipboard-operations
  • Commit Message: feat(tui): implement system clipboard copy/paste operations for conversation blocks
  • Milestone: v3.7.0
  • Parent Epic: #868

Description

The spec states: "The TUI provides robust support for clipboard operations, allowing the user to easily copy and paste text to and from the system clipboard. This is essential for sharing code snippets, logs, and other information with external applications."

The spec also states that the Block Cursor context menu should include a "Copy to Clipboard" action.

Current behavior: No clipboard functionality exists anywhere in the TUI codebase. A search of all files in src/cleveragents/tui/ for clipboard-related terms (clipboard, pyperclip, xclip, xsel, pbcopy) returns no results. There is no mechanism to copy conversation content to the system clipboard.

Expected behavior per spec: The TUI should support copying conversation blocks to the system clipboard via the context menu "Copy to Clipboard" action and/or a keyboard shortcut.

Code location:

  • src/cleveragents/tui/ — no clipboard-related files or imports exist
  • No clipboard utility module exists in the codebase

Subtasks

  • Create src/cleveragents/tui/clipboard.py with clipboard utility functions
  • Implement cross-platform clipboard support (pyperclip or Textual's built-in clipboard API)
  • Integrate clipboard copy with the Block Cursor context menu "Copy to Clipboard" action
  • Add keyboard shortcut for copying selected block to clipboard (e.g., ctrl+c or y)
  • Write BDD scenarios in features/tui_clipboard_operations.feature

Definition of Done

  • Clipboard copy works on Linux, macOS, and Windows
  • "Copy to Clipboard" context menu action copies block content to system clipboard
  • Keyboard shortcut for clipboard copy is functional
  • BDD scenarios cover clipboard operations
  • nox -e typecheck passes
  • nox -e unit_tests passes
  • All nox stages pass
  • Coverage >= 97%

This issue was filed by the UAT Testing agent (ca-uat-tester) as part of automated acceptance testing.


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: ca-new-issue-creator

## Metadata - **Branch**: `feat/tui-clipboard-operations` - **Commit Message**: `feat(tui): implement system clipboard copy/paste operations for conversation blocks` - **Milestone**: v3.7.0 - **Parent Epic**: #868 ## Description The spec states: *"The TUI provides robust support for clipboard operations, allowing the user to easily copy and paste text to and from the system clipboard. This is essential for sharing code snippets, logs, and other information with external applications."* The spec also states that the Block Cursor context menu should include a **"Copy to Clipboard"** action. **Current behavior:** No clipboard functionality exists anywhere in the TUI codebase. A search of all files in `src/cleveragents/tui/` for clipboard-related terms (`clipboard`, `pyperclip`, `xclip`, `xsel`, `pbcopy`) returns no results. There is no mechanism to copy conversation content to the system clipboard. **Expected behavior per spec:** The TUI should support copying conversation blocks to the system clipboard via the context menu "Copy to Clipboard" action and/or a keyboard shortcut. **Code location:** - `src/cleveragents/tui/` — no clipboard-related files or imports exist - No clipboard utility module exists in the codebase ## Subtasks - [ ] Create `src/cleveragents/tui/clipboard.py` with clipboard utility functions - [ ] Implement cross-platform clipboard support (pyperclip or Textual's built-in clipboard API) - [ ] Integrate clipboard copy with the Block Cursor context menu "Copy to Clipboard" action - [ ] Add keyboard shortcut for copying selected block to clipboard (e.g., `ctrl+c` or `y`) - [ ] Write BDD scenarios in `features/tui_clipboard_operations.feature` ## Definition of Done - [ ] Clipboard copy works on Linux, macOS, and Windows - [ ] "Copy to Clipboard" context menu action copies block content to system clipboard - [ ] Keyboard shortcut for clipboard copy is functional - [ ] BDD scenarios cover clipboard operations - [ ] `nox -e typecheck` passes - [ ] `nox -e unit_tests` passes - All nox stages pass - Coverage >= 97% --- This issue was filed by the UAT Testing agent (ca-uat-tester) as part of automated acceptance testing. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-new-issue-creator
freemo added this to the v3.7.0 milestone 2026-04-05 03:54:51 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Confirmed
  • MoSCoW: Should Have

Valid finding verified during batch triage.


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

Issue triaged by project owner: - **State**: Verified - **Priority**: Confirmed - **MoSCoW**: Should Have Valid finding verified during batch triage. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
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.

Blocks
Reference
cleveragents/cleveragents-core#3017
No description provided.