UAT: agents plan apply missing "Validation (from Execute)" panel and "Checkpoint: archived" in Sandbox Cleanup output #6451

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

Bug Report

Feature Area

Plan Lifecycle — agents plan apply output

Spec Reference

docs/specification.md §13241–13276 (agents plan apply rich output)

Expected Behavior (from spec)

The spec defines the following output panels for agents plan apply (rich format):

╭─ Apply Summary ─────────────────────╮
│ Plan: 01HXM8C2ZK4Q7C2B3F2R4VYV6J    │
│ Artifacts: 6 files updated          │
│ Changes: 42 insertions, 9 deletions │
│ Project: local/api-service          │
│ Applied At: 2026-02-08 13:04        │
╰─────────────────────────────────────╯

╭─ Validation (from Execute) ────╮
│ Tests: passed (24/24)          │
│ Lint: passed (0 warnings)      │
│ Type Check: passed (0 errors)  │
│ Duration: 12.4s                │
╰────────────────────────────────╯

╭─ Sandbox Cleanup ─────────╮
│ Worktree: removed         │
│ Branch: merged to main    │
│ Checkpoint: archived      │
╰───────────────────────────╯

╭─ Plan Lifecycle ────────────────────────╮
│ Phase: apply                            │
│ State: applied                          │
│ Total Duration: 00:06:14                │
│ Total Cost: $0.0847                     │
│ Decisions Made: 8                       │
│ Child Plans: 2 (completed)              │
╰─────────────────────────────────────────╯

╭─ Next Steps ──────╮
│ - Review git diff │
│ - Commit changes  │
╰───────────────────╯

✓ OK Changes applied

Actual Behavior

The implementation in _apply_sandbox_changes() (src/cleveragents/cli/commands/plan.py, lines 1403–1631) outputs:

  1. "Apply Summary" panel — present
  2. "Validation (from Execute)" panel — MISSING — not implemented at all
  3. "Sandbox Cleanup" panel — present but missing "Checkpoint: archived" line
  4. "Plan Lifecycle" panel — MISSING — not implemented
  5. "Next Steps" panel — present
  6. Footer "✓ OK Changes applied" — present

Code Location

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

  • Lines 1520–1529: "Apply Summary" panel (correct)
  • Lines 1531–1582: "Sandbox Cleanup" panel — missing Checkpoint: archived line
  • Lines 1584–1591: "Next Steps" panel (correct)
  • Lines 1593–1594: Footer (correct)
  • No "Validation (from Execute)" panel anywhere in _apply_sandbox_changes()
  • No "Plan Lifecycle" panel anywhere in _apply_sandbox_changes()

Steps to Reproduce

  1. Create a plan: agents plan use <action> <project>
  2. Execute it: agents plan execute <PLAN_ID>
  3. Apply it: agents plan apply <PLAN_ID>
  4. Observe output — "Validation (from Execute)" and "Plan Lifecycle" panels are absent; "Checkpoint: archived" is missing from Sandbox Cleanup

Severity

Medium — the apply output is functionally incomplete. Users cannot see validation results or plan lifecycle summary from the apply output.


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

## Bug Report ### Feature Area Plan Lifecycle — `agents plan apply` output ### Spec Reference `docs/specification.md` §13241–13276 (agents plan apply rich output) ### Expected Behavior (from spec) The spec defines the following output panels for `agents plan apply` (rich format): ``` ╭─ Apply Summary ─────────────────────╮ │ Plan: 01HXM8C2ZK4Q7C2B3F2R4VYV6J │ │ Artifacts: 6 files updated │ │ Changes: 42 insertions, 9 deletions │ │ Project: local/api-service │ │ Applied At: 2026-02-08 13:04 │ ╰─────────────────────────────────────╯ ╭─ Validation (from Execute) ────╮ │ Tests: passed (24/24) │ │ Lint: passed (0 warnings) │ │ Type Check: passed (0 errors) │ │ Duration: 12.4s │ ╰────────────────────────────────╯ ╭─ Sandbox Cleanup ─────────╮ │ Worktree: removed │ │ Branch: merged to main │ │ Checkpoint: archived │ ╰───────────────────────────╯ ╭─ Plan Lifecycle ────────────────────────╮ │ Phase: apply │ │ State: applied │ │ Total Duration: 00:06:14 │ │ Total Cost: $0.0847 │ │ Decisions Made: 8 │ │ Child Plans: 2 (completed) │ ╰─────────────────────────────────────────╯ ╭─ Next Steps ──────╮ │ - Review git diff │ │ - Commit changes │ ╰───────────────────╯ ✓ OK Changes applied ``` ### Actual Behavior The implementation in `_apply_sandbox_changes()` (`src/cleveragents/cli/commands/plan.py`, lines 1403–1631) outputs: 1. ✅ "Apply Summary" panel — present 2. ❌ **"Validation (from Execute)" panel — MISSING** — not implemented at all 3. ✅ "Sandbox Cleanup" panel — present but **missing "Checkpoint: archived" line** 4. ❌ **"Plan Lifecycle" panel — MISSING** — not implemented 5. ✅ "Next Steps" panel — present 6. ✅ Footer "✓ OK Changes applied" — present ### Code Location `src/cleveragents/cli/commands/plan.py`: - Lines 1520–1529: "Apply Summary" panel (correct) - Lines 1531–1582: "Sandbox Cleanup" panel — missing `Checkpoint: archived` line - Lines 1584–1591: "Next Steps" panel (correct) - Lines 1593–1594: Footer (correct) - **No "Validation (from Execute)" panel** anywhere in `_apply_sandbox_changes()` - **No "Plan Lifecycle" panel** anywhere in `_apply_sandbox_changes()` ### Steps to Reproduce 1. Create a plan: `agents plan use <action> <project>` 2. Execute it: `agents plan execute <PLAN_ID>` 3. Apply it: `agents plan apply <PLAN_ID>` 4. Observe output — "Validation (from Execute)" and "Plan Lifecycle" panels are absent; "Checkpoint: archived" is missing from Sandbox Cleanup ### Severity Medium — the apply output is functionally incomplete. Users cannot see validation results or plan lifecycle summary from the apply output. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
Author
Owner

Verified — Valid UAT spec-alignment bug. Plan apply output missing required validation and checkpoint sections. MoSCoW: Must Have — plan apply output is part of v3.2.0 acceptance criteria.


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

✅ **Verified** — Valid UAT spec-alignment bug. Plan apply output missing required validation and checkpoint sections. **MoSCoW: Must Have** — plan apply output is part of v3.2.0 acceptance criteria. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
HAL9000 added this to the v3.2.0 milestone 2026-04-17 08:41:32 +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#6451
No description provided.