Summary
The dashboard session view silently displays only four subagent buttons, even when a session has more subagents. Make every subagent accessible without allowing the bottom dock to grow excessively, and align the section's collapse control with the task tracker's visual style and behavior.
Current Behavior
- The session view renders only the first four subagents because the list is hard-limited with
.slice(0, 4).
- Additional subagents have no button or overflow indicator, despite being included in the running/done count.
- The subagent section uses a pill-style
subagents ▴/▾ button, while the task tracker uses a simpler ▸/▾ summary indicator.
- The subagent section always starts expanded, whereas the task tracker defaults to collapsed on mobile.
Proposed Behavior
- Make every subagent accessible through a compact, bounded UI, such as a scrollable list or an accessible overflow menu.
- Continue showing concise status, agent type, and task-summary information for each subagent.
- Use the same collapse indicator and interaction pattern as the task tracker.
- Keep the layout usable on both desktop and mobile without allowing a large number of agents to dominate the session dock.
Acceptance Criteria
Technical Notes
- The four-agent limit is in
packages/dashboard/src/client/screens/session.tsx:
<For each={[...liveAgents(), ...doneAgents()].slice(0, 4)}>
- Relevant styles are in
packages/dashboard/src/client/styles/app.css under .tasks and .subagent-strip.
- Consider using the task tracker's native
<details>/<summary> pattern for consistent collapse semantics and styling.
- Existing subagent collapse coverage is in
packages/dashboard/test/client/screens.test.tsx, but it currently exercises only one subagent and does not catch truncation.
Summary
The dashboard session view silently displays only four subagent buttons, even when a session has more subagents. Make every subagent accessible without allowing the bottom dock to grow excessively, and align the section's collapse control with the task tracker's visual style and behavior.
Current Behavior
.slice(0, 4).subagents ▴/▾button, while the task tracker uses a simpler▸/▾summary indicator.Proposed Behavior
Acceptance Criteria
▸when collapsed and▾when expanded.Technical Notes
packages/dashboard/src/client/screens/session.tsx:packages/dashboard/src/client/styles/app.cssunder.tasksand.subagent-strip.<details>/<summary>pattern for consistent collapse semantics and styling.packages/dashboard/test/client/screens.test.tsx, but it currently exercises only one subagent and does not catch truncation.