---
name: Animated Agent Work Assignment UI
---

# 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
