Skip to content

fix(agent-runs): stop opening the task panel when a run starts - #825

Merged
astyfx merged 1 commit into
mainfrom
feat/agent-task
Oct 25, 2026
Merged

astyfx merged 1 commit into
mainfrom
feat/agent-task

Conversation

@astyfx

@astyfx astyfx commented Oct 25, 2026

Copy link
Copy Markdown
Member

Summary

Starting an agent run no longer opens the Task panel by itself. The composer shelf's panel button opens it when wanted, so the Lens and editor keep their width.

Changes

Fixes

  • agent-runs: a newly started run no longer switches the right rail to the Task panel's Progress tab; the existing composer shelf panel button is the way in

Refactors / Chores

  • remove isNewlyStartedAgentRun and its test, which only served the removed auto-open

Test Evidence

  • bun run lint: pass
  • bun run typecheck: pass
  • bun test tests/agent-run-renderer-stores.test.ts tests/agent-run-panel.test.tsx tests/task-panel.test.tsx tests/composer-shelf.test.ts tests/composer-shelf-render.test.tsx: 69 pass, 0 fail
  • bun run build:pages: pass

Notes

  • Other explicit ways to open the Task panel (run bar, return summary card, pane header actions) are unchanged.
  • Not checked in the rendered app: the panel button's visibility during a run. It is existing behavior; the shelf shows it on the run line whenever a run or turn is active.

🤖 Generated with Claude Code

Starting an agent run no longer switches the right rail to the Task
panel. The composer shelf's panel button opens it on demand, so the
Lens and editor keep their width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@astyfx
astyfx requested a review from a team as a code owner October 25, 2026 10:56
@astyfx
astyfx requested review from JongSikLim and png-1105 and removed request for a team October 25, 2026 10:56
@astyfx
astyfx enabled auto-merge (squash) October 25, 2026 10:56

@heath-s heath-s left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@astyfx
astyfx merged commit 39ee29b into main Oct 25, 2026
6 checks passed
@astyfx
astyfx deleted the feat/agent-task branch October 25, 2026 11:10
@astyfx astyfx mentioned this pull request Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants