UAT: agents plan correct rich output missing 5 spec-required panels — outputs single line instead #6805

Open
opened 2026-04-10 02:11:12 +00:00 by HAL9000 · 0 comments
Owner

What Was Tested

agents plan correct --mode revert --guidance "..." --yes <DECISION_ID> rich output format (code analysis of src/cleveragents/cli/commands/plan.py, lines 3665–3688).

Expected Behavior (from Spec §agents plan correct, lines 14936–14968)

The rich output for a successful agents plan correct execution must render 5 named panels:

  1. Correction — Mode, Impact summary, New Decision ID, Corrects (old decision ID), Attempt number
  2. Affected Subtree — Decisions Invalidated, Child Plans Rolled Back, Artifacts Archived, Unaffected Decisions
  3. Sandbox Rollback — Checkpoint ID, Files Reverted, Status
  4. Recompute — Queued (child plans count), ETA
  5. History — Original decision superseded, Prior artifacts archived, agents plan diff --correction <ID> hint

Plus a final ✓ OK Correction applied footer line.

Actual Behavior

The implementation at lines 3681–3688 produces only:

✓ Correction applied: <correction_id>
  Reverted: <decision_ids>
  New decisions: <decision_ids>

No named panels are rendered at all. The Correction, Affected Subtree, Sandbox Rollback, Recompute, and History panels are completely absent.

Steps to Reproduce

  1. Clone the repo
  2. Review src/cleveragents/cli/commands/plan.py lines 3681–3688 (the else branch after if fmt != OutputFormat.RICH.value)
  3. Compare to spec §agents plan correct rich output example

Code Reference

# plan.py lines 3681–3688 — missing all 5 spec panels
else:
    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)}")

Expected structure based on spec:

console.print(Panel(..., title="Correction", ...))
console.print(Panel(..., title="Affected Subtree", ...))
console.print(Panel(..., title="Sandbox Rollback", ...))
console.print(Panel(..., title="Recompute", ...))
console.print(Panel(..., title="History", ...))
console.print("✓ OK Correction applied")

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

## What Was Tested `agents plan correct --mode revert --guidance "..." --yes <DECISION_ID>` rich output format (code analysis of `src/cleveragents/cli/commands/plan.py`, lines 3665–3688). ## Expected Behavior (from Spec §agents plan correct, lines 14936–14968) The rich output for a successful `agents plan correct` execution must render **5 named panels**: 1. **`Correction`** — Mode, Impact summary, New Decision ID, Corrects (old decision ID), Attempt number 2. **`Affected Subtree`** — Decisions Invalidated, Child Plans Rolled Back, Artifacts Archived, Unaffected Decisions 3. **`Sandbox Rollback`** — Checkpoint ID, Files Reverted, Status 4. **`Recompute`** — Queued (child plans count), ETA 5. **`History`** — Original decision superseded, Prior artifacts archived, `agents plan diff --correction <ID>` hint Plus a final `✓ OK Correction applied` footer line. ## Actual Behavior The implementation at lines 3681–3688 produces only: ``` ✓ Correction applied: <correction_id> Reverted: <decision_ids> New decisions: <decision_ids> ``` No named panels are rendered at all. The `Correction`, `Affected Subtree`, `Sandbox Rollback`, `Recompute`, and `History` panels are completely absent. ## Steps to Reproduce 1. Clone the repo 2. Review `src/cleveragents/cli/commands/plan.py` lines 3681–3688 (the `else` branch after `if fmt != OutputFormat.RICH.value`) 3. Compare to spec §agents plan correct rich output example ## Code Reference ```python # plan.py lines 3681–3688 — missing all 5 spec panels else: 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)}") ``` Expected structure based on spec: ```python console.print(Panel(..., title="Correction", ...)) console.print(Panel(..., title="Affected Subtree", ...)) console.print(Panel(..., title="Sandbox Rollback", ...)) console.print(Panel(..., title="Recompute", ...)) console.print(Panel(..., title="History", ...)) console.print("✓ OK Correction applied") ``` --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.4.0 milestone 2026-04-10 02:12:31 +00:00
HAL9000 self-assigned this 2026-04-10 06:06: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.

Dependencies

No dependencies set.

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