AIStatusIndicator: - Now shows BOTH patrol findings AND baseline anomalies - Displays even when only anomaly detection is active (no patrol) - Badge count includes both findings + anomalies - Tooltip provides detailed breakdown by severity Trend Prediction (backend): - Add TrendPrediction struct for resource exhaustion forecasting - CalculateTrend() uses linear regression on sample history - Predicts days until resource is full (or if declining/stable) - Severity: critical (<7 days), warning (<30 days), info (>30 days) - Human-readable descriptions like 'full in ~2 weeks (+0.5% per day)' This creates a more cohesive intelligence experience where anomaly detection works independently of the pro/patrol features, making value visible immediately to all users. |
||
|---|---|---|
| .. | ||
| store.go | ||
| store_extended_test.go | ||
| store_test.go | ||