Summary
During 30-60+ min memo runs with 29 subagents, active agent cards on the frontend dashboard show only a pulsing border and agent name — zero insight into what each subagent is currently doing. All rich observability data arrives only on subagent_stop.
SDK 0.2.72 adds agentProgressSummaries: true, which emits periodic AI-generated summary fields on task_progress stream events. This issue tracks wiring those events through the server to the frontend for live progress text on active agent cards.
Plan Document
docs/pending-updates/subagent-observation-summary.md (v1.0.0)
Scope
- 4 files modified, ~80 lines of code
- SDK upgrade:
@anthropic-ai/claude-agent-sdk 0.2.70 → 0.2.72
- Server: Add
agentProgressSummaries: true to both agentQuery() calls, handle task_progress in message switch, emit SSE subagent_progress events
- Frontend: Render live progress text + activity feed on active agent cards
- CSS:
.agent-progress-text styling, activity feed for active cards
- No changes needed:
sdkHooks.js, hookSSEBridge.js (task_progress is a stream message, not a hook event)
Key Risks
| Risk |
Severity |
Mitigation |
task_id → agent_id mapping |
Medium |
Log first events, verify field correlation |
| SDK 0.2.72 regressions |
Medium |
Pin-test on branch before merge |
| Token overhead from summaries |
Low |
Monitor via usage.total_tokens on events |
Implementation Phases
- Phase A: SDK upgrade 0.2.70 → 0.2.72 + smoke test
- Phase B: Server-side
task_progress handling + SSE emission
- Phase C: Frontend rendering + CSS
- Phase D: Integration testing + verification
Related
Summary
During 30-60+ min memo runs with 29 subagents, active agent cards on the frontend dashboard show only a pulsing border and agent name — zero insight into what each subagent is currently doing. All rich observability data arrives only on
subagent_stop.SDK 0.2.72 adds
agentProgressSummaries: true, which emits periodic AI-generatedsummaryfields ontask_progressstream events. This issue tracks wiring those events through the server to the frontend for live progress text on active agent cards.Plan Document
docs/pending-updates/subagent-observation-summary.md(v1.0.0)Scope
@anthropic-ai/claude-agent-sdk0.2.70 → 0.2.72agentProgressSummaries: trueto bothagentQuery()calls, handletask_progressin message switch, emit SSEsubagent_progressevents.agent-progress-textstyling, activity feed for active cardssdkHooks.js,hookSSEBridge.js(task_progressis a stream message, not a hook event)Key Risks
task_id→agent_idmappingusage.total_tokenson eventsImplementation Phases
task_progresshandling + SSE emissionRelated
docs/pending-updates/0.2.47-0.2.70-update.md