showcase/integrations/ms-agent-dotnet/qa/subagents.md
/demos/subagents on the dashboard host/api/health); GitHubToken (or equivalent) is set so the OpenAI client can authenticate; the /subagents AG-UI endpoint is mounted in agent/Program.cs/demos/subagents; verify the page renders within 3s with the delegation log on the left and the CopilotChat pane on the rightdata-testid="delegation-log" is visible with heading "Delegation log" and an empty-state message reading "No delegations yet. Ask the supervisor to plan a deliverable."data-testid="delegation-entry" is rendered with data-status="completed", the "Research" badge, and a non-empty result body containing 3 bullet-style linesdata-testid="delegation-entry" appears with data-status="running", the spinner is visible, and the "Sub-agent is working…" message is showndata-status="completed" and the spinner is replaced with the actual result textdata-testid="delegation-entry" rows in this order: Research, Writing, Critiquedata-status ends as completed (no failed rows under normal conditions)data-status="failed" and the failure message is rendered in redrunning -> completed (or failed) transition; the running spinner is rendered while the secondary chat-client call is in flightfailed rows with a structured error message — never silently turned into completed rows with garbage results