UAT: agents automation-profile show uses single combined Panel instead of spec-required multiple separate Panels per threshold category #6505

Open
opened 2026-04-09 21:11:38 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area

Invariants & Automation Profiles

Spec Reference

docs/specification.md lines 17194-17226 (Rich output for agents automation-profile show trusted):

╭─ 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            │
╰──────────────────────────────────────╯

✓ OK Profile loaded

Expected Behavior

The rich output for agents automation-profile show should display 5 separate Panels:

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

Plus a ✓ OK Profile loaded footer.

Actual Behavior

The implementation displays one single Panel with title "Automation Profile Details" containing all fields combined in a flat list. No separate panels per category, no ✓ OK Profile loaded footer.

Code Location

  • src/cleveragents/cli/commands/automation_profile.py_print_profile() function (line ~100-145)

Additional Note

The spec also shows the trusted profile description as "Auto-exec, manual apply. Day-to-day development" but the implementation has "Auto for most, human for apply and revert". This is a description mismatch for the built-in trusted profile.

Severity

Backlog — Cosmetic/format issue. Functional behavior (profile details are shown) works correctly.


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

## Bug Report ### Feature Area Invariants & Automation Profiles ### Spec Reference `docs/specification.md` lines 17194-17226 (Rich output for `agents automation-profile show trusted`): ``` ╭─ 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 │ ╰──────────────────────────────────────╯ ✓ OK Profile loaded ``` ### Expected Behavior The rich output for `agents automation-profile show` should display **5 separate Panels**: 1. "Automation Profile" — name, source, description 2. "Phase Transitions (thresholds)" — decompose_task, create_tool, select_tool 3. "Decision Automation (thresholds)" — edit_code, execute_command 4. "Self-Repair (thresholds)" — create_file, delete_content, access_network, modify_config, approve_plan 5. "Execution Controls (thresholds)" — install_dependency, require_sandbox, require_checkpoints, allow_unsafe_tools Plus a `✓ OK Profile loaded` footer. ### Actual Behavior The implementation displays **one single Panel** with title "Automation Profile Details" containing all fields combined in a flat list. No separate panels per category, no `✓ OK Profile loaded` footer. ### Code Location - `src/cleveragents/cli/commands/automation_profile.py` — `_print_profile()` function (line ~100-145) ### Additional Note The spec also shows the `trusted` profile description as "Auto-exec, manual apply. Day-to-day development" but the implementation has "Auto for most, human for apply and revert". This is a description mismatch for the built-in `trusted` profile. ### Severity **Backlog** — Cosmetic/format issue. Functional behavior (profile details are shown) works correctly. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
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#6505
No description provided.