UAT: agents plan status rich output uses generic single panel instead of spec-required multi-panel layout #6049

Open
opened 2026-04-09 14:09:14 +00:00 by HAL9000 · 1 comment
Owner

Summary

agents plan status <PLAN_ID> rich output uses the generic _print_lifecycle_plan() function which renders a single flat panel. The specification requires a structured multi-panel layout with phase-specific panels.

Expected Behavior (from spec §agents plan status)

The spec defines the following rich output panels for a plan in execute/processing state:

╭─ Plan Status ────────────────────╮
│ Plan: 01HXM8C2ZK4Q7C2B3F2R4VYV6J │
│ Phase: execute                   │
│ State: processing                │
│ Action: local/code-coverage      │
│ Project: local/api-service       │
│ Automation: review               │
│ Attempt: 1                       │
╰──────────────────────────────────╯

╭─ Progress ───────╮
│ ✓ Strategize     │
│ ⏳ Execute       │
│ • Apply (queued) │
╰──────────────────╯

╭─ Timing ──────────╮
│ Started: 12:57:01 │
│ Elapsed: 00:01:12 │
│ ETA: 00:03:45     │
╰───────────────────╯

╭─ Execution Detail ──────────╮
│ Sandbox: git_worktree       │
│ Tool Calls: 8               │
│ Files Modified: 3           │
│ Child Plans: 1/2 complete   │
│ Checkpoints: 2 created      │
╰─────────────────────────────╯

╭─ Cost ───────────────╮
│ Tokens Used: 12,420  │
│ Cost So Far: $0.041  │
│ Estimated: $0.085    │
╰──────────────────────╯

✓ OK Status refreshed

For a completed plan (apply/applied), the spec shows different panels:

  • Plan Status panel
  • Progress panel (all ✓)
  • Timing panel (Started, Finished, Total Duration)
  • Result panel (Decisions Made, Child Plans, Artifacts, Validations, Total Cost)
  • ✓ OK Plan completed successfully

For an errored plan:

  • Plan Status panel
  • Progress panel (✓ Strategize, ✗ Execute, ○ Apply skipped)
  • Error Detail panel (Error, Tool, Step, Checkpoint, Recoverable)
  • Cost panel
  • ✗ ERROR Plan errored — use ... message

Actual Behavior

The implementation calls _print_lifecycle_plan(plan, title="Plan Status") which renders a single generic panel with all fields flattened. No separate Progress, Timing, Execution Detail, Cost, or Result panels. No ✓ OK Status refreshed message.

Code Location

src/cleveragents/cli/commands/plan.py, plan_status() function (~line 2445):

_print_lifecycle_plan(plan, title="Plan Status")

Steps to Reproduce

agents plan status <PLAN_ID>

Impact

Users cannot see a clear progress view (Strategize → Execute → Apply), timing information, execution details, or cost breakdown at a glance. The UX is significantly degraded compared to the spec.

Subtasks

  • Implement _print_plan_status_panels() helper with phase-aware panel rendering
  • Show Progress panel with ✓//• indicators for each phase
  • Show Timing panel with Started, Elapsed/ETA or Finished/Total Duration
  • Show Execution Detail panel when in execute phase
  • Show Cost panel with token usage and cost data
  • Show Result panel when plan is terminal
  • Show Error Detail panel when plan is errored
  • Print appropriate ✓ OK or ✗ ERROR message

Definition of Done

  • agents plan status rich output shows phase-appropriate panels as specified
  • Progress indicators (✓//•/✗) correctly reflect current phase
  • Appropriate success/error message printed

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

## Summary `agents plan status <PLAN_ID>` rich output uses the generic `_print_lifecycle_plan()` function which renders a single flat panel. The specification requires a structured multi-panel layout with phase-specific panels. ## Expected Behavior (from spec §agents plan status) The spec defines the following rich output panels for a plan in execute/processing state: ``` ╭─ Plan Status ────────────────────╮ │ Plan: 01HXM8C2ZK4Q7C2B3F2R4VYV6J │ │ Phase: execute │ │ State: processing │ │ Action: local/code-coverage │ │ Project: local/api-service │ │ Automation: review │ │ Attempt: 1 │ ╰──────────────────────────────────╯ ╭─ Progress ───────╮ │ ✓ Strategize │ │ ⏳ Execute │ │ • Apply (queued) │ ╰──────────────────╯ ╭─ Timing ──────────╮ │ Started: 12:57:01 │ │ Elapsed: 00:01:12 │ │ ETA: 00:03:45 │ ╰───────────────────╯ ╭─ Execution Detail ──────────╮ │ Sandbox: git_worktree │ │ Tool Calls: 8 │ │ Files Modified: 3 │ │ Child Plans: 1/2 complete │ │ Checkpoints: 2 created │ ╰─────────────────────────────╯ ╭─ Cost ───────────────╮ │ Tokens Used: 12,420 │ │ Cost So Far: $0.041 │ │ Estimated: $0.085 │ ╰──────────────────────╯ ✓ OK Status refreshed ``` For a completed plan (apply/applied), the spec shows different panels: - `Plan Status` panel - `Progress` panel (all ✓) - `Timing` panel (Started, Finished, Total Duration) - `Result` panel (Decisions Made, Child Plans, Artifacts, Validations, Total Cost) - `✓ OK Plan completed successfully` For an errored plan: - `Plan Status` panel - `Progress` panel (✓ Strategize, ✗ Execute, ○ Apply skipped) - `Error Detail` panel (Error, Tool, Step, Checkpoint, Recoverable) - `Cost` panel - `✗ ERROR Plan errored — use ...` message ## Actual Behavior The implementation calls `_print_lifecycle_plan(plan, title="Plan Status")` which renders a single generic panel with all fields flattened. No separate Progress, Timing, Execution Detail, Cost, or Result panels. No `✓ OK Status refreshed` message. ## Code Location `src/cleveragents/cli/commands/plan.py`, `plan_status()` function (~line 2445): ```python _print_lifecycle_plan(plan, title="Plan Status") ``` ## Steps to Reproduce ```bash agents plan status <PLAN_ID> ``` ## Impact Users cannot see a clear progress view (Strategize → Execute → Apply), timing information, execution details, or cost breakdown at a glance. The UX is significantly degraded compared to the spec. ## Subtasks - [ ] Implement `_print_plan_status_panels()` helper with phase-aware panel rendering - [ ] Show `Progress` panel with ✓/⏳/• indicators for each phase - [ ] Show `Timing` panel with Started, Elapsed/ETA or Finished/Total Duration - [ ] Show `Execution Detail` panel when in execute phase - [ ] Show `Cost` panel with token usage and cost data - [ ] Show `Result` panel when plan is terminal - [ ] Show `Error Detail` panel when plan is errored - [ ] Print appropriate `✓ OK` or `✗ ERROR` message ## Definition of Done - `agents plan status` rich output shows phase-appropriate panels as specified - Progress indicators (✓/⏳/•/✗) correctly reflect current phase - Appropriate success/error message printed --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.3.0 milestone 2026-04-09 15:23:53 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium — agents plan status rich output uses a generic single panel instead of the spec-required multi-panel layout. This is a UX deviation but doesn't block core functionality.
  • Milestone: v3.3.0 — Plan status display is part of the Corrections + Subplans + Checkpoints milestone deliverables.
  • Story Points: 3 — M — Implementing the multi-panel layout requires refactoring the rich output rendering, but the data is already available.
  • MoSCoW: Should Have — The spec defines a specific multi-panel layout for plan status. This should be implemented for spec compliance, but doesn't block core plan execution.
  • Parent Epic: Needs linking to the Plan Lifecycle epic.

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

Issue triaged by project owner: - **State**: Verified - **Priority**: Medium — `agents plan status` rich output uses a generic single panel instead of the spec-required multi-panel layout. This is a UX deviation but doesn't block core functionality. - **Milestone**: v3.3.0 — Plan status display is part of the Corrections + Subplans + Checkpoints milestone deliverables. - **Story Points**: 3 — M — Implementing the multi-panel layout requires refactoring the rich output rendering, but the data is already available. - **MoSCoW**: Should Have — The spec defines a specific multi-panel layout for plan status. This should be implemented for spec compliance, but doesn't block core plan execution. - **Parent Epic**: Needs linking to the Plan Lifecycle epic. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner
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.

Reference
cleveragents/cleveragents-core#6049
No description provided.