UAT: agents session create rich output missing spec-required Settings and Actor Details panels #1547

Closed
opened 2026-04-02 20:51:40 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: fix/uat-session-create-rich-output-panels
  • Commit Message: fix(cli): add Settings and Actor Details panels to session create rich output
  • Milestone: v3.7.0
  • Parent Epic: #374

Background and Context

The specification (docs/specification.md, agents session create section, line ~1460) defines a precise Rich output format for the agents session create command. The current implementation in src/cleveragents/cli/commands/session.py (create() function) renders only a single Session Created panel and a success line, missing two required panels.

Current Behavior

Running agents session create --actor local/orchestrator renders:

╭─ Session Created ─────────────────────╮
│ Session ID: <id>                       │
│ Actor: local/orchestrator              │
│ Namespace: local                       │
│ Created: 2026-02-08 12:44              │
╰────────────────────────────────────────╯
✓ OK Session created

Expected Behavior

Per the specification, the Rich output must render three panels:

╭─ Session ───────────────────────────────╮
│ ID: 01HXM2A6K1P2E9Q9D4GQ7J4S7Z         │
│ Actor: local/orchestrator               │
│ Created: 2026-02-08 12:44               │
│ Namespace: local                        │
╰─────────────────────────────────────────╯

╭─ Settings ─────────────╮
│ Automation: review     │
│ Streaming: off         │
│ Context: default       │
│ Memory: enabled        │
│ Max History: 50 turns  │
╰────────────────────────╯

╭─ Actor Details ───────────────────╮
│ Provider: anthropic               │
│ Model: claude-3.5                 │
│ Temperature: 0.7                  │
│ Context Window: 200K tokens       │
╰───────────────────────────────────╯

✓ OK Session created

Specifically, the following panels are missing:

  1. Settings panel — must show Automation, Streaming, Context, Memory, Max History
  2. Actor Details panel — must show Provider, Model, Temperature, Context Window

Acceptance Criteria

  • agents session create rich output renders a Session panel (not Session Created) with ID, Actor, Created, Namespace
  • A Settings panel is rendered showing Automation, Streaming, Context, Memory, Max History
  • An Actor Details panel is rendered showing Provider, Model, Temperature, Context Window (when actor is bound)
  • The success message reads ✓ OK Session created
  • All existing tests pass; new tests cover the corrected Rich output format

Subtasks

  • Audit create() in src/cleveragents/cli/commands/session.py against the spec
  • Rename panel title from Session Created to Session
  • Add Settings panel with automation/streaming/context/memory/max_history fields
  • Add Actor Details panel (shown when actor is bound) with provider/model/temperature/context_window
  • Write / update unit tests for the corrected Rich output
  • Manually verify output matches the spec example exactly

Definition of Done

  • All subtasks above are completed
  • agents session create rich output matches the spec format exactly (three panels, correct field names)
  • No regressions in other agents session subcommands
  • Commit message matches: fix(cli): add Settings and Actor Details panels to session create rich output
  • Pull Request merged into the target branch
  • All nox stages pass
  • Coverage >= 97%

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

## Metadata - **Branch**: `fix/uat-session-create-rich-output-panels` - **Commit Message**: `fix(cli): add Settings and Actor Details panels to session create rich output` - **Milestone**: v3.7.0 - **Parent Epic**: #374 ## Background and Context The specification (`docs/specification.md`, `agents session create` section, line ~1460) defines a precise Rich output format for the `agents session create` command. The current implementation in `src/cleveragents/cli/commands/session.py` (`create()` function) renders only a single `Session Created` panel and a success line, missing two required panels. ## Current Behavior Running `agents session create --actor local/orchestrator` renders: ``` ╭─ Session Created ─────────────────────╮ │ Session ID: <id> │ │ Actor: local/orchestrator │ │ Namespace: local │ │ Created: 2026-02-08 12:44 │ ╰────────────────────────────────────────╯ ✓ OK Session created ``` ## Expected Behavior Per the specification, the Rich output must render **three panels**: ``` ╭─ Session ───────────────────────────────╮ │ ID: 01HXM2A6K1P2E9Q9D4GQ7J4S7Z │ │ Actor: local/orchestrator │ │ Created: 2026-02-08 12:44 │ │ Namespace: local │ ╰─────────────────────────────────────────╯ ╭─ Settings ─────────────╮ │ Automation: review │ │ Streaming: off │ │ Context: default │ │ Memory: enabled │ │ Max History: 50 turns │ ╰────────────────────────╯ ╭─ Actor Details ───────────────────╮ │ Provider: anthropic │ │ Model: claude-3.5 │ │ Temperature: 0.7 │ │ Context Window: 200K tokens │ ╰───────────────────────────────────╯ ✓ OK Session created ``` Specifically, the following panels are missing: 1. **`Settings` panel** — must show Automation, Streaming, Context, Memory, Max History 2. **`Actor Details` panel** — must show Provider, Model, Temperature, Context Window ## Acceptance Criteria - [ ] `agents session create` rich output renders a `Session` panel (not `Session Created`) with ID, Actor, Created, Namespace - [ ] A `Settings` panel is rendered showing Automation, Streaming, Context, Memory, Max History - [ ] An `Actor Details` panel is rendered showing Provider, Model, Temperature, Context Window (when actor is bound) - [ ] The success message reads `✓ OK Session created` - [ ] All existing tests pass; new tests cover the corrected Rich output format ## Subtasks - [ ] Audit `create()` in `src/cleveragents/cli/commands/session.py` against the spec - [ ] Rename panel title from `Session Created` to `Session` - [ ] Add `Settings` panel with automation/streaming/context/memory/max_history fields - [ ] Add `Actor Details` panel (shown when actor is bound) with provider/model/temperature/context_window - [ ] Write / update unit tests for the corrected Rich output - [ ] Manually verify output matches the spec example exactly ## Definition of Done - [ ] All subtasks above are completed - [ ] `agents session create` rich output matches the spec format exactly (three panels, correct field names) - [ ] No regressions in other `agents session` subcommands - [ ] Commit message matches: `fix(cli): add Settings and Actor Details panels to session create rich output` - [ ] Pull Request merged into the target branch - All nox stages pass - Coverage >= 97% --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-uat-tester
freemo added this to the v3.7.0 milestone 2026-04-02 20:51:47 +00:00
freemo self-assigned this 2026-04-02 20:58:57 +00:00
Author
Owner

Closing — work completed in PR #1567 (merged). The PR added Settings and Actor Details panels to agents session create rich output.


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

Closing — work completed in PR #1567 (merged). The PR added Settings and Actor Details panels to `agents session create` rich output. --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: ca-backlog-groomer
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#1547
No description provided.