feat(board): WIP soft limit badge on agent columns + per-instance tooltip #422
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!422
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/414"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the B6 WIP-limit surface to each agent column header:
running + queued / wip_soft_limitbadge turnsbg-error/10 text-errorwhen the total exceeds the per-type soft limit. Drops are never blocked. Tooltip lists per-instance breakdown fromGET /board/agent-instances.Test plan
board-column.test.tsx— 7 tests: badge shows2 / 4givenin_flight:1, queued:1; turns red when exceeded; not red at-limit; absent on unassigned column; tooltip lists per-instance counts; fallback tooltip when no instances.board.test.ts— 4 new tests:wip_soft_limit,in_flight,queuedpresent per column; default 4 when absent; unassigned column zeroed;/board/agent-instancesreturns correct shape.Closes #414
All B6 acceptance criteria met and CI green.
Nit not worth blocking:
buildAgentInstances()usesDate.now()directly instead of_deps.now(), unlike the rest ofboard.ts. Not a functional issue (cache is reset inbeforeEach), but inconsistent. The nativetitleattribute for the tooltip is fine — noTooltipcomponent exists in the project andpipeline-gantt.tsxuses the same pattern.a5e0f8b08c4655c62e954655c62e9599b312140599b31214055da2db2555