UAT: TUI PlanDetailModal, ProjectDetailModal, and PersonaEditorModal not implemented #6467

Open
opened 2026-04-09 21:07:22 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Spec Reference

Specification lines 29512–29665 (Plan Detail Modal, Project Detail Modal, Persona Editor Modal)

Expected Behavior (from spec)

PlanDetailModal (spec lines 29512–29574): Shows a plan's decision tree alongside decision details. Keyboard navigation: j/k Nav, enter Inspect, c Correct, d Diff, h History, t Toggle, / Search, s Superseded, x Expand all, z Collapse all, escape Close.

ProjectDetailModal (spec lines 29577–29611): Shows a project's resource DAG, invariants, and running plans. Keyboard navigation: j/k Nav, enter Drill, i Invariants, v Validations, p Plans, / Search, esc Close.

PersonaEditorModal (spec lines 29614–29665): Used for creating and editing personas. Fields: Name, Description, Actor, Color, Base Arguments, Scoped Projects, Scoped Plans, Argument Presets, Cycle Order. Keyboard: tab Next field, enter Save, escape Cancel.

These modals are opened by:

  • enter on a plan in the sidebar fullscreen → PlanDetailModal
  • enter on a project in the sidebar fullscreen → ProjectDetailModal
  • ctrl+p in sidebar fullscreen → PersonaEditorModal
  • /plan:inspect [id] slash command → PlanDetailModal
  • /project:inspect <name> slash command → ProjectDetailModal
  • /persona:create slash command → PersonaEditorModal

Actual Behavior (from code analysis)

No modal implementations exist in src/cleveragents/tui/:

src/cleveragents/tui/
├── app.py
├── commands.py
├── first_run.py
├── input/
├── permissions/
├── persona/
├── search/
├── shell_safety/
├── slash_catalog.py
└── widgets/
    ├── actor_selection_overlay.py
    ├── help_panel_overlay.py
    ├── permission_question.py
    ├── persona_bar.py
    ├── prompt.py
    ├── reference_picker.py
    ├── slash_command_overlay.py
    └── thought_block.py

No plan_detail_modal.py, project_detail_modal.py, or persona_editor_modal.py exist. No modal base class. No modal infrastructure.

Code Location

  • src/cleveragents/tui/widgets/ — missing modal files

Steps to Reproduce (Code Analysis)

  1. List src/cleveragents/tui/widgets/
  2. Observe: no modal files
  3. Search for "Modal" in all TUI Python files
  4. Observe: no results
  5. Compare with spec lines 29512–29665

Severity

High — PlanDetailModal is required for plan inspection and correction. PersonaEditorModal is required for persona creation/editing. These are core TUI workflows.


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

## Bug Report ### Spec Reference Specification lines 29512–29665 (Plan Detail Modal, Project Detail Modal, Persona Editor Modal) ### Expected Behavior (from spec) **PlanDetailModal** (spec lines 29512–29574): Shows a plan's decision tree alongside decision details. Keyboard navigation: `j/k` Nav, `enter` Inspect, `c` Correct, `d` Diff, `h` History, `t` Toggle, `/` Search, `s` Superseded, `x` Expand all, `z` Collapse all, `escape` Close. **ProjectDetailModal** (spec lines 29577–29611): Shows a project's resource DAG, invariants, and running plans. Keyboard navigation: `j/k` Nav, `enter` Drill, `i` Invariants, `v` Validations, `p` Plans, `/` Search, `esc` Close. **PersonaEditorModal** (spec lines 29614–29665): Used for creating and editing personas. Fields: Name, Description, Actor, Color, Base Arguments, Scoped Projects, Scoped Plans, Argument Presets, Cycle Order. Keyboard: `tab` Next field, `enter` Save, `escape` Cancel. These modals are opened by: - `enter` on a plan in the sidebar fullscreen → PlanDetailModal - `enter` on a project in the sidebar fullscreen → ProjectDetailModal - `ctrl+p` in sidebar fullscreen → PersonaEditorModal - `/plan:inspect [id]` slash command → PlanDetailModal - `/project:inspect <name>` slash command → ProjectDetailModal - `/persona:create` slash command → PersonaEditorModal ### Actual Behavior (from code analysis) No modal implementations exist in `src/cleveragents/tui/`: ``` src/cleveragents/tui/ ├── app.py ├── commands.py ├── first_run.py ├── input/ ├── permissions/ ├── persona/ ├── search/ ├── shell_safety/ ├── slash_catalog.py └── widgets/ ├── actor_selection_overlay.py ├── help_panel_overlay.py ├── permission_question.py ├── persona_bar.py ├── prompt.py ├── reference_picker.py ├── slash_command_overlay.py └── thought_block.py ``` No `plan_detail_modal.py`, `project_detail_modal.py`, or `persona_editor_modal.py` exist. No modal base class. No modal infrastructure. ### Code Location - `src/cleveragents/tui/widgets/` — missing modal files ### Steps to Reproduce (Code Analysis) 1. List `src/cleveragents/tui/widgets/` 2. Observe: no modal files 3. Search for "Modal" in all TUI Python files 4. Observe: no results 5. Compare with spec lines 29512–29665 ### Severity High — PlanDetailModal is required for plan inspection and correction. PersonaEditorModal is required for persona creation/editing. These are core TUI workflows. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
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#6467
No description provided.