UAT: agents action list missing "Plans" column, "Filters" panel, and "Summary" panel in rich output #5485

Open
opened 2026-04-09 06:59:32 +00:00 by HAL9000 · 0 comments
Owner

Summary

The agents action list command's rich output is missing three spec-required elements:

  1. "Plans" column — count of plans instantiated from each action
  2. "Filters" panel — shows active filter values (State, Namespace)
  3. "Summary" panel — shows totals (Total, Available, Archived, Total Plans Created)

Expected Behavior (from spec)

$ agents action list

╭─ Actions ──────────────────────────────────────────────────────────────────────────────────╮
│ Name                 State      Strategy Actor    Execution Actor  Reusable  Plans         │
│ ───────────────────  ─────────  ────────────────  ───────────────  ────────  ─────         │
│ local/code-coverage  available  local/strategist  local/executor   ✓         3             │
╰────────────────────────────────────────────────────────────────────────────────────────────╯

╭─ Filters ────────╮
│ State: available │
│ Namespace: (any) │
╰──────────────────╯

╭─ Summary ──────────────╮
│ Total: 1               │
│ Available: 1           │
│ Archived: 0            │
│ Total Plans Created: 3 │
╰────────────────────────╯

✓ OK 1 action listed

Actual Behavior

# src/cleveragents/cli/commands/action.py lines 362-390
table = Table(title=f"Actions ({len(actions)} total)")
table.add_column("Namespaced Name", style="cyan")
table.add_column("Short Name", style="blue")
table.add_column("State", style="yellow")
table.add_column("Strategy Actor", style="magenta")
table.add_column("Execution Actor", style="magenta")
table.add_column("Definition of Done", style="dim")
table.add_column("Reusable", justify="center")
table.add_column("Created", style="green")
# No "Plans" column
# No Filters panel
# No Summary panel
# No "✓ OK N action(s) listed" success line

The current output shows a table with different columns than the spec (includes "Short Name", "Definition of Done", "Created" which are not in the spec table; missing "Plans").

Code Location

  • File: src/cleveragents/cli/commands/action.py
  • Function: list_actions() at line 274
  • Lines: 362-390 (table construction)

Spec Reference

  • docs/specification.md lines 16366–16483: agents action list section with Rich/Plain/JSON/YAML output examples

Impact

  • Users cannot see how many plans have been created from each action
  • Missing summary statistics (total available/archived counts)
  • Missing filter display (users can't confirm which filters are active)
  • Table columns don't match spec

Subtasks

  • Add "Plans" column to the action list table (count of plans per action)
  • Add "Filters" panel showing active State and Namespace filters
  • Add "Summary" panel showing Total, Available, Archived, Total Plans Created
  • Add ✓ OK N action(s) listed success line
  • Align table columns with spec (Name, State, Strategy Actor, Execution Actor, Reusable, Plans)
  • Update JSON/YAML output to include filters and summary sections per spec
  • Add unit tests for the new output elements

Definition of Done

  • Rich output table has columns: Name, State, Strategy Actor, Execution Actor, Reusable, Plans
  • "Filters" panel shows active filter values
  • "Summary" panel shows Total, Available, Archived, Total Plans Created
  • Success line ✓ OK N action(s) listed shown
  • JSON output includes data.filters and data.summary sections

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

## Summary The `agents action list` command's rich output is missing three spec-required elements: 1. **"Plans" column** — count of plans instantiated from each action 2. **"Filters" panel** — shows active filter values (State, Namespace) 3. **"Summary" panel** — shows totals (Total, Available, Archived, Total Plans Created) ## Expected Behavior (from spec) ``` $ agents action list ╭─ Actions ──────────────────────────────────────────────────────────────────────────────────╮ │ Name State Strategy Actor Execution Actor Reusable Plans │ │ ─────────────────── ───────── ──────────────── ─────────────── ──────── ───── │ │ local/code-coverage available local/strategist local/executor ✓ 3 │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─ Filters ────────╮ │ State: available │ │ Namespace: (any) │ ╰──────────────────╯ ╭─ Summary ──────────────╮ │ Total: 1 │ │ Available: 1 │ │ Archived: 0 │ │ Total Plans Created: 3 │ ╰────────────────────────╯ ✓ OK 1 action listed ``` ## Actual Behavior ```python # src/cleveragents/cli/commands/action.py lines 362-390 table = Table(title=f"Actions ({len(actions)} total)") table.add_column("Namespaced Name", style="cyan") table.add_column("Short Name", style="blue") table.add_column("State", style="yellow") table.add_column("Strategy Actor", style="magenta") table.add_column("Execution Actor", style="magenta") table.add_column("Definition of Done", style="dim") table.add_column("Reusable", justify="center") table.add_column("Created", style="green") # No "Plans" column # No Filters panel # No Summary panel # No "✓ OK N action(s) listed" success line ``` The current output shows a table with different columns than the spec (includes "Short Name", "Definition of Done", "Created" which are not in the spec table; missing "Plans"). ## Code Location - **File**: `src/cleveragents/cli/commands/action.py` - **Function**: `list_actions()` at line 274 - **Lines**: 362-390 (table construction) ## Spec Reference - `docs/specification.md` lines 16366–16483: `agents action list` section with Rich/Plain/JSON/YAML output examples ## Impact - Users cannot see how many plans have been created from each action - Missing summary statistics (total available/archived counts) - Missing filter display (users can't confirm which filters are active) - Table columns don't match spec ## Subtasks - [ ] Add "Plans" column to the action list table (count of plans per action) - [ ] Add "Filters" panel showing active State and Namespace filters - [ ] Add "Summary" panel showing Total, Available, Archived, Total Plans Created - [ ] Add `✓ OK N action(s) listed` success line - [ ] Align table columns with spec (Name, State, Strategy Actor, Execution Actor, Reusable, Plans) - [ ] Update JSON/YAML output to include `filters` and `summary` sections per spec - [ ] Add unit tests for the new output elements ## Definition of Done - Rich output table has columns: Name, State, Strategy Actor, Execution Actor, Reusable, Plans - "Filters" panel shows active filter values - "Summary" panel shows Total, Available, Archived, Total Plans Created - Success line `✓ OK N action(s) listed` shown - JSON output includes `data.filters` and `data.summary` sections --- **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#5485
No description provided.