UAT: agents plan correct rich output shows minimal text instead of spec-required Correction/Affected Subtree/Sandbox Rollback/Recompute/History panels #6492

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

Bug Report

Feature Area

Plan Lifecycle — agents plan correct rich output

Spec Reference

docs/specification.md §14912–14968 (agents plan correct rich output)

Expected Behavior (from spec)

The spec defines the following output panels for agents plan correct \<DECISION_ID> --mode revert --guidance "..." --yes (rich format):

  1. "Correction" panel — Mode, Impact, New Decision, Corrects, Attempt
  2. "Affected Subtree" panel — Decisions Invalidated, Child Plans Rolled Back, Artifacts Archived, Unaffected Decisions
  3. "Sandbox Rollback" panel — Checkpoint, Files Reverted, Status
  4. "Recompute" panel — Queued, ETA
  5. "History" panel — list of history items including diff command
  6. Footer: ✓ OK Correction applied

Actual Behavior

The implementation in correct_decision() (src/cleveragents/cli/commands/plan.py, lines 3681–3688) for rich output:

console.print(f"[green]✓[/green] Correction applied: {result.correction_id}")
if result.reverted_decisions:
    console.print(f"  Reverted: {', '.join(result.reverted_decisions)}")
if result.new_decisions:
    console.print(f"  New decisions: {', '.join(result.new_decisions)}")

This renders only 1-3 lines of plain text. Missing panels:

  • "Correction" panel (Mode, Impact, New Decision, Corrects, Attempt)
  • "Affected Subtree" panel (Decisions Invalidated, Child Plans Rolled Back, Artifacts Archived, Unaffected Decisions)
  • "Sandbox Rollback" panel (Checkpoint, Files Reverted, Status)
  • "Recompute" panel (Queued, ETA)
  • "History" panel (history items including diff command)
  • Footer "✓ OK Correction applied" (uses but not the full spec format)

Code Location

src/cleveragents/cli/commands/plan.py:

  • Lines 3681–3688: correct_decision() rich output — minimal text output instead of spec-required panels

Steps to Reproduce

agents plan correct <DECISION_ID> --mode revert --guidance "Prioritize payments first" --yes

Observe: 1-3 lines of plain text instead of the 5 spec-required panels.

Severity

Low-Medium — the correction is applied correctly but the output format doesn't match the spec. Users miss important context like the "Affected Subtree" and "Sandbox Rollback" panels.


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

## Bug Report ### Feature Area Plan Lifecycle — `agents plan correct` rich output ### Spec Reference `docs/specification.md` §14912–14968 (agents plan correct rich output) ### Expected Behavior (from spec) The spec defines the following output panels for ` agents plan correct \<DECISION_ID> --mode revert --guidance "..." --yes` (rich format): 1. **"Correction" panel** — Mode, Impact, New Decision, Corrects, Attempt 2. **"Affected Subtree" panel** — Decisions Invalidated, Child Plans Rolled Back, Artifacts Archived, Unaffected Decisions 3. **"Sandbox Rollback" panel** — Checkpoint, Files Reverted, Status 4. **"Recompute" panel** — Queued, ETA 5. **"History" panel** — list of history items including diff command 6. **Footer**: `✓ OK Correction applied` ### Actual Behavior The implementation in `correct_decision()` (`src/cleveragents/cli/commands/plan.py`, lines 3681–3688) for rich output: ```python console.print(f"[green]✓[/green] Correction applied: {result.correction_id}") if result.reverted_decisions: console.print(f" Reverted: {', '.join(result.reverted_decisions)}") if result.new_decisions: console.print(f" New decisions: {', '.join(result.new_decisions)}") ``` This renders only 1-3 lines of plain text. **Missing panels:** - ❌ "Correction" panel (Mode, Impact, New Decision, Corrects, Attempt) - ❌ "Affected Subtree" panel (Decisions Invalidated, Child Plans Rolled Back, Artifacts Archived, Unaffected Decisions) - ❌ "Sandbox Rollback" panel (Checkpoint, Files Reverted, Status) - ❌ "Recompute" panel (Queued, ETA) - ❌ "History" panel (history items including diff command) - ❌ Footer "✓ OK Correction applied" (uses `✓` but not the full spec format) ### Code Location `src/cleveragents/cli/commands/plan.py`: - Lines 3681–3688: `correct_decision()` rich output — minimal text output instead of spec-required panels ### Steps to Reproduce ```bash agents plan correct <DECISION_ID> --mode revert --guidance "Prioritize payments first" --yes ``` Observe: 1-3 lines of plain text instead of the 5 spec-required panels. ### Severity Low-Medium — the correction is applied correctly but the output format doesn't match the spec. Users miss important context like the "Affected Subtree" and "Sandbox Rollback" panels. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-10 00:49:07 +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.

Dependencies

No dependencies set.

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