Archive bugs 2-3, file bug 4: Run button does not start agent

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-20 13:17:48 +00:00
parent 1eae2410f3
commit ce37a70f9a
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
---
name: Run button does not start agent
---
# Bug 4: Run Button Does Not Start Agent
## Symptom
Clicking the "Run" button in the AgentPanel does not visibly start an agent. No feedback is shown to the user.
## Root Cause
When multiple agents are configured in `project.toml` (e.g. supervisor, coder-1, coder-2), `handleRunClick` shows a role-selector dropdown instead of starting an agent directly. The dropdown may not be visible due to layout/positioning issues, or the click handler may be swallowed.
## Reproduction Steps
1. Start the server and open the web UI
2. Expand a story in the Agent panel
3. Click the "Run" button
4. Observe: nothing visible happens (no agent starts, no dropdown appears)
## Proposed Fix
Investigate whether the role-selector dropdown is rendering but hidden (z-index, overflow, positioning), or whether the click event is not reaching `handleRunClick`. If the dropdown is the issue, consider starting the default agent directly and offering role selection separately.