feat(plan-correction): update agents plan tree to visually reflect corrected nodes #8537

Open
opened 2026-04-13 20:37:06 +00:00 by HAL9000 · 0 comments
Owner

Metadata

  • Commit message type: feat
  • Scope: plan-correction
  • Branch name prefix: feat/v3.2.0-plan-tree-corrections

Background and Context

As part of Epic #8481 (Plan Correction Engine), the agents plan tree command must be updated to visually mark corrected nodes in the decision tree. This allows users to quickly identify which decisions have been corrected and what type of correction was applied.

This issue depends on the correction data model and plan tree CLI command being implemented first.

This issue blocks Epic #8481.

Expected Behavior

  • agents plan tree renders corrected nodes with a visual marker (e.g., [R] for revert, [A] for append)
  • The tree output clearly distinguishes between original decisions and corrected decisions
  • Hovering over or selecting a corrected node (if interactive) shows the correction summary

Acceptance Criteria

  • agents plan tree marks revert-corrected nodes with a visual indicator (e.g., [R] or ✗→✓)
  • agents plan tree marks append-corrected nodes with a visual indicator (e.g., [A] or +note)
  • Correction markers are clearly distinguishable from uncorrected nodes
  • Integration tests verify corrected nodes appear with correct markers in tree output
  • Unit tests achieve >= 97% coverage for correction marker rendering

Subtasks

  • Update decision tree query to include correction status for each node
  • Add correction marker rendering to tree output function
  • Define visual markers for revert ([R]) and append ([A]) corrections
  • Write unit tests for correction marker rendering
  • Write integration tests for agents plan tree with corrected nodes

Definition of Done

  1. agents plan tree correctly marks corrected nodes
  2. Integration tests verify corrected nodes appear with correct markers
  3. Unit tests pass with >= 97% coverage
  4. Code reviewed and merged to main branch

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Metadata - **Commit message type**: `feat` - **Scope**: `plan-correction` - **Branch name prefix**: `feat/v3.2.0-plan-tree-corrections` ## Background and Context As part of Epic #8481 (Plan Correction Engine), the `agents plan tree` command must be updated to visually mark corrected nodes in the decision tree. This allows users to quickly identify which decisions have been corrected and what type of correction was applied. This issue depends on the correction data model and `plan tree` CLI command being implemented first. This issue blocks Epic #8481. ## Expected Behavior - `agents plan tree` renders corrected nodes with a visual marker (e.g., [R] for revert, [A] for append) - The tree output clearly distinguishes between original decisions and corrected decisions - Hovering over or selecting a corrected node (if interactive) shows the correction summary ## Acceptance Criteria - [ ] `agents plan tree` marks revert-corrected nodes with a visual indicator (e.g., [R] or ✗→✓) - [ ] `agents plan tree` marks append-corrected nodes with a visual indicator (e.g., [A] or +note) - [ ] Correction markers are clearly distinguishable from uncorrected nodes - [ ] Integration tests verify corrected nodes appear with correct markers in tree output - [ ] Unit tests achieve >= 97% coverage for correction marker rendering ## Subtasks - [ ] Update decision tree query to include correction status for each node - [ ] Add correction marker rendering to tree output function - [ ] Define visual markers for revert ([R]) and append ([A]) corrections - [ ] Write unit tests for correction marker rendering - [ ] Write integration tests for `agents plan tree` with corrected nodes ## Definition of Done 1. `agents plan tree` correctly marks corrected nodes 2. Integration tests verify corrected nodes appear with correct markers 3. Unit tests pass with >= 97% coverage 4. Code reviewed and merged to main branch --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
HAL9000 added this to the v3.2.0 milestone 2026-04-13 20:44:03 +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#8537
No description provided.