UAT: agents actor show rich output missing spec-required Options/Graph Structure/Access/Usage panels — only shows basic Actor Details panel #6497

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

Summary

agents actor show <NAME> in rich format only displays a single "Actor details" panel with Name/Provider/Model/Default/Unsafe/Type. The spec requires five additional panels: Options, Graph Structure, Tools, Access, and Usage. The rich output is significantly less informative than the spec requires.

Spec Reference

docs/specification.md lines 5549–5603 — Rich output for agents actor show local/reviewer:

╭─ Actor Details ────────────────────╮
│ Name: local/reviewer               │
│ Provider: openai                   │
│ Model: gpt-4                       │
│ Default: yes                       │
│ Built-in: no                       │
│ Unsafe: no                         │
│ Type: graph                        │
│ Created: 2026-02-08 12:35          │
│ Updated: 2026-02-08 12:40          │
│ Config: ./actors/reviewer.yaml     │
│ Config Hash: 9c4e2a1               │
╰────────────────────────────────────╯

╭─ Options ──────────╮
│ - temperature: 0.2 │
│ - max_tokens: 2048 │
│ - top_p: 1.0       │
╰────────────────────╯

╭─ Graph Structure ─╮
│ Nodes: 3          │
│ Edges: 4          │
│ Entry: analyze    │
│ Exit: report      │
╰───────────────────╯

╭─ Tools ────────────────────────╮
│ Tool          Read-Only  Safe  │
│ read_file     yes        yes   │
│ search_files  yes        yes   │
│ git_diff      yes        yes   │
╰────────────────────────────────╯

╭─ Access ────────────╮
│ Unsafe: no          │
│ Filesystem: allowed │
│ Network: restricted │
╰─────────────────────╯

╭─ Usage ─────────────────────────────────────────╮
│ Referenced by Actions: 1 (local/code-coverage)  │
│ Active in Sessions: 0                           │
│ Total Runs: 14                                  │
│ Avg Cost/Run: $0.0032                           │
╰─────────────────────────────────────────────────╯

✓ OK Actor loaded

Code Location

src/cleveragents/cli/commands/actor.py, lines 421–498 (_print_actor):

def _print_actor(actor, title="Actor", fmt="rich", config_path=None, show_add_panels=False):
    if fmt != OutputFormat.RICH.value:
        ...
        return

    blob = actor.config_blob or {}
    actor_type = str(blob.get("type", ""))

    details = (
        f"[bold]Name:[/bold] {actor.name}\n"
        f"[bold]Provider:[/bold] {actor.provider}\n"
        f"[bold]Model:[/bold] {actor.model}\n"
        f"[bold]Default:[/bold] {'yes' if actor.is_default else 'no'}\n"
        f"[bold]Unsafe:[/bold] {'yes' if actor.unsafe else 'no'}\n"
        f"[bold]Type:[/bold] {actor_type}"
    )
    console.print(Panel(details, title=title, expand=False))

    if not show_add_panels:
        return  # ← Returns here for 'show' command — no additional panels

The show command calls _print_actor(actor, title="Actor details", fmt=fmt) without show_add_panels=True, so only the basic panel is shown. Even with show_add_panels=True (used by add), the Config/Capabilities/Tools panels are shown but NOT Options/Graph Structure/Access/Usage.

Steps to Reproduce

agents actor show openai/gpt-4o

Actual output:

╭─── Actor details ───╮
│ Name: openai/gpt-4o │
│ Provider: Openai    │
│ Model: gpt-4o       │
│ Default: yes        │
│ Unsafe: no          │
│ Type:               │
╰─────────────────────╯

Missing: Options, Graph Structure, Tools, Access, Usage panels, Created/Updated/Config/Config Hash fields, success message.

Expected vs Actual

Panel Expected Actual
Actor Details Name/Provider/Model/Default/Built-in/Unsafe/Type/Created/Updated/Config/Config Hash Name/Provider/Model/Default/Unsafe/Type only
Options {temperature, max_tokens, top_p} Missing
Graph Structure {Nodes, Edges, Entry, Exit} Missing
Tools Table with Tool/Read-Only/Safe Missing
Access {Unsafe, Filesystem, Network} Missing
Usage {Referenced by Actions, Active in Sessions, Total Runs, Avg Cost/Run} Missing
Success message ✓ OK Actor loaded Missing

Impact

agents actor show provides very limited information compared to the spec. Users cannot see actor options, graph topology, tool permissions, access controls, or usage statistics from the CLI.


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

## Summary `agents actor show <NAME>` in rich format only displays a single "Actor details" panel with Name/Provider/Model/Default/Unsafe/Type. The spec requires five additional panels: Options, Graph Structure, Tools, Access, and Usage. The rich output is significantly less informative than the spec requires. ## Spec Reference `docs/specification.md` lines 5549–5603 — Rich output for `agents actor show local/reviewer`: ``` ╭─ Actor Details ────────────────────╮ │ Name: local/reviewer │ │ Provider: openai │ │ Model: gpt-4 │ │ Default: yes │ │ Built-in: no │ │ Unsafe: no │ │ Type: graph │ │ Created: 2026-02-08 12:35 │ │ Updated: 2026-02-08 12:40 │ │ Config: ./actors/reviewer.yaml │ │ Config Hash: 9c4e2a1 │ ╰────────────────────────────────────╯ ╭─ Options ──────────╮ │ - temperature: 0.2 │ │ - max_tokens: 2048 │ │ - top_p: 1.0 │ ╰────────────────────╯ ╭─ Graph Structure ─╮ │ Nodes: 3 │ │ Edges: 4 │ │ Entry: analyze │ │ Exit: report │ ╰───────────────────╯ ╭─ Tools ────────────────────────╮ │ Tool Read-Only Safe │ │ read_file yes yes │ │ search_files yes yes │ │ git_diff yes yes │ ╰────────────────────────────────╯ ╭─ Access ────────────╮ │ Unsafe: no │ │ Filesystem: allowed │ │ Network: restricted │ ╰─────────────────────╯ ╭─ Usage ─────────────────────────────────────────╮ │ Referenced by Actions: 1 (local/code-coverage) │ │ Active in Sessions: 0 │ │ Total Runs: 14 │ │ Avg Cost/Run: $0.0032 │ ╰─────────────────────────────────────────────────╯ ✓ OK Actor loaded ``` ## Code Location `src/cleveragents/cli/commands/actor.py`, lines 421–498 (`_print_actor`): ```python def _print_actor(actor, title="Actor", fmt="rich", config_path=None, show_add_panels=False): if fmt != OutputFormat.RICH.value: ... return blob = actor.config_blob or {} actor_type = str(blob.get("type", "")) details = ( f"[bold]Name:[/bold] {actor.name}\n" f"[bold]Provider:[/bold] {actor.provider}\n" f"[bold]Model:[/bold] {actor.model}\n" f"[bold]Default:[/bold] {'yes' if actor.is_default else 'no'}\n" f"[bold]Unsafe:[/bold] {'yes' if actor.unsafe else 'no'}\n" f"[bold]Type:[/bold] {actor_type}" ) console.print(Panel(details, title=title, expand=False)) if not show_add_panels: return # ← Returns here for 'show' command — no additional panels ``` The `show` command calls `_print_actor(actor, title="Actor details", fmt=fmt)` without `show_add_panels=True`, so only the basic panel is shown. Even with `show_add_panels=True` (used by `add`), the Config/Capabilities/Tools panels are shown but NOT Options/Graph Structure/Access/Usage. ## Steps to Reproduce ```bash agents actor show openai/gpt-4o ``` Actual output: ``` ╭─── Actor details ───╮ │ Name: openai/gpt-4o │ │ Provider: Openai │ │ Model: gpt-4o │ │ Default: yes │ │ Unsafe: no │ │ Type: │ ╰─────────────────────╯ ``` Missing: Options, Graph Structure, Tools, Access, Usage panels, Created/Updated/Config/Config Hash fields, success message. ## Expected vs Actual | Panel | Expected | Actual | |---|---|---| | Actor Details | Name/Provider/Model/Default/Built-in/Unsafe/Type/Created/Updated/Config/Config Hash | Name/Provider/Model/Default/Unsafe/Type only | | Options | `{temperature, max_tokens, top_p}` | Missing | | Graph Structure | `{Nodes, Edges, Entry, Exit}` | Missing | | Tools | Table with Tool/Read-Only/Safe | Missing | | Access | `{Unsafe, Filesystem, Network}` | Missing | | Usage | `{Referenced by Actions, Active in Sessions, Total Runs, Avg Cost/Run}` | Missing | | Success message | `✓ OK Actor loaded` | Missing | ## Impact `agents actor show` provides very limited information compared to the spec. Users cannot see actor options, graph topology, tool permissions, access controls, or usage statistics from the CLI. --- **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#6497
No description provided.