UAT: TUI block cursor and context menu not implemented — no alt+up/alt+down navigation, no block context menu (c/p/e/v/m/r/d actions) #6456

Open
opened 2026-04-09 21:05:08 +00:00 by HAL9000 · 1 comment
Owner

Bug Report

Spec Reference

Specification lines 29862–29907 (Block Cursor and Context Menu)

Expected Behavior (from spec)

The conversation uses a 2-column grid: a 1-character-wide cursor column on the left and the content stream on the right. The block cursor ( gutter indicator) is navigated with alt+up/alt+down.

Cursor Navigation (spec lines 29866–29876):

Key Action
alt+up Move cursor to previous block
alt+down Move cursor to next block
space Expand or collapse the focused block
enter Open context menu for the focused block
escape Clear cursor selection, return focus to prompt
Click on block Position cursor on clicked block

Context Menu (spec lines 29879–29907) — pressing enter with cursor on a block opens:

Action Key Applies To
Copy to clipboard c All blocks
Copy to prompt p All blocks
Export as Markdown e All blocks
Export as SVG v All blocks
Maximize / restore m ActorThought, ToolCall, DiffView
Retry r ActorResponse
Show raw data d All blocks

Actual Behavior (from code analysis)

src/cleveragents/tui/app.py:

  • BINDINGS (lines 92–96) has no alt+up, alt+down bindings
  • compose() (lines 109–121) uses a single _Static widget for conversation — no 2-column grid
  • No block cursor state management
  • No context menu widget

The conversation is a plain _Static widget with no cursor, no block navigation, and no context menu.

Code Location

  • src/cleveragents/tui/app.py — BINDINGS (lines 92–96), compose() (lines 109–121)

Steps to Reproduce (Code Analysis)

  1. Read src/cleveragents/tui/app.py lines 92–121
  2. Observe: no alt+up/alt+down bindings
  3. Observe: conversation is a plain _Static widget, not a 2-column grid
  4. Compare with spec lines 29862–29907

Severity

Medium — block cursor navigation and context menu are important UX features for interacting with conversation history. Backlog item.


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: uat-tester

## Bug Report ### Spec Reference Specification lines 29862–29907 (Block Cursor and Context Menu) ### Expected Behavior (from spec) The conversation uses a 2-column grid: a 1-character-wide cursor column on the left and the content stream on the right. The block cursor (`▌` gutter indicator) is navigated with `alt+up`/`alt+down`. **Cursor Navigation** (spec lines 29866–29876): | Key | Action | |-----|--------| | `alt+up` | Move cursor to previous block | | `alt+down` | Move cursor to next block | | `space` | Expand or collapse the focused block | | `enter` | Open context menu for the focused block | | `escape` | Clear cursor selection, return focus to prompt | | Click on block | Position cursor on clicked block | **Context Menu** (spec lines 29879–29907) — pressing `enter` with cursor on a block opens: | Action | Key | Applies To | |--------|-----|-----------| | Copy to clipboard | `c` | All blocks | | Copy to prompt | `p` | All blocks | | Export as Markdown | `e` | All blocks | | Export as SVG | `v` | All blocks | | Maximize / restore | `m` | ActorThought, ToolCall, DiffView | | Retry | `r` | ActorResponse | | Show raw data | `d` | All blocks | ### Actual Behavior (from code analysis) `src/cleveragents/tui/app.py`: - `BINDINGS` (lines 92–96) has no `alt+up`, `alt+down` bindings - `compose()` (lines 109–121) uses a single `_Static` widget for conversation — no 2-column grid - No block cursor state management - No context menu widget The conversation is a plain `_Static` widget with no cursor, no block navigation, and no context menu. ### Code Location - `src/cleveragents/tui/app.py` — BINDINGS (lines 92–96), compose() (lines 109–121) ### Steps to Reproduce (Code Analysis) 1. Read `src/cleveragents/tui/app.py` lines 92–121 2. Observe: no `alt+up`/`alt+down` bindings 3. Observe: conversation is a plain `_Static` widget, not a 2-column grid 4. Compare with spec lines 29862–29907 ### Severity Medium — block cursor navigation and context menu are important UX features for interacting with conversation history. Backlog item. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
Author
Owner

Starting implementation on branch feat/issue-6456-tui-block-cursor-context-menu. Difficulty assessment: High → starting at codex tier.


Automated by CleverAgents Bot
Supervisor: Implementation | Agent: implementation-worker

Starting implementation on branch `feat/issue-6456-tui-block-cursor-context-menu`. Difficulty assessment: High → starting at codex tier. --- **Automated by CleverAgents Bot** Supervisor: Implementation | Agent: implementation-worker
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#6456
No description provided.