Skip to content

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.

The dashboard requires Bun runtime:

Terminal window
curl -fsSL https://bun.sh/install | bash
Terminal window
# Foreground (see logs in terminal)
shipwright dashboard
# Background (runs in detached mode)
shipwright dashboard start
# Stop background dashboard
shipwright dashboard stop

The dashboard runs on http://localhost:8767 by default.

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

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)

Monitor the autonomous daemon:

  • Active jobs and queue depth
  • Worker utilization and auto-scaling decisions
  • Issue triage scores
  • Recent completions and failures

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

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).

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.

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.

The dashboard reads from standard Shipwright configuration locations. No additional configuration is required beyond having a running pipeline or daemon.

To change the port:

Terminal window
shipwright dashboard --port 8080

The 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:

Terminal window
shipwright dashboard --host 0.0.0.0 # Server or fleet mode
SW_DASHBOARD_HOST=0.0.0.0 shipwright dashboard # Same, via environment variable

Binding 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.