The requested feature to add a worker count badge to the TUI header
is already fully implemented in src/tui/app.ts via:
- getWorkerStats(): returns counts by status (active/idle/error)
- getHeaderContent(): builds badge with color-coded indicators
- updateHeader(): called in real-time via addEvent()
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The integration test for parsing real NEEDLE worker logs was already
created in bead bd-6q2 at src/parser.real-logs.integration.test.ts.
All 19 tests pass, covering:
- Worker extraction (worker_id)
- Bead extraction (bead_id)
- Timestamp extraction (ISO to NeedleEvent)
- Event information (event_type, data, session_id, sequence)
- Multiple event types (worker lifecycle, bead lifecycle)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The requested vitest E2E test for WorkerDetail already exists with
comprehensive coverage (30 tests passing for TUI, 39 for web frontend).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The E2E test at src/web/frontend/components/ActivityStream.e2e.test.tsx
already comprehensively covers all requirements: chronological order,
timestamp formatting, level colors, scrolling behavior, and filtering.
All 20 tests pass successfully.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The test file at src/tui/components/WorkerGrid.e2e.test.ts already
exists and passes all 13 tests covering status color rendering.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>