Dashboard
The Shipwright dashboard provides a real-time web interface for monitoring pipeline progress, agent activity, daemon status, and DORA metrics. It uses WebSocket connections for live updates.
Prerequisites
Section titled “Prerequisites”The dashboard requires Bun runtime:
curl -fsSL https://bun.sh/install | bashStarting the Dashboard
Section titled “Starting the Dashboard”# Foreground (see logs in terminal)shipwright dashboard
# Background (runs in detached mode)shipwright dashboard start
# Stop background dashboardshipwright dashboard stopThe dashboard runs on http://localhost:8767 by default.
Features
Section titled “Features”Pipeline Monitoring
Section titled “Pipeline Monitoring”View real-time progress for all active pipelines:
- Current stage and elapsed time per stage
- Self-healing cycle status
- Build agent output
- Test results and coverage
- Review findings
Agent Activity
Section titled “Agent Activity”Track all running Claude Code agents:
- Heartbeat status (alive, stale, dead)
- Current task and iteration count
- Token usage per agent
- Session mapping (which tmux pane)
Daemon Status
Section titled “Daemon Status”Monitor the autonomous daemon:
- Active jobs and queue depth
- Worker utilization and auto-scaling decisions
- Issue triage scores
- Recent completions and failures
DORA Metrics
Section titled “DORA Metrics”Live DORA/DX metrics dashboard:
- Lead Time — time from issue creation to PR merge
- Deployment Frequency — pipelines completed per day
- Change Failure Rate — percentage of pipelines that fail
- Mean Time to Recovery — time from failure to successful retry
Context Efficiency
Section titled “Context Efficiency”The dashboard includes a context efficiency widget that visualizes how pipeline agents use their context budgets:
- Budget Utilization — Gauge showing average percentage of context budget used per iteration
- Trim Ratio — Average percentage of generated content trimmed by the context engineering layer
- Chars Discarded — Total characters saved by intelligent trimming
- Trim Events — Number of iterations where trimming occurred
Data comes from loop.context_efficiency events emitted during build iterations. The /api/context-efficiency endpoint provides the raw metrics with a configurable time period (default: 7 days).
Predictions
Section titled “Predictions”When the intelligence layer is enabled, the dashboard displays prediction data for active pipelines:
- Predicted completion time
- Success probability
- Estimated cost
- Risk factors for each stage
This data comes from the predictive analytics module. See the Intelligence guide for configuration.
Architecture
Section titled “Architecture”The dashboard consists of:
| Component | Location | Purpose |
|---|---|---|
| Server | dashboard/server.ts |
Bun WebSocket server, reads pipeline state and events |
| Frontend | dashboard/public/ |
HTML/CSS/JS single-page application |
| Events | ~/.shipwright/events.jsonl |
JSONL event stream consumed by the server |
| State | .claude/pipeline-state.md |
Pipeline state file polled for updates |
| Heartbeats | ~/.shipwright/heartbeats/ |
Agent liveness data |
The server watches the events file and pipeline state for changes, pushing updates to connected clients via WebSocket.
Configuration
Section titled “Configuration”The dashboard reads from standard Shipwright configuration locations. No additional configuration is required beyond having a running pipeline or daemon.
To change the port:
shipwright dashboard --port 8080The dashboard listens on 127.0.0.1 (localhost only) by default. To reach it from another machine, opt in with --host or the SW_DASHBOARD_HOST environment variable:
shipwright dashboard --host 0.0.0.0 # Server or fleet modeSW_DASHBOARD_HOST=0.0.0.0 shipwright dashboard # Same, via environment variableBinding to 0.0.0.0 exposes the dashboard on every network interface. Only do this on a network you trust, and see Fleet for how workers join a shared dashboard.