Skip to main content

Dashboard

The SigmaShake dashboard is a real-time governance UI served locally at http://localhost:5599.

Starting the dashboard

ssg serve

Pages

Home (/)

The main dashboard shows:

  • Stats cards — Total evaluations, blocked, forced, asked
  • Pending approvals — ASK decisions waiting for human review
  • Blocked actions — Recent denied tool calls
  • Audit log — Latest evaluations with decision, rule, tool, and timestamp

All sections update in real-time via Server-Sent Events (SSE).

Rules (/rules)

Browse and inspect all loaded governance rules:

  • Rule ID, priority, severity, decision, target
  • Condition details
  • Enabled/disabled status

Audit (/audit)

Full audit log with filtering:

  • Filter by decision type (allow, block, log, shadow, ask, force)
  • Filter by tool name
  • Search within audit entries
  • Agent subagent_type shown as inline badges

Flight (/flight)

Flight recorder telemetry:

  • Rule evaluation traces
  • Performance timings
  • Error and warning events

Profile (/profile)

Evaluation performance profiling:

  • Latency distribution
  • Slowest rules
  • Cache hit rates

HTMX-powered UI

The dashboard uses HTMX for dynamic updates without JavaScript frameworks:

  • hx-get — Lazy-loaded sections
  • hx-trigger="sse:update" — SSE-driven refresh
  • sse-connect="/api/events" — Real-time event stream

API endpoints

MethodPathPurpose
GET/api/healthHealth check
GET/api/auditAudit log data
GET/api/blockedBlocked commands
GET/api/statsDecision statistics
GET/api/metricsPerformance metrics
GET/api/eventsSSE event stream
POST/api/pendingCreate approval request
GET/api/pending/:id/statusCheck approval status
POST/api/decide/:idApprove/deny a pending request