UAT: agents plan tree rich output missing "Tree Summary", "Child Plans", and "Decision IDs (for correction)" panels #6478

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

Bug Report

Feature Area

Plan Lifecycle — agents plan tree rich output

Spec Reference

docs/specification.md §14320–14379 (agents plan tree rich output)

Expected Behavior (from spec)

The spec defines the following output panels for agents plan tree <PLAN_ID> (rich format):

  1. "Decision Tree" panel — tree visualization with decision nodes (type, question, confidence)
  2. "Tree Summary" panel — Nodes, Depth, Child Plans, Invariants, Superseded count
  3. "Child Plans" panel — table of child plan IDs, phases, states
  4. "Decision IDs (for correction)" panel — Root, Invariant, Strategy, Parallel, Spawn decision IDs
  5. Footer: ✓ OK Decision tree rendered

Actual Behavior

The implementation in tree_decisions_cmd() (src/cleveragents/cli/commands/plan.py, lines 4341–4468) for rich output:

rich_tree = RichTree(f"[bold]Plan {plan_id[:8]}...[/bold]")
# ... builds tree ...
console.print(rich_tree)

Only the tree visualization is rendered. Missing panels:

  • "Tree Summary" panel (Nodes, Depth, Child Plans, Invariants, Superseded)
  • "Child Plans" panel (table of child plan IDs, phases, states)
  • "Decision IDs (for correction)" panel (Root, Invariant, Strategy, Parallel, Spawn IDs)
  • Footer "✓ OK Decision tree rendered"

Code Location

src/cleveragents/cli/commands/plan.py:

  • Lines 4421–4468: tree_decisions_cmd() rich output — only renders the tree, missing 3 additional panels and footer

Steps to Reproduce

agents plan tree <PLAN_ID>

Observe: only the tree visualization, no "Tree Summary", "Child Plans", or "Decision IDs" panels.

Severity

Low-Medium — the tree visualization is present but users cannot see the summary stats, child plan statuses, or decision IDs needed for correction commands.


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

## Bug Report ### Feature Area Plan Lifecycle — `agents plan tree` rich output ### Spec Reference `docs/specification.md` §14320–14379 (agents plan tree rich output) ### Expected Behavior (from spec) The spec defines the following output panels for `agents plan tree <PLAN_ID>` (rich format): 1. **"Decision Tree" panel** — tree visualization with decision nodes (type, question, confidence) 2. **"Tree Summary" panel** — Nodes, Depth, Child Plans, Invariants, Superseded count 3. **"Child Plans" panel** — table of child plan IDs, phases, states 4. **"Decision IDs (for correction)" panel** — Root, Invariant, Strategy, Parallel, Spawn decision IDs 5. **Footer**: `✓ OK Decision tree rendered` ### Actual Behavior The implementation in `tree_decisions_cmd()` (`src/cleveragents/cli/commands/plan.py`, lines 4341–4468) for rich output: ```python rich_tree = RichTree(f"[bold]Plan {plan_id[:8]}...[/bold]") # ... builds tree ... console.print(rich_tree) ``` Only the tree visualization is rendered. **Missing panels:** - ❌ "Tree Summary" panel (Nodes, Depth, Child Plans, Invariants, Superseded) - ❌ "Child Plans" panel (table of child plan IDs, phases, states) - ❌ "Decision IDs (for correction)" panel (Root, Invariant, Strategy, Parallel, Spawn IDs) - ❌ Footer "✓ OK Decision tree rendered" ### Code Location `src/cleveragents/cli/commands/plan.py`: - Lines 4421–4468: `tree_decisions_cmd()` rich output — only renders the tree, missing 3 additional panels and footer ### Steps to Reproduce ```bash agents plan tree <PLAN_ID> ``` Observe: only the tree visualization, no "Tree Summary", "Child Plans", or "Decision IDs" panels. ### Severity Low-Medium — the tree visualization is present but users cannot see the summary stats, child plan statuses, or decision IDs needed for correction commands. --- **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.

Dependencies

No dependencies set.

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