UAT: [FA-20] agents config set Rich output missing "Effective" and "Saved To" panels required by spec #7806

Open
opened 2026-04-12 04:10:47 +00:00 by HAL9000 · 4 comments
Owner

What Was Tested

Code analysis of src/cleveragents/cli/commands/config.py — the config_set command Rich output.

Expected Behavior (from spec)

Per docs/specification.md §agents config set, the Rich output should show three panels:

╭─ Config Updated ──────────────────────╮
│ Key: core.automation-profile          │
│ Value: trusted                        │
│ Previous: manual                      │
│ Source: config                        │
│ Scope: global                         │
╰───────────────────────────────────────╯

╭─ Effective ────────────────────────╮
│ Sessions: new sessions             │
│ Plans: future plans (unless set)   │
│ Existing: unchanged                │
╰────────────────────────────────────╯

╭─ Saved To ──────────────────────────╮
│ File: ~/.cleveragents/config.toml   │
│ Line: 8                             │
╰─────────────────────────────────────╯

✓ OK Config updated

Actual Behavior

The implementation at config.py lines 278-289 only renders one panel ("Configuration Updated") with no "Effective" or "Saved To" panels:

console.print(
    Panel(
        f"[bold]Key:[/bold] {normalized}\n"
        f"[bold]Value:[/bold] {coerced}\n"
        f"[bold]Previous:[/bold] {prev_display}\n"
        f"[bold]Source:[/bold] config_file\n"
        f"[bold]Scope:[/bold] {scope_display}",
        title="Configuration Updated",
        expand=False,
    )
)

Specific Divergences

  1. Missing "Effective" panel: spec requires showing Sessions, Plans, and Existing fields
  2. Missing "Saved To" panel: spec requires showing File and Line fields
  3. Panel title mismatch: implementation uses "Configuration Updated" but spec shows "Config Updated"

Steps to Reproduce

agents config set core.log.level DEBUG

Expected: Three panels (Config Updated, Effective, Saved To).
Actual: One panel (Configuration Updated) only.

Code Location

src/cleveragents/cli/commands/config.py lines 278-289 (config_set function)


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

## What Was Tested Code analysis of `src/cleveragents/cli/commands/config.py` — the `config_set` command Rich output. ## Expected Behavior (from spec) Per `docs/specification.md` §agents config set, the Rich output should show **three panels**: ``` ╭─ Config Updated ──────────────────────╮ │ Key: core.automation-profile │ │ Value: trusted │ │ Previous: manual │ │ Source: config │ │ Scope: global │ ╰───────────────────────────────────────╯ ╭─ Effective ────────────────────────╮ │ Sessions: new sessions │ │ Plans: future plans (unless set) │ │ Existing: unchanged │ ╰────────────────────────────────────╯ ╭─ Saved To ──────────────────────────╮ │ File: ~/.cleveragents/config.toml │ │ Line: 8 │ ╰─────────────────────────────────────╯ ✓ OK Config updated ``` ## Actual Behavior The implementation at `config.py` lines 278-289 only renders **one panel** ("Configuration Updated") with no "Effective" or "Saved To" panels: ```python console.print( Panel( f"[bold]Key:[/bold] {normalized}\n" f"[bold]Value:[/bold] {coerced}\n" f"[bold]Previous:[/bold] {prev_display}\n" f"[bold]Source:[/bold] config_file\n" f"[bold]Scope:[/bold] {scope_display}", title="Configuration Updated", expand=False, ) ) ``` ## Specific Divergences 1. **Missing "Effective" panel**: spec requires showing `Sessions`, `Plans`, and `Existing` fields 2. **Missing "Saved To" panel**: spec requires showing `File` and `Line` fields 3. **Panel title mismatch**: implementation uses "Configuration Updated" but spec shows "Config Updated" ## Steps to Reproduce ```bash agents config set core.log.level DEBUG ``` Expected: Three panels (Config Updated, Effective, Saved To). Actual: One panel (Configuration Updated) only. ## Code Location `src/cleveragents/cli/commands/config.py` lines 278-289 (`config_set` function) --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-12 04:21:11 +00:00
Author
Owner

Label compliance fix applied:

  • Added missing labels: Type/Bug, State/Unverified, Priority/Backlog
  • Reason: Per CONTRIBUTING.md, all issues require State/, Type/, and Priority/* labels

Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: backlog-groomer

Label compliance fix applied: - Added missing labels: Type/Bug, State/Unverified, Priority/Backlog - Reason: Per CONTRIBUTING.md, all issues require State/*, Type/*, and Priority/* labels --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: backlog-groomer
Author
Owner

Verified — UAT bug: config set rich output missing spec-required panels. MoSCoW: Should-have. Priority: Medium.


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

✅ **Verified** — UAT bug: config set rich output missing spec-required panels. MoSCoW: Should-have. Priority: Medium. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
Author
Owner

Verified — UAT bug: config set rich output missing spec-required panels. MoSCoW: Should-have. Priority: Medium.


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

✅ **Verified** — UAT bug: config set rich output missing spec-required panels. MoSCoW: Should-have. Priority: Medium. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
Author
Owner

Verified — UAT bug: config set rich output missing spec-required panels. MoSCoW: Should-have. Priority: Medium.


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

✅ **Verified** — UAT bug: config set rich output missing spec-required panels. 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#7806
No description provided.