UAT: agents resource type list missing "✓ OK N resource types listed" success count message #5632

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

Bug Report

Feature Area: Resource Types — agents resource type list CLI output

Severity: Non-critical (backlog)

What Was Tested

Code-level analysis of src/cleveragents/cli/commands/resource.py against the specification's documented output format for agents resource type list.

Expected Behavior (from spec §agents resource type list)

The spec shows the following output after listing resource types:

$ agents resource type list

[table of resource types]

✓ OK 25 resource types listed

The spec's JSON output also includes:

{
  "messages": ["25 resource types listed"]
}

Actual Behavior

In src/cleveragents/cli/commands/resource.py lines 371-395, the type_list function:

  1. Renders the table of resource types
  2. Does NOT print the "✓ OK N resource types listed" success message after the table

The table is printed but there is no count summary message.

Code Location

  • src/cleveragents/cli/commands/resource.py lines 327-404 (type_list function)

Fix Required

After printing the table, add:

console.print(f"[green]✓ OK[/green] {len(types)} resource type{'s' if len(types) != 1 else ''} listed")

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

## Bug Report **Feature Area**: Resource Types — `agents resource type list` CLI output **Severity**: Non-critical (backlog) ### What Was Tested Code-level analysis of `src/cleveragents/cli/commands/resource.py` against the specification's documented output format for `agents resource type list`. ### Expected Behavior (from spec §agents resource type list) The spec shows the following output after listing resource types: ``` $ agents resource type list [table of resource types] ✓ OK 25 resource types listed ``` The spec's JSON output also includes: ```json { "messages": ["25 resource types listed"] } ``` ### Actual Behavior In `src/cleveragents/cli/commands/resource.py` lines 371-395, the `type_list` function: 1. Renders the table of resource types 2. **Does NOT print** the "✓ OK N resource types listed" success message after the table The table is printed but there is no count summary message. ### Code Location - `src/cleveragents/cli/commands/resource.py` lines 327-404 (`type_list` function) ### Fix Required After printing the table, add: ```python console.print(f"[green]✓ OK[/green] {len(types)} resource type{'s' if len(types) != 1 else ''} listed") ``` --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-09 08:05:56 +00:00
Author
Owner

Label compliance fix applied:

  • Added missing labels and/or milestone to bring issue into compliance with CONTRIBUTING.md

Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: backlog-groomer

Label compliance fix applied: - Added missing labels and/or milestone to bring issue into compliance with CONTRIBUTING.md --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: backlog-groomer
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.

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