Skip to content

Add Swarm Dashboard with BFF fan-out#57

Merged
DarlingtonDeveloper merged 2 commits into
mainfrom
feature/swarm-dashboard
Feb 14, 2026
Merged

Add Swarm Dashboard with BFF fan-out#57
DarlingtonDeveloper merged 2 commits into
mainfrom
feature/swarm-dashboard

Conversation

@DarlingtonDeveloper
Copy link
Copy Markdown
Collaborator

Summary

  • Swarm BFF (/api/swarm/*) — fans out to Warren, Chronicle, Dispatch, PromptForge, and Alexandria concurrently with per-service error isolation, health proxy, and SSE event stream passthrough
  • Swarm Dashboard — new tab with Live/Schedule sub-views, Zustand store with alert derivation (service-down detection, DLQ spike), polling + SSE hooks, and 5 dashboard widgets (FleetOverview, ServiceStatus, TaskPipeline, AgentGrid, EventTimeline)
  • Tests — 6 Go unit tests, 16 Vitest store tests, 4 Playwright E2E tests
  • Docs — CHANGELOG v6.14 entry + ARCHITECTURE.md Swarm BFF section

Test plan

  • go test ./api/ -run TestSwarm -v — 6/6 passing
  • npx vitest run src/stores/useSwarmStore.test.ts — 16/16 passing
  • npx playwright test e2e/swarm.spec.ts — requires running dev server
  • CI pipeline (build + lint + test)

🤖 Generated with Claude Code

DarlingtonDeveloper and others added 2 commits February 14, 2026 00:23
Backend: /api/swarm/overview fans out to Warren, Chronicle, Dispatch,
PromptForge, and Alexandria concurrently with per-service error isolation.
Warren health proxy and SSE event stream passthrough endpoints.

Frontend: Swarm tab with Live/Schedule sub-tabs, Zustand store with
alert derivation (service-down, DLQ spike), polling + SSE hooks,
FleetOverview, ServiceStatus, TaskPipeline, AgentGrid, EventTimeline.

Tests: 6 Go tests (overview, partial failure, method guard, health proxy,
health down, SSE), 16 Vitest store tests, 4 Playwright E2E tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The CreateTaskRequest struct expects `json:"title"` but the E2E smoke
test was sending `"name"`, causing a 400 "title is required" error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@DarlingtonDeveloper DarlingtonDeveloper merged commit 48237bb into main Feb 14, 2026
2 of 3 checks passed
@DarlingtonDeveloper DarlingtonDeveloper deleted the feature/swarm-dashboard branch February 14, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant