UAT: agents resource list output missing spec-required columns (Children, Projects) and Summary panel #2479

Open
opened 2026-04-03 18:37:02 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: fix/resource-list-columns-and-summary-panel
  • Commit Message: fix(cli): add Children and Projects columns and Summary panel to resource list output
  • Milestone: v3.6.0
  • Parent Epic: #825

Background

The agents resource list command output does not match the spec. The spec requires columns: Name, ID, Type, Phys/Virt, Children, Projects, plus a Summary panel showing Total, Physical, Virtual, Total Children counts. The current code renders columns: ID, Name, Type, Kind, Location, Description — with no Summary panel, no Children count, and no Projects column.

Spec reference (lines 11050–11067): Shows the required table format with Children and Projects columns, plus a Summary panel.

Code location: src/cleveragents/cli/commands/resource.py lines 793–818 (the resource_list function's table rendering)

Actual behavior: Table columns are: ID, Name, Type, Kind, Location, Description. No Summary panel. No Children count. No Projects column.

Expected behavior:

  • Table columns: Name, ID, Type, Phys/Virt, Children, Projects
  • A Summary panel below the table showing: Total, Physical, Virtual, Total Children

Subtasks

  • Refactor the table rendering in resource_list (src/cleveragents/cli/commands/resource.py lines 793–818) to use spec-required columns: Name, ID, Type, Phys/Virt, Children, Projects
  • Populate the Children column with the count of auto-discovered child resources for each entry
  • Populate the Projects column with the count (or names) of projects that reference each resource
  • Add a Summary panel below the table displaying: Total resources, Physical count, Virtual count, Total Children count
  • Remove the non-spec columns: Kind, Location, Description (or move them to a --verbose / --long flag if useful)
  • Tests (Behave): Add scenarios verifying the new column set and Summary panel are rendered correctly
  • Tests (Behave): Add scenario verifying Children and Projects counts are accurate
  • Tests (Robot): Add integration test for resource list output format against a populated resource registry
  • Verify coverage ≥ 97% via nox -s coverage_report
  • Run nox (all default sessions), fix any errors

Definition of Done

This issue is complete when:

  • All subtasks above are completed and checked off.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly.
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.
  • All nox stages pass.
  • Coverage ≥ 97%.

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

## Metadata - **Branch**: `fix/resource-list-columns-and-summary-panel` - **Commit Message**: `fix(cli): add Children and Projects columns and Summary panel to resource list output` - **Milestone**: v3.6.0 - **Parent Epic**: #825 ## Background The `agents resource list` command output does not match the spec. The spec requires columns: Name, ID, Type, Phys/Virt, Children, Projects, plus a Summary panel showing Total, Physical, Virtual, Total Children counts. The current code renders columns: ID, Name, Type, Kind, Location, Description — with no Summary panel, no Children count, and no Projects column. **Spec reference (lines 11050–11067):** Shows the required table format with Children and Projects columns, plus a Summary panel. **Code location:** `src/cleveragents/cli/commands/resource.py` lines 793–818 (the `resource_list` function's table rendering) **Actual behavior:** Table columns are: ID, Name, Type, Kind, Location, Description. No Summary panel. No Children count. No Projects column. **Expected behavior:** - Table columns: Name, ID, Type, Phys/Virt, Children, Projects - A Summary panel below the table showing: Total, Physical, Virtual, Total Children ## Subtasks - [ ] Refactor the table rendering in `resource_list` (`src/cleveragents/cli/commands/resource.py` lines 793–818) to use spec-required columns: Name, ID, Type, Phys/Virt, Children, Projects - [ ] Populate the **Children** column with the count of auto-discovered child resources for each entry - [ ] Populate the **Projects** column with the count (or names) of projects that reference each resource - [ ] Add a **Summary panel** below the table displaying: Total resources, Physical count, Virtual count, Total Children count - [ ] Remove the non-spec columns: Kind, Location, Description (or move them to a `--verbose` / `--long` flag if useful) - [ ] Tests (Behave): Add scenarios verifying the new column set and Summary panel are rendered correctly - [ ] Tests (Behave): Add scenario verifying Children and Projects counts are accurate - [ ] Tests (Robot): Add integration test for `resource list` output format against a populated resource registry - [ ] Verify coverage ≥ 97% via `nox -s coverage_report` - [ ] Run `nox` (all default sessions), fix any errors ## Definition of Done This issue is complete when: - All subtasks above are completed and checked off. - A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation. - The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly. - The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. - All nox stages pass. - Coverage ≥ 97%. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-uat-tester
freemo added this to the v3.6.0 milestone 2026-04-03 18:37:25 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • MoSCoW: Should Have — Spec compliance or quality improvement that should be included in the milestone.

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

Issue triaged by project owner: - **State**: Verified - **MoSCoW**: Should Have — Spec compliance or quality improvement that should be included in the milestone. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
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.

Blocks
Reference
cleveragents/cleveragents-core#2479
No description provided.