Strategic Improvement
Build real-time health monitoring that tracks success rate, duration, and cost metrics across all pipelines. Detects anomalies (sudden drop to 0%, 3x duration spikes, cost overruns) and alerts via tmux notifications, dashboard banners, and file markers. The current 0% success rate should have triggered an immediate alert—this system ensures we never go blind again.
Acceptance Criteria
- Tracks success rate, avg duration, and cost per pipeline in rolling 7-day window
- Detects anomalies: success rate drop >20%, duration spike >2x baseline, cost spike >2x baseline
- Alerts via: tmux notification, dashboard banner, ~/.shipwright/health-alert.json marker
- Triggers automatic diagnostic scan on severe degradation (success rate <50%)
- Integrates with existing events.jsonl and DORA metrics
- Test suite validates anomaly detection and alerting logic
Context
- Priority: P0
- Complexity: standard
- Generated by: Strategic Intelligence Agent
- Strategy alignment: P0: Reliability & Success Rate
Strategic Improvement
Build real-time health monitoring that tracks success rate, duration, and cost metrics across all pipelines. Detects anomalies (sudden drop to 0%, 3x duration spikes, cost overruns) and alerts via tmux notifications, dashboard banners, and file markers. The current 0% success rate should have triggered an immediate alert—this system ensures we never go blind again.
Acceptance Criteria
Context