UAT: agents plan status output uses generic plan details panel instead of spec-required multi-panel output (Plan Status, Progress, Timing, Execution Detail, Cost) #4134

Open
opened 2026-04-06 10:32:38 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: fix/cli/plan-status-output-panels
  • Commit Message: fix(cli): add spec-required multi-panel output to agents plan status command
  • Milestone: None (backlog)
  • Parent Epic: #3374

Summary

The agents plan status command uses a generic _print_lifecycle_plan() helper that shows a single plan details panel. The specification requires five distinct panels: Plan Status, Progress, Timing, Execution Detail, and Cost.

What Was Tested

Reviewed src/cleveragents/cli/commands/plan.py, the plan_status() function (line 2216) and _print_lifecycle_plan() helper (line 1326), and compared against the specification's Example 1 workflow (spec lines 36709–36748).

Expected Behavior (from spec)

The spec (lines 36709–36748) requires five panels:

╭─ Plan Status ───────────────────────────╮
│ Plan: 01HXR1C1D2E3F4G5H6I7J8K9L0        │
│ Phase: execute                          │
│ State: complete                         │
│ Action: local/fix-bug                   │
│ Project: local/api-service              │
│ Automation: manual                      │
│ Attempt: 1                              │
╰─────────────────────────────────────────╯

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

╭─ Timing ───────────────────────────╮
│ Started: 2026-02-11 09:17:02       │
│ Elapsed: 00:01:42                  │
│ ETA: awaiting manual apply         │
╰────────────────────────────────────╯

╭─ Execution Detail ──────────╮
│ Sandbox: git_worktree       │
│ Tool Calls: 5               │
│ Files Modified: 2           │
│ Child Plans: 0              │
│ Checkpoints: 1 created      │
╰─────────────────────────────╯

╭─ Cost ───────────────╮
│ Tokens Used: 6,840   │
│ Cost So Far: $0.023  │
│ Estimated: $0.025    │
╰──────────────────────╯

✓ OK Status refreshed

Actual Behavior

The code at src/cleveragents/cli/commands/plan.py line 2298 calls _print_lifecycle_plan(plan, title="Plan Status") which outputs a single generic panel with all plan details merged together, not the five distinct panels required by the spec.

Code Location

  • File: src/cleveragents/cli/commands/plan.py
  • Function: plan_status() at line 2216
  • Output section: line 2298

Steps to Reproduce

  1. Create and execute a plan
  2. Run: agents plan status <PLAN_ID>
  3. Observe the output — a single generic panel is printed instead of five distinct panels

Impact on Workflow Examples

This blocks visual verification of all workflow examples in the spec that use agents plan status. The command functions correctly (status is retrieved), but the output does not match the spec.

Subtasks

  • Replace _print_lifecycle_plan() call with dedicated _print_plan_status_output() function
  • Plan Status panel: Plan ID, Phase, State, Action, Project, Automation, Attempt
  • Progress panel: phase completion indicators (✓ Strategize, ✓ Execute, • Apply)
  • Timing panel: Started, Elapsed, ETA
  • Execution Detail panel: Sandbox, Tool Calls, Files Modified, Child Plans, Checkpoints
  • Cost panel: Tokens Used, Cost So Far, Estimated (from estimation_result if available)
  • Add ✓ OK Status refreshed confirmation line

Definition of Done

  • agents plan status <PLAN_ID> outputs five panels matching the spec format
  • Progress panel correctly shows completed/pending phases
  • Cost panel shows token usage and cost data when available
  • All nox stages pass
  • Coverage >= 97%

Backlog note: This issue was discovered during autonomous operation
on milestone None. It does not block milestone completion and has been
placed in the backlog for human review and future milestone assignment.


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: ca-new-issue-creator

## Metadata - **Branch**: `fix/cli/plan-status-output-panels` - **Commit Message**: `fix(cli): add spec-required multi-panel output to agents plan status command` - **Milestone**: None (backlog) - **Parent Epic**: #3374 ## Summary The `agents plan status` command uses a generic `_print_lifecycle_plan()` helper that shows a single plan details panel. The specification requires five distinct panels: Plan Status, Progress, Timing, Execution Detail, and Cost. ## What Was Tested Reviewed `src/cleveragents/cli/commands/plan.py`, the `plan_status()` function (line 2216) and `_print_lifecycle_plan()` helper (line 1326), and compared against the specification's Example 1 workflow (spec lines 36709–36748). ## Expected Behavior (from spec) The spec (lines 36709–36748) requires five panels: ``` ╭─ Plan Status ───────────────────────────╮ │ Plan: 01HXR1C1D2E3F4G5H6I7J8K9L0 │ │ Phase: execute │ │ State: complete │ │ Action: local/fix-bug │ │ Project: local/api-service │ │ Automation: manual │ │ Attempt: 1 │ ╰─────────────────────────────────────────╯ ╭─ Progress ───────────╮ │ ✓ Strategize │ │ ✓ Execute │ │ • Apply (awaiting) │ ╰──────────────────────╯ ╭─ Timing ───────────────────────────╮ │ Started: 2026-02-11 09:17:02 │ │ Elapsed: 00:01:42 │ │ ETA: awaiting manual apply │ ╰────────────────────────────────────╯ ╭─ Execution Detail ──────────╮ │ Sandbox: git_worktree │ │ Tool Calls: 5 │ │ Files Modified: 2 │ │ Child Plans: 0 │ │ Checkpoints: 1 created │ ╰─────────────────────────────╯ ╭─ Cost ───────────────╮ │ Tokens Used: 6,840 │ │ Cost So Far: $0.023 │ │ Estimated: $0.025 │ ╰──────────────────────╯ ✓ OK Status refreshed ``` ## Actual Behavior The code at `src/cleveragents/cli/commands/plan.py` line 2298 calls `_print_lifecycle_plan(plan, title="Plan Status")` which outputs a single generic panel with all plan details merged together, not the five distinct panels required by the spec. ## Code Location - File: `src/cleveragents/cli/commands/plan.py` - Function: `plan_status()` at line 2216 - Output section: line 2298 ## Steps to Reproduce 1. Create and execute a plan 2. Run: `agents plan status <PLAN_ID>` 3. Observe the output — a single generic panel is printed instead of five distinct panels ## Impact on Workflow Examples This blocks visual verification of all workflow examples in the spec that use `agents plan status`. The command functions correctly (status is retrieved), but the output does not match the spec. ## Subtasks - [ ] Replace `_print_lifecycle_plan()` call with dedicated `_print_plan_status_output()` function - [ ] Plan Status panel: Plan ID, Phase, State, Action, Project, Automation, Attempt - [ ] Progress panel: phase completion indicators (✓ Strategize, ✓ Execute, • Apply) - [ ] Timing panel: Started, Elapsed, ETA - [ ] Execution Detail panel: Sandbox, Tool Calls, Files Modified, Child Plans, Checkpoints - [ ] Cost panel: Tokens Used, Cost So Far, Estimated (from estimation_result if available) - [ ] Add `✓ OK Status refreshed` confirmation line ## Definition of Done - [ ] `agents plan status <PLAN_ID>` outputs five panels matching the spec format - [ ] Progress panel correctly shows completed/pending phases - [ ] Cost panel shows token usage and cost data when available - [ ] All nox stages pass - [ ] Coverage >= 97% > **Backlog note:** This issue was discovered during autonomous operation > on milestone None. It does not block milestone completion and has been > placed in the backlog for human review and future milestone assignment. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-new-issue-creator
freemo added this to the v3.6.0 milestone 2026-04-06 18:07:48 +00:00
Author
Owner

Milestone Triage Decision: Moved to Backlog (Belongs in Earlier Milestone)

This CLI output panel fix has been moved out of v3.6.0 during aggressive milestone triage. Basic CLI panel fixes belong in earlier milestones, not in Advanced Concepts.

Reasoning:

  • v3.6.0 focus: Advanced concepts that extend beyond core MVP
  • This issue: Plan status output panels - basic CLI functionality
  • Impact: Basic CLI polish, not advanced conceptual capability

Should be addressed in v3.3.0 alongside plan status core functionality.

**Milestone Triage Decision: Moved to Backlog (Belongs in Earlier Milestone)** This CLI output panel fix has been moved out of v3.6.0 during aggressive milestone triage. Basic CLI panel fixes belong in earlier milestones, not in Advanced Concepts. **Reasoning:** - v3.6.0 focus: Advanced concepts that extend beyond core MVP - This issue: Plan status output panels - basic CLI functionality - Impact: Basic CLI polish, not advanced conceptual capability Should be addressed in v3.3.0 alongside plan status core functionality.
freemo removed this from the v3.6.0 milestone 2026-04-06 20:39:47 +00:00
HAL9000 added this to the v3.5.0 milestone 2026-04-09 03:10:41 +00:00
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#4134
No description provided.