UAT: agents project list rich output missing spec-required Remote, Active Plans columns and Summary panel #1814

Open
opened 2026-04-02 23:55:15 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: bugfix/m5-project-list-rich-output-columns
  • Commit Message: fix(cli): add Remote, Active Plans columns and Summary panel to agents project list rich output
  • Milestone: v3.5.0
  • Parent Epic: #936

Background and Context

The agents project list command's rich output format does not match the layout prescribed by docs/specification.md lines 3060–3165. The current implementation renders a table with columns (Name, Namespace, Description, Resources, Created) that diverge from the spec, and omits the required Summary panel and status message entirely. This was discovered during UAT of the Output Rendering Pipeline Integration epic.

Current Behavior

In src/cleveragents/cli/commands/project.py, the list_projects() function renders a rich table with the following columns:

  • Name, Namespace, Description, Resources, Created

Missing from the output:

  1. Remote column — should display Yes/No based on whether the project namespace is not "local"
  2. Active Plans column — should display the count of active plans for each project
  3. Summary panel — aggregate statistics block (Total, With Resources, Remote, Total Resources, Indexed Files, Active Plans)
  4. ✓ OK N projects listed status message

The Namespace, Description, and Created columns are not part of the spec-defined list view and should be removed.

Expected Behavior (from spec)

Per docs/specification.md lines 3060–3165 (agents project list section), the rich output must render as:

╭─ Projects ────────────────────────────────────────────────────╮
│ Name               Resources  Remote  Active Plans            │
│ ─────────────────  ─────────  ──────  ────────────            │
│ local/api-service  2          No      1                       │
│ local/docs         1          No      0                       │
╰───────────────────────────────────────────────────────────────╯

╭─ Summary ──────────────────╮
│ Total: 2                   │
│ With Resources: 2          │
│ Remote: 0                  │
│ Total Resources: 3         │
│ Indexed Files: 1,247       │
│ Active Plans: 1            │
╰────────────────────────────╯

✓ OK 2 projects listed

Required table columns: Name, Resources, Remote, Active Plans
Required summary panel fields: Total, With Resources, Remote, Total Resources, Indexed Files, Active Plans

Code Location

src/cleveragents/cli/commands/project.pylist_projects() function

Spec References

  • docs/specification.md lines 3060–3165 (agents project list section)

Subtasks

  • Remove non-spec columns (Namespace, Description, Created) from the rich table in list_projects()
  • Add Remote column (value: Yes if namespace != "local", else No)
  • Add Active Plans column (count of active plans per project)
  • Implement Summary panel rendered after the table with all six required fields (Total, With Resources, Remote, Total Resources, Indexed Files, Active Plans)
  • Add ✓ OK N projects listed status message after the summary panel
  • Tests (Behave): Add/update scenarios in features/ covering the corrected rich output columns and summary panel
  • Tests (Robot): Add/update integration test in robot/ verifying end-to-end agents project list rich output
  • 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.
  • The rich output of agents project list exactly matches the spec layout: four-column table (Name, Resources, Remote, Active Plans), followed by the Summary panel, followed by the ✓ OK N projects listed status line.
  • 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 implementation details.
  • 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-new-issue-creator

## Metadata - **Branch**: `bugfix/m5-project-list-rich-output-columns` - **Commit Message**: `fix(cli): add Remote, Active Plans columns and Summary panel to agents project list rich output` - **Milestone**: v3.5.0 - **Parent Epic**: #936 ## Background and Context The `agents project list` command's rich output format does not match the layout prescribed by `docs/specification.md` lines 3060–3165. The current implementation renders a table with columns (`Name`, `Namespace`, `Description`, `Resources`, `Created`) that diverge from the spec, and omits the required `Summary` panel and status message entirely. This was discovered during UAT of the Output Rendering Pipeline Integration epic. ## Current Behavior In `src/cleveragents/cli/commands/project.py`, the `list_projects()` function renders a rich table with the following columns: - Name, Namespace, Description, Resources, Created Missing from the output: 1. **`Remote`** column — should display `Yes`/`No` based on whether the project namespace is not `"local"` 2. **`Active Plans`** column — should display the count of active plans for each project 3. **`Summary`** panel — aggregate statistics block (Total, With Resources, Remote, Total Resources, Indexed Files, Active Plans) 4. **`✓ OK N projects listed`** status message The `Namespace`, `Description`, and `Created` columns are not part of the spec-defined list view and should be removed. ## Expected Behavior (from spec) Per `docs/specification.md` lines 3060–3165 (`agents project list` section), the rich output must render as: ``` ╭─ Projects ────────────────────────────────────────────────────╮ │ Name Resources Remote Active Plans │ │ ───────────────── ───────── ────── ──────────── │ │ local/api-service 2 No 1 │ │ local/docs 1 No 0 │ ╰───────────────────────────────────────────────────────────────╯ ╭─ Summary ──────────────────╮ │ Total: 2 │ │ With Resources: 2 │ │ Remote: 0 │ │ Total Resources: 3 │ │ Indexed Files: 1,247 │ │ Active Plans: 1 │ ╰────────────────────────────╯ ✓ OK 2 projects listed ``` Required table columns: **Name**, **Resources**, **Remote**, **Active Plans** Required summary panel fields: Total, With Resources, Remote, Total Resources, Indexed Files, Active Plans ## Code Location `src/cleveragents/cli/commands/project.py` — `list_projects()` function ## Spec References - `docs/specification.md` lines 3060–3165 (`agents project list` section) ## Subtasks - [ ] Remove non-spec columns (`Namespace`, `Description`, `Created`) from the rich table in `list_projects()` - [ ] Add `Remote` column (value: `Yes` if namespace != `"local"`, else `No`) - [ ] Add `Active Plans` column (count of active plans per project) - [ ] Implement `Summary` panel rendered after the table with all six required fields (Total, With Resources, Remote, Total Resources, Indexed Files, Active Plans) - [ ] Add `✓ OK N projects listed` status message after the summary panel - [ ] Tests (Behave): Add/update scenarios in `features/` covering the corrected rich output columns and summary panel - [ ] Tests (Robot): Add/update integration test in `robot/` verifying end-to-end `agents project list` rich output - [ ] 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. - The rich output of `agents project list` exactly matches the spec layout: four-column table (`Name`, `Resources`, `Remote`, `Active Plans`), followed by the `Summary` panel, followed by the `✓ OK N projects listed` status line. - 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 implementation details. - 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-new-issue-creator
freemo added this to the v3.5.0 milestone 2026-04-02 23:56:28 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • MoSCoW: MoSCoW/Should Have — bug or spec compliance issue.

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

Issue triaged by project owner: - **State**: Verified - **MoSCoW**: MoSCoW/Should Have — bug or spec compliance issue. --- **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.

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