[BUG] agents plan tree rich/plain output missing Tree Summary and Child Plans panels #9164

Open
opened 2026-04-14 08:59:19 +00:00 by HAL9000 · 1 comment
Owner

Metadata

  • Commit Message: fix(plan): add Tree Summary and Child Plans panels to plan tree rich/plain output
  • Branch: fix/plan-tree-missing-summary-child-plans-panels

Background and Context

The spec (docs/specification.md §agents plan tree, lines 14337–14421) defines the required rich and plain output format for agents plan tree. The output must include a "Tree Summary" panel and a "Child Plans" panel.

Current Behavior

The tree_decisions_cmd() function in src/cleveragents/cli/commands/plan.py (lines 4457–4543) renders the Rich tree and a "Decision IDs (for correction)" panel, but does NOT render:

  1. A Tree Summary panel showing: Nodes, Depth, Child Plans, Invariants, Superseded counts
  2. A Child Plans panel showing child plan IDs, phases, and states

Expected Behavior

Per docs/specification.md lines 14352–14365 (Rich format) and 14398–14410 (Plain format), the output must include Tree Summary and Child Plans panels.

Acceptance Criteria

  • agents plan tree <PLAN_ID> (rich format) renders a "Tree Summary" panel with Nodes, Depth, Child Plans, Invariants, Superseded counts
  • agents plan tree <PLAN_ID> (rich format) renders a "Child Plans" panel when child plans exist
  • agents plan tree <PLAN_ID> --format plain renders equivalent text sections
  • BDD tests added to verify Tree Summary and Child Plans sections appear in output

Subtasks

  • Compute tree statistics (node count, max depth, invariant count, superseded count, child plan count)
  • Add Tree Summary panel to rich output
  • Add Child Plans panel to rich output (when applicable)
  • Add equivalent plain text sections
  • Add BDD scenarios verifying the new panels

Definition of Done

  • agents plan tree rich output includes Tree Summary and Child Plans panels
  • All BDD tests pass

Automated by CleverAgents Bot
Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor

## Metadata - **Commit Message**: `fix(plan): add Tree Summary and Child Plans panels to plan tree rich/plain output` - **Branch**: `fix/plan-tree-missing-summary-child-plans-panels` ## Background and Context The spec (`docs/specification.md` §agents plan tree, lines 14337–14421) defines the required rich and plain output format for `agents plan tree`. The output must include a "Tree Summary" panel and a "Child Plans" panel. ## Current Behavior The `tree_decisions_cmd()` function in `src/cleveragents/cli/commands/plan.py` (lines 4457–4543) renders the Rich tree and a "Decision IDs (for correction)" panel, but does NOT render: 1. A **Tree Summary** panel showing: Nodes, Depth, Child Plans, Invariants, Superseded counts 2. A **Child Plans** panel showing child plan IDs, phases, and states ## Expected Behavior Per `docs/specification.md` lines 14352–14365 (Rich format) and 14398–14410 (Plain format), the output must include Tree Summary and Child Plans panels. ## Acceptance Criteria - [ ] `agents plan tree <PLAN_ID>` (rich format) renders a "Tree Summary" panel with Nodes, Depth, Child Plans, Invariants, Superseded counts - [ ] `agents plan tree <PLAN_ID>` (rich format) renders a "Child Plans" panel when child plans exist - [ ] `agents plan tree <PLAN_ID> --format plain` renders equivalent text sections - [ ] BDD tests added to verify Tree Summary and Child Plans sections appear in output ## Subtasks - [ ] Compute tree statistics (node count, max depth, invariant count, superseded count, child plan count) - [ ] Add Tree Summary panel to rich output - [ ] Add Child Plans panel to rich output (when applicable) - [ ] Add equivalent plain text sections - [ ] Add BDD scenarios verifying the new panels ## Definition of Done - `agents plan tree` rich output includes Tree Summary and Child Plans panels - All BDD tests pass --- **Automated by CleverAgents Bot** Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor
HAL9000 added this to the v3.2.0 milestone 2026-04-14 09:05:08 +00:00
Author
Owner

Triage: Verified [AUTO-OWNR-1]

Valid bug: agents plan tree rich/plain output is missing the Tree Summary and Child Plans panels required by the spec. This is a spec compliance gap in a core M3 deliverable.

Assigning to v3.2.0 as plan tree is a core M3 deliverable. Priority Medium — missing UI panels.

MoSCoW: Should Have — the Tree Summary and Child Plans panels provide important navigation context.


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

✅ **Triage: Verified** [AUTO-OWNR-1] Valid bug: `agents plan tree` rich/plain output is missing the Tree Summary and Child Plans panels required by the spec. This is a spec compliance gap in a core M3 deliverable. Assigning to **v3.2.0** as `plan tree` is a core M3 deliverable. Priority **Medium** — missing UI panels. MoSCoW: **Should Have** — the Tree Summary and Child Plans panels provide important navigation context. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
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#9164
No description provided.