UAT: agents automation-profile list rich output missing spec-required Summary panel and uses wrong column names #4031

Open
opened 2026-04-06 08:50:08 +00:00 by freemo · 0 comments
Owner

Metadata

  • Branch: fix/automation-profile-list-spec-output
  • Commit Message: fix(cli): update automation-profile list output to match spec columns and add summary panel
  • Milestone: (none — see backlog note below)
  • Parent Epic: #3370

Bug Report

What Was Tested

The agents automation-profile list command's rich output format was compared against the specification.

Expected Behavior (from spec)

Per docs/specification.md lines 16945–16963, the automation-profile list rich output should show:

  1. A table with columns: Name, Source, Auto-Apply (= select_tool threshold), Sandbox, Description
  2. A Summary panel showing: Built-in count, Custom count, Total count
╭─ Automation Profiles ──────────────────────────────────────────────────────────╮
│ Name                Source    Auto-Apply  Sandbox  Description                 │
│ ──────────────────  ────────  ──────────  ───────  ────────────────────────    │
│ manual             built-in  1.0         yes      Human-driven (default)       │
│ ...                                                                             │
╰────────────────────────────────────────────────────────────────────────────────╯

╭─ Summary ───────────╮
│ Built-in: 8         │
│ Custom: 1           │
│ Total: 9            │
╰─────────────────────╯

✓ OK 9 profiles listed

Actual Behavior

src/cleveragents/cli/commands/automation_profile.py, lines 391–413:

The current implementation:

  1. Shows columns: Name, Source, Description, Decompose, Create Tool, Select Tool, Sandbox — different from the spec's required columns
  2. Missing the Summary panel (Built-in/Custom/Total counts)
  3. The spec uses "Auto-Apply" as the column name (mapping to select_tool), not "Select Tool"
  4. The spec does not show "Decompose" or "Create Tool" columns in the list view

Code Location

  • src/cleveragents/cli/commands/automation_profile.py lines 391–413

Fix Required

  1. Change the table columns to match the spec: Name, Source, Auto-Apply (= select_tool), Sandbox, Description
  2. Add a Summary panel after the table showing Built-in count, Custom count, and Total count
  3. Update the plain-text output format to match as well

Subtasks

  • Update table columns to: Name, Source, Auto-Apply, Sandbox, Description
  • Add Summary panel with Built-in/Custom/Total counts
  • Update BDD scenarios to assert correct column names and summary panel
  • Update plain-text output format
  • Run nox (all default sessions), fix any errors
  • Verify coverage >= 97% via nox -s coverage_report

Definition of Done

This issue is complete when:

  • agents automation-profile list rich output matches spec exactly (correct column names: Name, Source, Auto-Apply, Sandbox, Description)
  • Summary panel shows correct Built-in/Custom/Total counts
  • All BDD scenarios pass and assert correct column names and summary panel
  • Plain-text output format updated to match
  • 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 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%

Backlog note: This issue was discovered during autonomous operation
on milestone v3.6.0. It does not block milestone completion and has been
placed in the backlog for human review and future milestone assignment.


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: ca-new-issue-creator

## Metadata - **Branch**: `fix/automation-profile-list-spec-output` - **Commit Message**: `fix(cli): update automation-profile list output to match spec columns and add summary panel` - **Milestone**: *(none — see backlog note below)* - **Parent Epic**: #3370 ## Bug Report ### What Was Tested The `agents automation-profile list` command's rich output format was compared against the specification. ### Expected Behavior (from spec) Per `docs/specification.md` lines 16945–16963, the `automation-profile list` rich output should show: 1. A table with columns: **Name**, **Source**, **Auto-Apply** (= `select_tool` threshold), **Sandbox**, **Description** 2. A **Summary panel** showing: Built-in count, Custom count, Total count ``` ╭─ Automation Profiles ──────────────────────────────────────────────────────────╮ │ Name Source Auto-Apply Sandbox Description │ │ ────────────────── ──────── ────────── ─────── ──────────────────────── │ │ manual built-in 1.0 yes Human-driven (default) │ │ ... │ ╰────────────────────────────────────────────────────────────────────────────────╯ ╭─ Summary ───────────╮ │ Built-in: 8 │ │ Custom: 1 │ │ Total: 9 │ ╰─────────────────────╯ ✓ OK 9 profiles listed ``` ### Actual Behavior **`src/cleveragents/cli/commands/automation_profile.py`, lines 391–413:** The current implementation: 1. Shows columns: **Name**, **Source**, **Description**, **Decompose**, **Create Tool**, **Select Tool**, **Sandbox** — different from the spec's required columns 2. **Missing the Summary panel** (Built-in/Custom/Total counts) 3. The spec uses "Auto-Apply" as the column name (mapping to `select_tool`), not "Select Tool" 4. The spec does not show "Decompose" or "Create Tool" columns in the list view ### Code Location - `src/cleveragents/cli/commands/automation_profile.py` lines 391–413 ### Fix Required 1. Change the table columns to match the spec: Name, Source, Auto-Apply (= `select_tool`), Sandbox, Description 2. Add a Summary panel after the table showing Built-in count, Custom count, and Total count 3. Update the plain-text output format to match as well ## Subtasks - [ ] Update table columns to: Name, Source, Auto-Apply, Sandbox, Description - [ ] Add Summary panel with Built-in/Custom/Total counts - [ ] Update BDD scenarios to assert correct column names and summary panel - [ ] Update plain-text output format - [ ] Run `nox` (all default sessions), fix any errors - [ ] Verify coverage >= 97% via `nox -s coverage_report` ## Definition of Done This issue is complete when: - [ ] `agents automation-profile list` rich output matches spec exactly (correct column names: Name, Source, Auto-Apply, Sandbox, Description) - [ ] Summary panel shows correct Built-in/Custom/Total counts - [ ] All BDD scenarios pass and assert correct column names and summary panel - [ ] Plain-text output format updated to match - [ ] 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 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% > **Backlog note:** This issue was discovered during autonomous operation > on milestone v3.6.0. It does not block milestone completion and has been > placed in the backlog for human review and future milestone assignment. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-new-issue-creator
HAL9000 added this to the v3.5.0 milestone 2026-04-09 03:11:46 +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.

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