UAT: automation-profile show renders single combined Panel instead of multiple separate Panels #6770

Open
opened 2026-04-10 02:04:57 +00:00 by HAL9000 · 1 comment
Owner

Background and Context

The agents automation-profile show command output format is governed by the specification's CLI Command Reference section for agents automation-profile show. The spec defines a distinct multi-panel Rich output layout.

Current Behavior

In Rich format, agents automation-profile show <NAME> renders all profile details (identity, all four threshold categories, and guards) as a single combined Panel with all content concatenated into one details string. See src/cleveragents/cli/commands/automation_profile.py, _print_profile(), line 174:

console.print(Panel(details, title=title, expand=False))

The details variable is assembled by string concatenation of all sections (Phase Transitions, Decision Automation, Self-Repair, Execution Controls, and Guards) into one block, then wrapped in a single Panel.

Expected Behavior (from spec)

The specification (docs/specification.md, section ##### agents automation-profile show) shows five separate Panels for the show command:

  1. Automation Profile panel — name, source, description
  2. Phase Transitions (thresholds) panel — decompose_task, create_tool, select_tool
  3. Decision Automation (thresholds) panel — edit_code, execute_command
  4. Self-Repair (thresholds) panel — create_file, delete_content, access_network, modify_config, approve_plan
  5. Execution Controls (thresholds) panel — install_dependency, require_sandbox, require_checkpoints, allow_unsafe_tools

The spec example:

╭─ Automation Profile ───────────────────────────────────────────╮
│ Name: trusted                                                  │
│ Source: built-in                                               │
│ Description: Auto-exec, manual apply. Day-to-day development   │
╰────────────────────────────────────────────────────────────────╯

╭─ Phase Transitions (thresholds) ─────╮
│ decompose_task: 0.0                 │
│ create_tool: 0.0                    │
│ select_tool: 1.0                    │
╰──────────────────────────────────────╯

╭─ Decision Automation (thresholds) ───╮
│ edit_code: 0.0                      │
│ execute_command: 0.0                │
╰──────────────────────────────────────╯

╭─ Self-Repair (thresholds) ───────────╮
│ create_file: 0.0                    │
│ delete_content: 1.0                 │
│ access_network: 1.0                 │
│ modify_config: 0.0                  │
│ approve_plan: 1.0                   │
╰──────────────────────────────────────╯

╭─ Execution Controls (thresholds) ────╮
│ install_dependency: 0.0             │
│ require_sandbox: true               │
│ require_checkpoints: true           │
│ allow_unsafe_tools: false           │
╰──────────────────────────────────────╯

Steps to Reproduce

  1. Run agents automation-profile show trusted
  2. Observe: single combined Panel with all data
  3. Expected: five separate Panels as shown in spec

Acceptance Criteria

  • automation-profile show in Rich format renders five separate Panels as specified
  • Identity Panel: name, source, description
  • Phase Transitions Panel: decompose_task, create_tool, select_tool
  • Decision Automation Panel: edit_code, execute_command
  • Self-Repair Panel: create_file, delete_content, access_network, modify_config, approve_plan
  • Execution Controls Panel: install_dependency, require_sandbox, require_checkpoints, allow_unsafe_tools
  • All tests pass with nox

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

## Background and Context The `agents automation-profile show` command output format is governed by the specification's CLI Command Reference section for `agents automation-profile show`. The spec defines a distinct multi-panel Rich output layout. ## Current Behavior In Rich format, `agents automation-profile show <NAME>` renders all profile details (identity, all four threshold categories, and guards) as a **single combined Panel** with all content concatenated into one `details` string. See `src/cleveragents/cli/commands/automation_profile.py`, `_print_profile()`, line 174: ```python console.print(Panel(details, title=title, expand=False)) ``` The `details` variable is assembled by string concatenation of all sections (Phase Transitions, Decision Automation, Self-Repair, Execution Controls, and Guards) into one block, then wrapped in a single Panel. ## Expected Behavior (from spec) The specification (`docs/specification.md`, section `##### agents automation-profile show`) shows **five separate Panels** for the `show` command: 1. **`Automation Profile`** panel — name, source, description 2. **`Phase Transitions (thresholds)`** panel — `decompose_task`, `create_tool`, `select_tool` 3. **`Decision Automation (thresholds)`** panel — `edit_code`, `execute_command` 4. **`Self-Repair (thresholds)`** panel — `create_file`, `delete_content`, `access_network`, `modify_config`, `approve_plan` 5. **`Execution Controls (thresholds)`** panel — `install_dependency`, `require_sandbox`, `require_checkpoints`, `allow_unsafe_tools` The spec example: ``` ╭─ Automation Profile ───────────────────────────────────────────╮ │ Name: trusted │ │ Source: built-in │ │ Description: Auto-exec, manual apply. Day-to-day development │ ╰────────────────────────────────────────────────────────────────╯ ╭─ Phase Transitions (thresholds) ─────╮ │ decompose_task: 0.0 │ │ create_tool: 0.0 │ │ select_tool: 1.0 │ ╰──────────────────────────────────────╯ ╭─ Decision Automation (thresholds) ───╮ │ edit_code: 0.0 │ │ execute_command: 0.0 │ ╰──────────────────────────────────────╯ ╭─ Self-Repair (thresholds) ───────────╮ │ create_file: 0.0 │ │ delete_content: 1.0 │ │ access_network: 1.0 │ │ modify_config: 0.0 │ │ approve_plan: 1.0 │ ╰──────────────────────────────────────╯ ╭─ Execution Controls (thresholds) ────╮ │ install_dependency: 0.0 │ │ require_sandbox: true │ │ require_checkpoints: true │ │ allow_unsafe_tools: false │ ╰──────────────────────────────────────╯ ``` ## Steps to Reproduce 1. Run `agents automation-profile show trusted` 2. Observe: single combined Panel with all data 3. Expected: five separate Panels as shown in spec ## Acceptance Criteria - [ ] `automation-profile show` in Rich format renders five separate Panels as specified - [ ] Identity Panel: name, source, description - [ ] Phase Transitions Panel: decompose_task, create_tool, select_tool - [ ] Decision Automation Panel: edit_code, execute_command - [ ] Self-Repair Panel: create_file, delete_content, access_network, modify_config, approve_plan - [ ] Execution Controls Panel: install_dependency, require_sandbox, require_checkpoints, allow_unsafe_tools - [ ] All tests pass with `nox` --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.4.0 milestone 2026-04-10 02:05:48 +00:00
Author
Owner

Verified — UAT bug: automation-profile show renders wrong panel layout. MoSCoW: Should-have. Priority: Medium.


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

✅ **Verified** — UAT bug: automation-profile show renders wrong panel layout. MoSCoW: Should-have. Priority: Medium. --- **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#6770
No description provided.