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 sectionshx-trigger="sse:update"— SSE-driven refreshsse-connect="/api/events"— Real-time event stream
API endpoints
| Method | Path | Purpose |
|---|---|---|
| GET | /api/health | Health check |
| GET | /api/audit | Audit log data |
| GET | /api/blocked | Blocked commands |
| GET | /api/stats | Decision statistics |
| GET | /api/metrics | Performance metrics |
| GET | /api/events | SSE event stream |
| POST | /api/pending | Create approval request |
| GET | /api/pending/:id/status | Check approval status |
| POST | /api/decide/:id | Approve/deny a pending request |