Pulse/internal/ai
rcourtman 77db408114 feat(ai): add finding validation layer to reduce patrol noise
- Add validateAIFindings() that cross-checks AI findings against actual metrics
- Filter out low-confidence findings (CPU <50%, memory <60%, disk <70%)
- Always allow critical findings, backup issues, and reliability findings through
- Update AI system prompt with stricter thresholds and explicit noise examples
- Add 'before creating a finding' checklist for AI (the 3am test)
- Update AI.md docs with clear value proposition and expectations
- Add comprehensive tests for the validation layer

This ensures paying users get immediate value without noise.
2025-12-22 23:28:09 +00:00
..
baseline chore: AI patrol and baseline improvements 2025-12-22 23:12:11 +00:00
context fix: include VMID in AI context to prevent incorrect references 2025-12-21 23:13:47 +00:00
correlation fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
cost fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
knowledge fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
memory Improve AI test coverage 2025-12-21 20:22:47 +00:00
patterns fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
providers test: improve test coverage for AI, license, config, and monitoring packages 2025-12-19 22:49:30 +00:00
alert_adapter.go test: add unit tests for AI, Kubernetes agent, and clients 2025-12-17 12:47:36 +00:00
alert_adapter_test.go fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
alert_provider.go AI Problem Solver implementation and various fixes 2025-12-06 23:46:08 +00:00
alert_provider_test.go test: add unit tests for AI, Kubernetes agent, and clients 2025-12-17 12:47:36 +00:00
alert_threshold_adapter.go refactor(ai): Remove over-engineered URL discovery service 2025-12-10 08:35:24 +00:00
alert_threshold_adapter_test.go test: add unit tests for AI, Kubernetes agent, and clients 2025-12-17 12:47:36 +00:00
alert_triggered.go feat: enhance AI baseline context visibility and incident timeline improvements 2025-12-21 00:14:20 +00:00
alert_triggered_test.go test(ai): improve AI package test coverage from 59.7% to 69.5% 2025-12-19 21:53:06 +00:00
baseline_adapter.go feat(ai): Add baseline learning and anomaly detection (Phase 2) 2025-12-12 11:26:31 +00:00
baseline_adapter_test.go chore: AI patrol and baseline improvements 2025-12-22 23:12:11 +00:00
baseline_exports.go feat(ai): Wire baseline learning loop into router startup 2025-12-12 11:29:47 +00:00
clean_thinking_test.go chore: AI patrol and baseline improvements 2025-12-22 23:12:11 +00:00
config.go AI Problem Solver implementation and various fixes 2025-12-06 23:46:08 +00:00
correlation_exports.go feat(ai): Add multi-resource correlation detection (Phase 6) 2025-12-12 14:26:10 +00:00
cost_persistence.go feat(ai): Add enriched context with historical trends and predictions 2025-12-12 09:45:57 +00:00
cost_persistence_test.go fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
demo.go Add clean separation between mock and real AI findings 2025-12-22 20:23:15 +00:00
exports_test.go test(ai): improve AI package test coverage from 59.7% to 69.5% 2025-12-19 21:53:06 +00:00
findings.go fix: prevent demo findings from being persisted to disk 2025-12-22 21:45:07 +00:00
findings_persistence.go fix: persist finding dismissal state across restarts 2025-12-22 11:18:43 +00:00
findings_persistence_test.go fix: persist finding dismissal state across restarts 2025-12-22 11:18:43 +00:00
findings_test.go feat: add demo AI findings for mock mode 2025-12-22 17:16:26 +00:00
intelligence.go feat(ai): add unified Intelligence orchestrator 2025-12-21 10:32:02 +00:00
intelligence_test.go Add more AI test coverage 2025-12-21 20:31:24 +00:00
kubernetes_analysis.go fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
kubernetes_analysis_test.go fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
memory_exports.go feat(ai): Add operational memory (Phase 3) - change detection and remediation logging 2025-12-12 13:49:37 +00:00
metadata_provider.go fix: add missing HandleLicenseFeatures method and related changes 2025-12-19 22:59:52 +00:00
metrics_history_adapter.go feat(ai): Add enriched context with historical trends and predictions 2025-12-12 09:45:57 +00:00
mock_test.go test(ai): improve AI package test coverage from 59.7% to 69.5% 2025-12-19 21:53:06 +00:00
patrol.go feat(ai): add finding validation layer to reduce patrol noise 2025-12-22 23:28:09 +00:00
patrol_history_persistence.go fix: Allow Host Agent thresholds to be set to 0 to disable alerting. Related to #864 2025-12-20 20:25:20 +00:00
patrol_history_persistence_test.go test(ai): improve AI package test coverage from 59.7% to 69.5% 2025-12-19 21:53:06 +00:00
patrol_test.go feat(ai): add finding validation layer to reduce patrol noise 2025-12-22 23:28:09 +00:00
pattern_exports.go feat(ai): Add failure pattern detection for predictive intelligence (Phase 5) 2025-12-12 14:11:28 +00:00
resource_context.go Add AI monitoring enhancements and host metadata features 2025-12-09 16:27:46 +00:00
routing.go Add AI monitoring enhancements and host metadata features 2025-12-09 16:27:46 +00:00
routing_test.go AI Problem Solver implementation and various fixes 2025-12-06 23:46:08 +00:00
sanitize_test.go refactor(ai): Remove over-engineered URL discovery service 2025-12-10 08:35:24 +00:00
service.go feat: add demo AI findings for mock mode 2025-12-22 17:16:26 +00:00
service_extended_test.go feat: add demo AI findings for mock mode 2025-12-22 17:16:26 +00:00
service_remediation_test.go feat(ai): add unified Intelligence orchestrator 2025-12-21 10:32:02 +00:00
service_test.go test(ai): improve AI package test coverage from 59.7% to 69.5% 2025-12-19 21:53:06 +00:00
service_tools_test.go test(ai): improve AI package test coverage from 59.7% to 69.5% 2025-12-19 21:53:06 +00:00
target_host_test.go AI Problem Solver implementation and various fixes 2025-12-06 23:46:08 +00:00