UAT: agents session show rich output missing Automation field in Session Summary and ✓ OK Session details loaded success message #1548

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

Metadata

  • Branch: fix/uat-session-show-rich-output-automation-success
  • Commit Message: fix(cli): add Automation field and success message to session show rich output
  • Milestone: v3.7.0
  • Parent Epic: #374

Background and Context

The specification (docs/specification.md, agents session show section, line ~1718) defines the Rich output format for agents session show. The current implementation in src/cleveragents/cli/commands/session.py (show() function) is missing the Automation field in the Session Details panel and the spec-required success message.

Current Behavior

Running agents session show <SESSION_ID> renders:

╭─ Session Details ─────────────────────╮
│ Session ID: <id>                       │
│ Actor: local/orchestrator              │
│ Namespace: local                       │
│ Messages: 6                            │
│ Created: 2026-02-08 12:30              │
│ Updated: 2026-02-08 12:44              │
╰────────────────────────────────────────╯
[Recent Messages table]
[Linked Plans panel]
[Token Usage panel]

No success message is printed at the end.

Expected Behavior

Per the specification, the Rich output must include:

  1. Automation field in the Session Summary panel (spec calls it "Session Summary", not "Session Details")
  2. ✓ OK Session details loaded success message at the end
╭─ Session Summary ───────────────╮
│ ID: 01HXM2A6K1P2E9Q9D4GQ7J4S7Z  │
│ Actor: local/orchestrator       │
│ Messages: 6                     │
│ Created: 2026-02-08 12:30       │
│ Updated: 2026-02-08 12:44       │
│ Automation: review              │
╰─────────────────────────────────╯
...
✓ OK Session details loaded

Deviations:

  1. Panel title is Session Details instead of spec-required Session Summary
  2. Missing Automation field — spec shows Automation: review in the summary panel
  3. Missing success message — spec requires ✓ OK Session details loaded at the end

Acceptance Criteria

  • agents session show rich output panel title is Session Summary (not Session Details)
  • The Automation field is shown in the Session Summary panel
  • The success message ✓ OK Session details loaded is printed at the end
  • All existing tests pass; new tests cover the corrected Rich output format

Subtasks

  • Audit show() in src/cleveragents/cli/commands/session.py against the spec
  • Rename panel title from Session Details to Session Summary
  • Add Automation field to the session summary panel
  • Add ✓ OK Session details loaded success message at the end
  • 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 show rich output matches the spec format exactly
  • No regressions in other agents session subcommands
  • Commit message matches: fix(cli): add Automation field and success message to session show 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-show-rich-output-automation-success` - **Commit Message**: `fix(cli): add Automation field and success message to session show rich output` - **Milestone**: v3.7.0 - **Parent Epic**: #374 ## Background and Context The specification (`docs/specification.md`, `agents session show` section, line ~1718) defines the Rich output format for `agents session show`. The current implementation in `src/cleveragents/cli/commands/session.py` (`show()` function) is missing the `Automation` field in the Session Details panel and the spec-required success message. ## Current Behavior Running `agents session show <SESSION_ID>` renders: ``` ╭─ Session Details ─────────────────────╮ │ Session ID: <id> │ │ Actor: local/orchestrator │ │ Namespace: local │ │ Messages: 6 │ │ Created: 2026-02-08 12:30 │ │ Updated: 2026-02-08 12:44 │ ╰────────────────────────────────────────╯ [Recent Messages table] [Linked Plans panel] [Token Usage panel] ``` No success message is printed at the end. ## Expected Behavior Per the specification, the Rich output must include: 1. **`Automation` field** in the Session Summary panel (spec calls it "Session Summary", not "Session Details") 2. **`✓ OK Session details loaded`** success message at the end ``` ╭─ Session Summary ───────────────╮ │ ID: 01HXM2A6K1P2E9Q9D4GQ7J4S7Z │ │ Actor: local/orchestrator │ │ Messages: 6 │ │ Created: 2026-02-08 12:30 │ │ Updated: 2026-02-08 12:44 │ │ Automation: review │ ╰─────────────────────────────────╯ ... ✓ OK Session details loaded ``` Deviations: 1. **Panel title** is `Session Details` instead of spec-required `Session Summary` 2. **Missing `Automation` field** — spec shows `Automation: review` in the summary panel 3. **Missing success message** — spec requires `✓ OK Session details loaded` at the end ## Acceptance Criteria - [ ] `agents session show` rich output panel title is `Session Summary` (not `Session Details`) - [ ] The `Automation` field is shown in the Session Summary panel - [ ] The success message `✓ OK Session details loaded` is printed at the end - [ ] All existing tests pass; new tests cover the corrected Rich output format ## Subtasks - [ ] Audit `show()` in `src/cleveragents/cli/commands/session.py` against the spec - [ ] Rename panel title from `Session Details` to `Session Summary` - [ ] Add `Automation` field to the session summary panel - [ ] Add `✓ OK Session details loaded` success message at the end - [ ] 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 show` rich output matches the spec format exactly - [ ] No regressions in other `agents session` subcommands - [ ] Commit message matches: `fix(cli): add Automation field and success message to session show 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:53:03 +00:00
freemo self-assigned this 2026-04-02 20:58:56 +00:00
Author
Owner

Closing — work completed in PR #1566 (merged). The PR added the Automation field and success message to agents session show rich output.


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

Closing — work completed in PR #1566 (merged). The PR added the Automation field and success message to `agents session show` 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#1548
No description provided.