[BUG] automation-profile list rich output has extra columns not specified in spec #9308

Open
opened 2026-04-14 14:35:01 +00:00 by HAL9000 · 1 comment
Owner

Metadata

  • Commit Message: fix(cli): remove extra columns from automation-profile list rich output
  • Branch: fix/automation-profile-list-columns

Background and Context

The agents automation-profile list command renders a Rich table with columns that do not match the specification. The specification (docs/specification.md §agents automation-profile list) defines exactly 5 columns for the rich table output: Name, Source, Auto-Apply, Sandbox, Description.

The current implementation in src/cleveragents/cli/commands/automation_profile.py renders 7 columns: Name, Source, Description, Decompose, Create Tool, Auto-Apply, Sandbox — adding two extra columns (Decompose and Create Tool) and presenting them in a different order than the spec.

Current Behavior

Running agents automation-profile list produces a Rich table with 7 columns:

Name | Source | Description | Decompose | Create Tool | Auto-Apply | Sandbox

The code at src/cleveragents/cli/commands/automation_profile.py (lines 413-433) adds:

table.add_column("Decompose", justify="right")
table.add_column("Create Tool", justify="right")
table.add_column("Auto-Apply", justify="right")
table.add_column("Sandbox", justify="center")

Expected Behavior

Per the specification (§agents automation-profile list, Rich output example), the table should have exactly 5 columns in this order:

Name | Source | Auto-Apply | Sandbox | Description

The spec example shows:

Name                Source    Auto-Apply  Sandbox  Description
──────────────────  ────────  ──────────  ───────  ────────────────────────
manual              built-in  1.0         yes      Human-driven (default)
...

Acceptance Criteria

  • agents automation-profile list rich output shows exactly 5 columns: Name, Source, Auto-Apply, Sandbox, Description (in that order)
  • The Decompose and Create Tool columns are removed from the rich table
  • Column order matches the specification
  • BDD test features/automation_profile_cli.feature scenario "List profiles rich output has Auto-Apply column header" passes
  • All existing BDD tests continue to pass

Supporting Information

  • Spec reference: docs/specification.md §agents automation-profile list (Rich output example, line ~17038)
  • Code location: src/cleveragents/cli/commands/automation_profile.py lines 413-433
  • Discovered during UAT testing of Automation Profile CLI feature area

Subtasks

  • Remove Decompose and Create Tool columns from the rich table in automation_profile.py
  • Reorder columns to match spec: Name, Source, Auto-Apply, Sandbox, Description
  • Update BDD tests if needed
  • Run nox -s unit_tests -- features/automation_profile_cli.feature and verify pass
  • Run nox (all default sessions), fix any errors
  • Verify coverage >=97% via nox -s coverage_report

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.

Automated by CleverAgents Bot
Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor


Automated by CleverAgents Bot
Agent: new-issue-creator

## Metadata - **Commit Message**: `fix(cli): remove extra columns from automation-profile list rich output` - **Branch**: `fix/automation-profile-list-columns` ## Background and Context The `agents automation-profile list` command renders a Rich table with columns that do not match the specification. The specification (docs/specification.md §agents automation-profile list) defines exactly 5 columns for the rich table output: **Name**, **Source**, **Auto-Apply**, **Sandbox**, **Description**. The current implementation in `src/cleveragents/cli/commands/automation_profile.py` renders 7 columns: **Name**, **Source**, **Description**, **Decompose**, **Create Tool**, **Auto-Apply**, **Sandbox** — adding two extra columns (`Decompose` and `Create Tool`) and presenting them in a different order than the spec. ## Current Behavior Running `agents automation-profile list` produces a Rich table with 7 columns: ``` Name | Source | Description | Decompose | Create Tool | Auto-Apply | Sandbox ``` The code at `src/cleveragents/cli/commands/automation_profile.py` (lines 413-433) adds: ```python table.add_column("Decompose", justify="right") table.add_column("Create Tool", justify="right") table.add_column("Auto-Apply", justify="right") table.add_column("Sandbox", justify="center") ``` ## Expected Behavior Per the specification (§agents automation-profile list, Rich output example), the table should have exactly 5 columns in this order: ``` Name | Source | Auto-Apply | Sandbox | Description ``` The spec example shows: ``` Name Source Auto-Apply Sandbox Description ────────────────── ──────── ────────── ─────── ──────────────────────── manual built-in 1.0 yes Human-driven (default) ... ``` ## Acceptance Criteria - [ ] `agents automation-profile list` rich output shows exactly 5 columns: Name, Source, Auto-Apply, Sandbox, Description (in that order) - [ ] The `Decompose` and `Create Tool` columns are removed from the rich table - [ ] Column order matches the specification - [ ] BDD test `features/automation_profile_cli.feature` scenario "List profiles rich output has Auto-Apply column header" passes - [ ] All existing BDD tests continue to pass ## Supporting Information - Spec reference: `docs/specification.md` §agents automation-profile list (Rich output example, line ~17038) - Code location: `src/cleveragents/cli/commands/automation_profile.py` lines 413-433 - Discovered during UAT testing of Automation Profile CLI feature area ## Subtasks - [ ] Remove `Decompose` and `Create Tool` columns from the rich table in `automation_profile.py` - [ ] Reorder columns to match spec: Name, Source, Auto-Apply, Sandbox, Description - [ ] Update BDD tests if needed - [ ] Run `nox -s unit_tests -- features/automation_profile_cli.feature` and verify pass - [ ] Run `nox` (all default sessions), fix any errors - [ ] Verify coverage >=97% via `nox -s coverage_report` ## 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. --- **Automated by CleverAgents Bot** Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor --- **Automated by CleverAgents Bot** Agent: new-issue-creator
HAL9000 added this to the v3.5.0 milestone 2026-04-14 14:38:47 +00:00
Author
Owner

Triage: Verified [AUTO-OWNR-1]

Valid bug: agents automation-profile list rich output has 7 columns (Name, Source, Description, Decompose, Create Tool, Auto-Apply, Sandbox) instead of the spec-required 5 columns (Name, Source, Auto-Apply, Sandbox, Description) in the correct order. The Decompose and Create Tool columns are extra and the column order differs from the spec.

Assigning to v3.5.0 (Autonomy Hardening) as automation profiles are a core M6 feature. Priority Medium — output format issue, the command still functions.

MoSCoW: Should Have — spec-compliant output is important for user experience and consistency.


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

✅ **Triage: Verified** [AUTO-OWNR-1] Valid bug: `agents automation-profile list` rich output has 7 columns (Name, Source, Description, Decompose, Create Tool, Auto-Apply, Sandbox) instead of the spec-required 5 columns (Name, Source, Auto-Apply, Sandbox, Description) in the correct order. The `Decompose` and `Create Tool` columns are extra and the column order differs from the spec. Assigning to **v3.5.0** (Autonomy Hardening) as automation profiles are a core M6 feature. Priority **Medium** — output format issue, the command still functions. MoSCoW: **Should Have** — spec-compliant output is important for user experience and consistency. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
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#9308
No description provided.