@tdd_expected_fail
@tdd_issue
@tdd_issue_8576
Feature: TDD: plan tree visually marks corrected nodes
  Spec Requirement #7 states that `agents plan tree` should visually
  distinguish corrected nodes (decisions with is_correction=True).
  
  This TDD scenario documents the gap: the current implementation does NOT
  visually mark corrected nodes in the tree output. The tree renderer builds
  node labels without checking decision.is_correction.
  
  Expected behavior: Corrected nodes should be marked with a visual indicator
  such as [corrected], ✎, or similar annotation.

  # ------------------------------------------------------------------
  # Scenario: Corrected node is visually marked in tree output
  # ------------------------------------------------------------------

  Scenario: Corrected decision is visually marked in plan tree
    Given a set of test decisions with a corrected decision
    When I build the correction TDD test decision tree
    Then the tree should include a visual marker for the corrected decision
    And the corrected decision label should contain "[corrected]" or "✎" or similar marker
