Usage
The
status command requires an interactive terminal (TTY). It cannot run in non-interactive environments.Features
The status manager provides:- Create incidents - Define new incidents with impact level and affected components
- Resolve incidents - Mark incidents as resolved and publish status events
- Regenerate pages - Rebuild incident detail pages
- Live reload - Refresh status data from disk
Status files
The status manager operates on two JSON files:docs/data/status.live.json- Current live status (updated by TUI)docs/data/status.fallback.json- Fallback snapshot for offline scenarios
docs/status/incidents/<incident-id>/index.html.
Keybindings
| Key | Action |
|---|---|
n | Create new incident |
r | Resolve selected incident |
g | Regenerate selected incident page |
u | Reload status data from disk |
Up/Down | Navigate incident list |
Esc | Exit status manager |
Incident editor
When creating a new incident (n key), the editor displays:
Fields
- ID - Optional custom identifier (auto-generated if empty)
- TITLE - Required headline for the incident
- IMPACT - Severity level:
none,minor,major,critical - STATE - Current state:
investigating,identified,monitoring,resolved - COMPONENTS - Comma-separated component IDs
- SUMMARY - Short public-facing summary
Editor keybindings
| Key | Action |
|---|---|
Up/Down | Move between fields |
Enter | Edit text field (or cycle enum) |
Left/Right | Cycle enum values |
Space | Cycle enum values |
S or Ctrl+S | Save and create incident |
Esc | Cancel and close editor |
Incident states
Impact levels
- none - No user impact (internal issue)
- minor - Minimal impact, degraded performance for some users
- major - Significant impact, service partially unavailable
- critical - Severe impact, service unavailable or data loss risk
Status events
When incidents are created or resolved, the status manager can optionally emit webhook events to notify external systems. Environment variables:DEX_STATUS_EVENTS_ENV- Environment for status webhooks (testorprod)DEX_EVENTS_ENV- Fallback environment ifDEX_STATUS_EVENTS_ENVis not set
Overall status calculation
The status manager automatically updates the overall platform state based on active incidents:- Operational - No active incidents
- Degraded - Active incidents with minor impact
- Outage - Active incidents with major or critical impact
Example workflow
Update status files
The manager writes to
docs/data/status.live.json and generates an incident page.Components
Components represent monitored services or subsystems. They are defined in the status JSON files and displayed in the status manager:- ID - Unique component identifier
- State - Current operational state
- Uptime - 24h, 7d, and 30d uptime percentages
- Latency - Recent response time in milliseconds
Related commands
dex deploy
Deploy site after status updates
TUI keybindings
Full TUI keyboard reference