Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Drop AI intelligence learning counters
rcourtmana4b27d11a303
diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.mdindex c715ff6fcb..231a994f4d 100644--- a/docs/release-control/v6/internal/subsystems/api-contracts.md+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md@@ -77,7 +77,7 @@ Own canonical runtime payload shapes between backend and frontend.5. Route unified-resource action, lifecycle, and export audit reads through `internal/api/activity_audit_handlers.go`, `internal/api/router_routes_licensing.go`, and `internal/api/contract_test.go` together so the control-plane execution trail stays on a governed API contract instead of a store-only shape6. Route dedicated unified-resource timeline and facet-bundle reads through `frontend-modern/src/api/resources.ts`, `internal/api/resources.go`, and `internal/api/contract_test.go` together so the backend facet contract and the frontend client stay aligned on one timeline-first surface, while capability and relationship detail stays backend-owned for AI correlation and change detection7. Route canonical AI intelligence summary and resource-intelligence reads through `frontend-modern/src/api/ai.ts`, `frontend-modern/src/stores/aiIntelligence.ts`, `frontend-modern/src/pages/AIIntelligence.tsx`, `internal/api/ai_handlers.go`, and `internal/api/contract_test.go` together so the summary card, store state, and backend payload stay aligned on one governed surface, including the canonical recent-changes slice- and the derived signal coverage block beneath it, so the summary page keeps the timeline and learned-correlation story primary rather than presenting the supporting counts as a separate product metric or a fake incident counter+ while keeping the learning counters backend-only coverage, so the summary page keeps the timeline and learned-correlation story primary rather than presenting the supporting counts as a separate product metricand the shared `frontend-modern/src/components/Infrastructure/ResourceChangeSummary.tsx` card, so canonical recent-change timelines stay rendered through one governed frontend card instead of separate page-local list loopsand the shared `frontend-modern/src/utils/resourceChangePresentation.ts` formatter used by the summary page and resource drawer, so canonical change wording does not drift across surfacesand the `/api/ai/intelligence/changes` route plus `internal/api/contract_test.go`, so the canonical recent-changes endpoint stays on the same intelligence facade and contract snapshot instead of bypassing the shared timeline sourcediff --git a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md b/docs/release-control/v6/internal/subsystems/patrol-intelligence.mdindex 1f0f9b7d67..88a9fb99f6 100644--- a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md+++ b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md@@ -115,10 +115,10 @@ surface instead of being rebuilt in each caller.The Patrol page also now renders the canonical intelligence summary cardthrough the governed AI client and store, so the visible page summary and theresource/timeline sections stay aligned on the same shared backend slice.-That same summary card now keeps the learning block framed as derived signal-coverage beneath the timeline and learned-correlation sections, so the page-does not present the supporting counts as the main intelligence story or-surface incident tracking as a pretend learning metric.+That same summary card now keeps recent changes and learned correlations+primary while leaving the broader learning counters as backend coverage, so+the page does not present telemetry-style counts as a headline intelligence+story.That Patrol summary card now also includes the canonical data-governanceposture snapshot from the shared AI summary payload, so the visible page canshow the same sensitivity, routing, and redaction distribution that thediff --git a/frontend-modern/src/pages/AIIntelligence.tsx b/frontend-modern/src/pages/AIIntelligence.tsxindex 1991baefaf..b30f8b4776 100644--- a/frontend-modern/src/pages/AIIntelligence.tsx+++ b/frontend-modern/src/pages/AIIntelligence.tsx@@ -1279,54 +1279,6 @@ export function AIIntelligence() {/><div class="space-y-4">- <div class="rounded-md border border-border-subtle bg-base p-4">- <div class="flex items-center justify-between gap-2">- <h3 class="text-sm font-semibold text-base-content">- Derived signal coverage- </h3>- <span class="text-xs text-muted">- {summary().learning.resources_with_baselines} baselined- </span>- </div>- <p class="mt-1 text-xs text-muted">- Coverage from baselines, knowledge, patterns, learned correlations, and- predictions.- </p>-- <dl class="mt-3 grid grid-cols-2 gap-2 text-sm">- <div class="rounded-md bg-surface px-3 py-2">- <dt class="text-xs uppercase tracking-wide text-muted">Knowledge</dt>- <dd class="mt-1 font-semibold text-base-content">- {summary().learning.resources_with_knowledge}- </dd>- </div>- <div class="rounded-md bg-surface px-3 py-2">- <dt class="text-xs uppercase tracking-wide text-muted">Notes</dt>- <dd class="mt-1 font-semibold text-base-content">- {summary().learning.total_notes}- </dd>- </div>- <div class="rounded-md bg-surface px-3 py-2">- <dt class="text-xs uppercase tracking-wide text-muted">Patterns</dt>- <dd class="mt-1 font-semibold text-base-content">- {summary().learning.patterns_detected}- </dd>- </div>- <div class="rounded-md bg-surface px-3 py-2">- <dt class="text-xs uppercase tracking-wide text-muted">Correlations</dt>- <dd class="mt-1 font-semibold text-base-content">- {summary().learning.correlations_learned}- </dd>- </div>- <div class="rounded-md bg-surface px-3 py-2">- <dt class="text-xs uppercase tracking-wide text-muted">Predictions</dt>- <dd class="mt-1 font-semibold text-base-content">- {summary().predictions_count}- </dd>- </div>- </dl>- </div>-<Show when={(aiIntelligenceStore.correlations?.correlations?.length ?? 0) > 0}><ResourceCorrelationSummarytitle="Learned correlations"diff --git a/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx b/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsxindex b31dd918dd..c54caf80fb 100644--- a/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx+++ b/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx@@ -596,12 +596,8 @@ describe('AIIntelligence entitlement gating', () => {expect(screen.getByRole('link', { name: 'Open related resource agent-1 in Infrastructure' }),).toHaveAttribute('href', '/infrastructure?resource=agent-1');- expect(screen.getByText('Derived signal coverage')).toBeInTheDocument();- expect(- screen.getByText(- /Coverage from baselines, knowledge, patterns, learned correlations, and predictions\./,- ),- ).toBeInTheDocument();+ expect(screen.queryByText('Derived signal coverage')).not.toBeInTheDocument();+ expect(screen.queryByText(/baselined/)).not.toBeInTheDocument();expect(screen.getByText('Data Governance')).toBeInTheDocument();expect(screen.getByText('4 governed resources')).toBeInTheDocument();expect(screen.getByText('Public')).toBeInTheDocument();