UAT: agents resource list missing Children count column, Projects column, and Summary panel — spec requires all three #4841

Open
opened 2026-04-08 20:06:42 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area: Resource Registry — agents resource list command output

Severity: Medium — key resource metadata (child count, project links) not visible in list view


What Was Tested

resource_list() in src/cleveragents/cli/commands/resource.py.

Expected Behavior (from spec, lines 11051–11067)

The agents resource list rich output should show a table with columns:

  • Name — namespaced resource name
  • ID — ULID (truncated)
  • Type — resource type name
  • Phys/Virt — physical or virtual classification
  • Children — count of auto-discovered child resources
  • Projects — comma-separated list of linked project names

Plus a Summary panel below the table:

╭─ Summary ───────────╮
│ Total: 3            │
│ Physical: 3         │
│ Virtual: 0          │
│ Total Children: 405 │
╰─────────────────────╯
✓ OK 3 resources listed

The JSON output (spec lines 11096–11130) should include children count and projects array per resource, plus a summary object.

Actual Behavior (from code)

resource_list() shows a table with columns: ID, Name, Type, Status (lifecycle state), Kind, Location, Description.

Missing columns: Children, Projects
Extra columns: Status (lifecycle state), Location, Description (these belong in resource show, not list)
Missing: Summary panel and "N resources listed" footer

The JSON output via _resource_dict() also lacks children count and projects array.

Code Location

  • src/cleveragents/cli/commands/resource.pyresource_list() function, table construction

Steps to Reproduce

agents resource list

Expected: Table with Name, ID, Type, Phys/Virt, Children, Projects columns + Summary panel
Actual: Table with ID, Name, Type, Status, Kind, Location, Description columns (no Children, no Projects, no Summary)


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

## Bug Report **Feature Area:** Resource Registry — `agents resource list` command output **Severity:** Medium — key resource metadata (child count, project links) not visible in list view --- ## What Was Tested `resource_list()` in `src/cleveragents/cli/commands/resource.py`. ## Expected Behavior (from spec, lines 11051–11067) The `agents resource list` rich output should show a table with columns: - **Name** — namespaced resource name - **ID** — ULID (truncated) - **Type** — resource type name - **Phys/Virt** — physical or virtual classification - **Children** — count of auto-discovered child resources - **Projects** — comma-separated list of linked project names Plus a **Summary panel** below the table: ``` ╭─ Summary ───────────╮ │ Total: 3 │ │ Physical: 3 │ │ Virtual: 0 │ │ Total Children: 405 │ ╰─────────────────────╯ ✓ OK 3 resources listed ``` The JSON output (spec lines 11096–11130) should include `children` count and `projects` array per resource, plus a `summary` object. ## Actual Behavior (from code) `resource_list()` shows a table with columns: ID, Name, Type, **Status** (lifecycle state), **Kind**, **Location**, **Description**. Missing columns: **Children**, **Projects** Extra columns: Status (lifecycle state), Location, Description (these belong in `resource show`, not `list`) Missing: Summary panel and "N resources listed" footer The JSON output via `_resource_dict()` also lacks `children` count and `projects` array. ## Code Location - `src/cleveragents/cli/commands/resource.py` — `resource_list()` function, table construction ## Steps to Reproduce ```bash agents resource list ``` Expected: Table with Name, ID, Type, Phys/Virt, Children, Projects columns + Summary panel Actual: Table with ID, Name, Type, Status, Kind, Location, Description columns (no Children, no Projects, no Summary) --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.5.0 milestone 2026-04-08 20:18:05 +00:00
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#4841
No description provided.