claude-code - 💡(How to fix) Fix Plan mode: track step completion and surface progress in the plan UI [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48189Fetched 2026-04-15 06:30:39
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2
RAW_BUFFERClick to expand / collapse

Problem

Once a plan is approved and execution begins, the harness doesn't track which plan items have been completed. Symptoms:

  • The "Plan" button/indicator stays visible after every item in the plan is done — there's no signal that execution has finished.
  • The structured plan content (steps, sub-bullets) is only rendered at approval time. During execution it's gone, and the user falls back to reading tool calls / transcript to judge progress.

Suggestion

The plan-rendering UI from the approval step already has the right shape for this — a structured list of steps with hierarchy. Reuse it during execution:

  • Track per-step completion as the model works through the plan (the model already signals intent via TodoWrite-style structures; plan items could be tied to todos, or inferred from the model marking them).
  • Render the plan inline with completion state (checkmarks / strikethrough / progress bar) while execution is ongoing.
  • When all items are complete, dismiss the plan indicator automatically instead of leaving it stuck on.

This turns the plan from a one-shot approval artifact into a live progress view, and fixes the "indicator never clears" bug as a side effect.

Environment

Claude Code, current version (noticed after recent UI refresh — prior plan-rendering UI was preserved but no execution-tracking layer was added on top of it).

extent analysis

TL;DR

Update the plan-rendering UI to track and display the completion state of each plan item during execution, reusing the existing structured list from the approval step.

Guidance

  • Reuse the plan-rendering UI from the approval step to display the plan items with their completion state during execution.
  • Track per-step completion by tying plan items to todos or inferring completion from the model's signals.
  • Render the plan inline with completion state indicators (e.g., checkmarks, strikethrough, progress bar) to provide a live progress view.
  • Automatically dismiss the plan indicator when all items are complete to fix the "indicator never clears" bug.

Example

No code snippet is provided as the issue does not contain specific code references.

Notes

The suggested solution assumes that the model's signals and TodoWrite-style structures can be used to track plan item completion. If this is not the case, additional implementation details may be required.

Recommendation

Apply the suggested workaround to update the plan-rendering UI and track plan item completion during execution, as this addresses the reported symptoms and provides a live progress view.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Plan mode: track step completion and surface progress in the plan UI [1 participants]