UAT: agents plan list Summary panel missing Cancelled count — spec requires it alongside Total, Processing, Completed, Errored #2543

Open
opened 2026-04-03 18:50:53 +00:00 by freemo · 2 comments
Owner

Bug Report

What was tested

The agents plan list rich output Summary panel vs the specification.

Expected behavior (from spec)

Per docs/specification.md §agents plan list, the Summary panel must include a Cancelled count:

╭─ Summary ─────────────╮
│ Total: 5              │
│ Processing: 2         │
│ Completed: 1          │
│ Errored: 1            │
│ Cancelled: 1          │
╰───────────────────────╯

The plain text output also shows:

Summary
  Total: 5
  Processing: 2
  Completed: 1
  Errored: 1
  Cancelled: 1

Actual behavior (from code)

In src/cleveragents/cli/commands/plan.py (lines 2502–2516), the Summary panel is built as:

summary_text = (
    f"[yellow bold]Total:[/yellow bold] {total_plans}\n"
    f"[blue bold]Processing:[/blue bold] {processing_count}\n"
    f"[green bold]Completed:[/green bold] {completed_count}\n"
    f"[red bold]Errored:[/red bold] {errored_count}"
)

The Cancelled count is completely absent. There is no cancelled_count variable computed or displayed.

Impact

  • Users cannot see how many plans are in the cancelled state from the summary panel
  • The output is inconsistent with the spec, which explicitly shows Cancelled: 1 in the summary
  • The JSON output (when it is fixed per issue #2542) will also be missing the cancelled count from data.summary

Code location

src/cleveragents/cli/commands/plan.py, function lifecycle_list_plans, lines ~2502–2516.

Fix

Add a cancelled_count variable:

cancelled_count = sum(1 for p in plans if p.processing_state.value == "cancelled")

And include it in the summary panel:

summary_text = (
    ...
    f"[dim]Cancelled:[/dim] {cancelled_count}"
)

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

## Bug Report ### What was tested The `agents plan list` rich output Summary panel vs the specification. ### Expected behavior (from spec) Per `docs/specification.md` §`agents plan list`, the Summary panel must include a `Cancelled` count: ``` ╭─ Summary ─────────────╮ │ Total: 5 │ │ Processing: 2 │ │ Completed: 1 │ │ Errored: 1 │ │ Cancelled: 1 │ ╰───────────────────────╯ ``` The plain text output also shows: ``` Summary Total: 5 Processing: 2 Completed: 1 Errored: 1 Cancelled: 1 ``` ### Actual behavior (from code) In `src/cleveragents/cli/commands/plan.py` (lines 2502–2516), the Summary panel is built as: ```python summary_text = ( f"[yellow bold]Total:[/yellow bold] {total_plans}\n" f"[blue bold]Processing:[/blue bold] {processing_count}\n" f"[green bold]Completed:[/green bold] {completed_count}\n" f"[red bold]Errored:[/red bold] {errored_count}" ) ``` The `Cancelled` count is completely absent. There is no `cancelled_count` variable computed or displayed. ### Impact - Users cannot see how many plans are in the `cancelled` state from the summary panel - The output is inconsistent with the spec, which explicitly shows `Cancelled: 1` in the summary - The JSON output (when it is fixed per issue #2542) will also be missing the `cancelled` count from `data.summary` ### Code location `src/cleveragents/cli/commands/plan.py`, function `lifecycle_list_plans`, lines ~2502–2516. ### Fix Add a `cancelled_count` variable: ```python cancelled_count = sum(1 for p in plans if p.processing_state.value == "cancelled") ``` And include it in the summary panel: ```python summary_text = ( ... f"[dim]Cancelled:[/dim] {cancelled_count}" ) ``` --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-uat-tester
freemo added this to the v3.5.0 milestone 2026-04-05 05:06:35 +00:00
Author
Owner

This issue has been moved to the backlog as part of an aggressive grooming of the v3.5.0 milestone. It has been deemed non-critical for the minimal viability of the milestone and will be addressed in a future release.

This issue has been moved to the backlog as part of an aggressive grooming of the v3.5.0 milestone. It has been deemed non-critical for the minimal viability of the milestone and will be addressed in a future release.
Author
Owner

This issue has been moved to the backlog as part of an aggressive grooming of the v3.5.0 milestone. It has been deemed non-critical for the minimal viability of the milestone and will be addressed in a future release.

This issue has been moved to the backlog as part of an aggressive grooming of the v3.5.0 milestone. It has been deemed non-critical for the minimal viability of the milestone and will be addressed in a future release.
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#2543
No description provided.