FE-622: Restore tools-panel flicker fix lost in FE-616 refactor#123
FE-622: Restore tools-panel flicker fix lost in FE-616 refactor#123kostandinang wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PR SummaryLow Risk Overview Simplifies live tool tracking by removing the Reviewed by Cursor Bugbot for commit 35de8a5. Bugbot is set up for automated code reviews on this repo. Configure here. |
🤖 Augment PR SummarySummary: Restores the controller-side tools panel flicker fix regressed in FE-616 by keeping the “tools running” signal stable across sequential tool calls. 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2e9015e. Configure here.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

What
Restores the tools-panel flicker fix from FE-622 (PR #62), which was unintentionally reverted in FE-616 (PR #58) during the workflow-ownership refactor.
Root cause
liveToolsRunningOR'd each tool's per-eventisRunningflag. Between tool A finishing and tool B starting, every tool is briefly non-running — the flag flips false,Task's auto-close timer fires, and the panel reopens when the next tool arrives.Change
interview-controller.ts— deriveliveToolsRunningfrom "any tool item exists AND chat status is streaming/submitted" instead of per-toolisRunning. Stable across the gap between tools.Same one-line fix as FE-622. The companion
task.tsxchange isn't restored — FE-626 (#65) replaced it with re-arm logic that's harmless once the controller flag is stable.Test plan
/specification/$id/{phase}— tools panel opens once and stays open until the turn finishes