story-kit: start 59_story_current_work_panel

This commit is contained in:
Dave
2026-02-23 13:23:35 +00:00
parent 765b537dc0
commit 9417ada89d
7 changed files with 440 additions and 23 deletions

View File

@@ -0,0 +1,25 @@
---
name: Animated Agent Work Assignment UI
test_plan: pending
---
# Story 59: Animated Agent Work Assignment UI
## User Story
As a user watching the web UI, I want to see which agent is working on which work item across all active pipeline stages, with agents visually animating between idle and assigned states, so the pipeline feels like a living system I can watch in real time.
## Acceptance Criteria
- [ ] Work items in current/qa/merge panels each show which agent (if any) is working on them
- [ ] Agent lozenges (e.g. "coder-1 sonnet") visually animate from the agents panel to the work item they are assigned to
- [ ] When an agent completes, its lozenge animates back to idle in the agents panel (or to the next work item if immediately reassigned)
- [ ] Idle agents are visible in the agents panel with an idle state indicator
- [ ] Active agents show a subtle activity indicator (pulse, shimmer, etc.) on the work item they are docked to
- [ ] Pipeline state and agent assignments update in real time via WebSocket — no manual refresh needed
- [ ] The backend exposes agent-to-story assignments as part of the pipeline state (agent pool already tracks this)
## Out of Scope
- Actions from the UI (stop agent, reassign, start agent) — future story
- Agent output streaming in the work item card — existing agent panel handles this