Pulse/pkg
rcourtman 88d419dd5b feat(ai): Add enriched context with historical trends and predictions
Phase 1 of Pulse AI differentiation:

- Create internal/ai/context package with types, trends, builder, formatter
- Implement linear regression for trend computation (growing/declining/stable/volatile)
- Add storage capacity predictions (predicts days until 90% and 100%)
- Wire MetricsHistory from monitor to patrol service
- Update patrol to use buildEnrichedContext instead of basic summary
- Update patrol prompt to reference trend indicators and predictions

This gives the AI awareness of historical patterns, enabling it to:
- Identify resources with concerning growth rates
- Predict capacity exhaustion before it happens
- Distinguish between stable high usage vs growing problems
- Provide more actionable, time-aware insights

All tests passing. Falls back to basic summary if metrics history unavailable.
2025-12-12 09:45:57 +00:00
..
agents feat: AI integration, Docker metrics, RAID display, and infrastructure improvements 2025-12-09 09:29:27 +00:00
discovery feat(ai): Add enriched context with historical trends and predictions 2025-12-12 09:45:57 +00:00
fsfilters fix: Exclude TrueNAS Docker overlay mounts from disk stats 2025-12-04 03:03:04 +00:00
pbs test: add unit tests for pkg/pbs 2025-11-26 14:15:49 +00:00
pmg style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
proxmox fix(ai-chat): Display messages chronologically in AI chatbot 2025-12-11 23:02:59 +00:00
tlsutil test: add unit tests for pkg/tlsutil 2025-11-26 14:14:34 +00:00