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
docs(alerts): record Phase 2 completion and the reconciler scope-out
rcourtman90cd0a57af1b
diff --git a/docs/ALERT_ENGINE_EVOLUTION.md b/docs/ALERT_ENGINE_EVOLUTION.mdindex 6149b04935..9c67595db4 100644--- a/docs/ALERT_ENGINE_EVOLUTION.md+++ b/docs/ALERT_ENGINE_EVOLUTION.md@@ -74,6 +74,24 @@ from memory.(Docker, PBS/storage). Each family cutover deletes its tracking maps andthe imperative bulk of its `Check*` path. Alert IDs and override keysstay stable until an explicit config migration.+ **Status: complete (2026-08-27).** All four per-observation transition+ families run on the reducer core as the authoritative state:+ match-spec lifecycle (`evaluateCanonicalLifecycleAlert`), legacy+ `checkMetric`, canonical metric threshold, and the stateful family.+ The legacy tracking maps (`offlineConfirmations`,+ `offlineRecoveryConfirmations`, `nodeOfflineCount`,+ `connectionDegradedCount`, `dockerOfflineCount`, `dockerStateConfirm`,+ `pendingAlerts`) are deleted; their cleanup-loop hygiene moved into the+ core (`PruneStalePending`, pending reaping on container removal,+ healthy observations from the online handlers).+ *Deliberately scoped out:* the unified-incidents reconciler+ (`unifiedIncident*` in the manager). It is a batch reconciliation+ family, not a per-observation confirmation run — its provider hands it+ complete incident sets and its `firstSeen` bookkeeping is already+ identity-correct — so forcing it through the per-signal reducer would+ add translation without retiring a defect class. It stays a follow-on:+ if the event log becomes the sole history authority (Phase 3+), it+ should emit reducer-shaped events at that boundary instead.- **Phase 3 — declarative rule model.** Scope selector + condition +policy replaces the per-platform config blocks and `DisableAll*`booleans, with a translator from the existing `AlertConfig` so persisteddiff --git a/docs/release-control/v6/internal/records/alert-lifecycle-contract-coverage-2026-08-26.md b/docs/release-control/v6/internal/records/alert-lifecycle-contract-coverage-2026-08-26.mdindex a66081654d..e98e63d88d 100644--- a/docs/release-control/v6/internal/records/alert-lifecycle-contract-coverage-2026-08-26.md+++ b/docs/release-control/v6/internal/records/alert-lifecycle-contract-coverage-2026-08-26.md@@ -114,4 +114,32 @@ composition. The shadow feed now models the deferral independentlyinstead of echoing the manager's hold. Phase 1 characterization iscomplete: every discrete-family and metric-family behavior is pinned.-Remaining: Phase 2 itself.+Phase 2 (2026-08-26/27): all four per-observation transition families cut+over to the reducer core as authoritative state, one scoped commit each —+match-spec lifecycle (ee35d178b successor chain), legacy checkMetric,+canonical metric threshold, and the stateful family. Each cutover held the+family's full test surface green and kept the parity harnesses as+regression pins. The cutovers surfaced and fixed three production defects+at the root: checkMetric resolving by legacy ID so canonical-keyed alerts+never cleared (#1580 class), confirmation-run StartTime stamped at the+final confirming poll instead of the first match, and powered-off grace+measured on the wall clock after cutover (restored wall-clock immunity via+monotonic RuntimeTick signals).++Legacy-map deletion (2026-08-27, 6eee5a164): the seven transition-state+maps deleted from the manager per the plan's retirement list; cleanup-loop+hygiene moved into the core (PruneStalePending on both cleanup paths,+pending reaping for removed containers via PendingResourceIDs, healthy+observations from HandleHostOnline/HandleDockerHostOnline). The test-seam+conversion surfaced two more real gaps, fixed at the root: config-change+auto-resolution never mirrored its forget into the core (a policy-disabled+alert stayed firing in the core), and evaluateIntentNoLock created intent+pending state without ResourceID/ResourceType/TrackingKey so per-resource+clears could not match it.++Scoped out deliberately: the unified-incidents reconciler stays on its+batch reconciliation model (rationale recorded in+docs/ALERT_ENGINE_EVOLUTION.md, Phase 2 status).++Remaining: Phase 3 — declarative rule model with an AlertConfig+translator, engine threshold resolution through rules, UI migration.