UAT: TUI PlanDetailModal with decision tree visualization not implemented #4630

Open
opened 2026-04-08 17:40:08 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area: TUI plan monitoring and live updates (v3.7.0 TUI)
Severity: Critical — blocks milestone acceptance for v3.7.0 TUI
Found by: UAT tester instance uat-tester-worker-tui-plan-monitoring


What Was Tested

Code-level analysis of src/cleveragents/tui/ against the specification section "Plan Detail Modal" (spec lines 29512–29575).


Expected Behavior (from spec)

The spec defines a PlanDetailModal that shows a plan's decision tree alongside decision details:

┌─── Plan: fix-auth-bug ────────────────────────────────────────────────────┐
│ ID: 01HXM8C2ABCD   Phase: Execute   State: in_progress                    │
│ Profile: trusted   Actor: claude-4-sonnet   Started: 2m ago   Cost: $0.08 │
│ Projects: local/api-service                                                │
│────────────────────────────────────────────────────────────────────────────│
│ DECISION TREE                    │ DECISION DETAIL                         │
│ ┌──────────────────────────────┐ │ ┌──────────────────────────────────┐    │
│ │ ▼ D1 strategy_choice    ✔   │ │ │ Decision: D3                     │    │
│ │   ├─ D2 invariant_enforced  │ │ │ Type: implementation_choice      │    │
│ │   ├─▶ D3 implementation_ch  │ │ │ ...                              │    │
│ └──────────────────────────────┘ │ └──────────────────────────────────┘    │
│ Phase: ●●●○                      │                                         │
│────────────────────────────────────────────────────────────────────────────│
│ j/k Nav │ enter Inspect │ c Correct │ d Diff │ h History │ t Toggle │ /   │
└────────────────────────────────────────────────────────────────────────────┘

Required features:

  • Two-panel layout: decision tree (left) + decision detail (right)
  • Decision nodes with status icons: completed, active, pending, failed, superseded
  • Phase progress indicator: ●●●○ (filled dots per completed phase)
  • Decision count summary: "8 total, 4 completed, 1 active, 3 pending"
  • Keyboard navigation: j/k, enter, space, c, d, h, t, x, z, s, /, escape
  • Opened via enter on a plan in the sidebar or /plan:inspect

Actual Behavior (from code analysis)

  • No PlanDetailModal class exists anywhere in src/cleveragents/tui/
  • No decision tree widget of any kind
  • No phase progress indicator widget (●●●○)
  • The screens/ directory is completely empty
  • The widgets/ directory has no plan-related widgets

The /plan:inspect slash command is registered in slash_catalog.py (line 53) but has no implementation in commands.pyTuiCommandRouter.handle() only handles persona, session, and help commands (lines 52–58).


Code Locations

  • src/cleveragents/tui/app.py — no modal push logic
  • src/cleveragents/tui/commands.py lines 48–58 — handle() missing plan command dispatch
  • src/cleveragents/tui/screens/ — empty directory
  • src/cleveragents/tui/widgets/ — no plan detail or decision tree widgets

Impact

Users cannot:

  • Inspect a plan's decision tree
  • Navigate decisions with keyboard
  • See decision details (question, chosen option, alternatives, confidence, rationale)
  • Correct decisions via the TUI
  • View phase progress indicators

This is a core plan monitoring feature for v3.7.0.


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

## Bug Report **Feature Area:** TUI plan monitoring and live updates (v3.7.0 TUI) **Severity:** Critical — blocks milestone acceptance for v3.7.0 TUI **Found by:** UAT tester instance `uat-tester-worker-tui-plan-monitoring` --- ### What Was Tested Code-level analysis of `src/cleveragents/tui/` against the specification section **"Plan Detail Modal"** (spec lines 29512–29575). --- ### Expected Behavior (from spec) The spec defines a `PlanDetailModal` that shows a plan's decision tree alongside decision details: ``` ┌─── Plan: fix-auth-bug ────────────────────────────────────────────────────┐ │ ID: 01HXM8C2ABCD Phase: Execute State: in_progress │ │ Profile: trusted Actor: claude-4-sonnet Started: 2m ago Cost: $0.08 │ │ Projects: local/api-service │ │────────────────────────────────────────────────────────────────────────────│ │ DECISION TREE │ DECISION DETAIL │ │ ┌──────────────────────────────┐ │ ┌──────────────────────────────────┐ │ │ │ ▼ D1 strategy_choice ✔ │ │ │ Decision: D3 │ │ │ │ ├─ D2 invariant_enforced │ │ │ Type: implementation_choice │ │ │ │ ├─▶ D3 implementation_ch │ │ │ ... │ │ │ └──────────────────────────────┘ │ └──────────────────────────────────┘ │ │ Phase: ●●●○ │ │ │────────────────────────────────────────────────────────────────────────────│ │ j/k Nav │ enter Inspect │ c Correct │ d Diff │ h History │ t Toggle │ / │ └────────────────────────────────────────────────────────────────────────────┘ ``` Required features: - Two-panel layout: decision tree (left) + decision detail (right) - Decision nodes with status icons: `✔` completed, `⚡` active, `⌛` pending, `✗` failed, `⊘` superseded - Phase progress indicator: `●●●○` (filled dots per completed phase) - Decision count summary: "8 total, 4 completed, 1 active, 3 pending" - Keyboard navigation: `j`/`k`, `enter`, `space`, `c`, `d`, `h`, `t`, `x`, `z`, `s`, `/`, `escape` - Opened via `enter` on a plan in the sidebar or `/plan:inspect` --- ### Actual Behavior (from code analysis) - **No `PlanDetailModal` class** exists anywhere in `src/cleveragents/tui/` - **No decision tree widget** of any kind - **No phase progress indicator widget** (●●●○) - The `screens/` directory is completely empty - The `widgets/` directory has no plan-related widgets The `/plan:inspect` slash command is registered in `slash_catalog.py` (line 53) but has no implementation in `commands.py` — `TuiCommandRouter.handle()` only handles `persona`, `session`, and `help` commands (lines 52–58). --- ### Code Locations - `src/cleveragents/tui/app.py` — no modal push logic - `src/cleveragents/tui/commands.py` lines 48–58 — `handle()` missing plan command dispatch - `src/cleveragents/tui/screens/` — empty directory - `src/cleveragents/tui/widgets/` — no plan detail or decision tree widgets --- ### Impact Users cannot: - Inspect a plan's decision tree - Navigate decisions with keyboard - See decision details (question, chosen option, alternatives, confidence, rationale) - Correct decisions via the TUI - View phase progress indicators This is a core plan monitoring feature for v3.7.0. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.7.0 milestone 2026-04-08 17:40:53 +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.

Dependencies

No dependencies set.

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