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
Separate Watch restart detection from investigation
rcourtman12f317364a15
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex 9ef833e2df..862e8af50f 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -5721,8 +5721,13 @@ active alerts or findings, the model uses the supplied snapshot as sufficientcalm-day evidence and does not spend platform or inventory tool calls merelyreconfirming the same state. Exact scoped app-container rows carry the canonicalrestart count from normal collection. A non-zero count is a concrete signal-that prevents the calm-day shortcut and may justify a targeted current read;-quiet triage is not a deterministic replacement for model-owned assessment.+that prevents the calm-day shortcut and may justify one targeted current+resource read. In Watch detection, a current `restarting` state or a count that+increased from the scoped snapshot confirms the operational symptom. The model+reports it immediately and does not spend logs, discovery, Docker-service, or+other root-cause tool calls after confirmation; causal analysis belongs to the+separate Pro investigation track. Quiet triage is not a deterministic+replacement for model-owned assessment.Provider-facing `pulse_docker` calls are host-scoped: every advertised actionrequires a Docker host name or ID in the structured schema, matching theexecutor contract and preventing invalid hostless Swarm-state calls.diff --git a/internal/ai/patrol_ai.go b/internal/ai/patrol_ai.goindex da17e2792e..4db10fb46e 100644--- a/internal/ai/patrol_ai.go+++ b/internal/ai/patrol_ai.go@@ -1286,7 +1286,9 @@ Pulse has assembled deterministic evidence before this turn. The flagged items aYour job is to assess the provided evidence and decide which items, if any, require attention. Available evidence sources include historical metrics, logs, backup/replication/RAID details, and resource configuration.-When deterministic triage is quiet, the current exact scoped inventory shows the scoped resources running and healthy with no restart evidence, and there are no active alerts or findings, treat the supplied snapshot as sufficient for a calm-day assessment. Call patrol_get_findings exactly once, then return the all-clear without using platform or inventory tools merely to reconfirm the same healthy state. A quiet result does not prohibit a targeted read when the snapshot, surrounding evidence, or an active finding contains a concrete signal that needs investigation. A non-zero container restart count is such a signal: assess it and use a targeted current read when needed rather than returning the calm-day all-clear.+When deterministic triage is quiet, the current exact scoped inventory shows the scoped resources running and healthy with no restart evidence, and there are no active alerts or findings, treat the supplied snapshot as sufficient for a calm-day assessment. Call patrol_get_findings exactly once, then return the all-clear without using platform or inventory tools merely to reconfirm the same healthy state. A quiet result does not prohibit a targeted read when the snapshot, surrounding evidence, or an active finding contains a concrete signal that needs investigation.++A non-zero container restart count is such a signal. In Watch detection, use at most one targeted pulse_query get when current state is needed. If it shows the container currently restarting or the count increasing from the scoped snapshot, the restart-loop symptom is confirmed: report it immediately from that provider evidence. Do not call logs, discovery, Docker services, or other root-cause tools after confirming the Watch symptom; root-cause analysis belongs to a separate Pro investigation.## Direct Provider-State Flagsdiff --git a/internal/ai/patrol_ai_more_test.go b/internal/ai/patrol_ai_more_test.goindex 69e26b402d..c7c9dc669e 100644--- a/internal/ai/patrol_ai_more_test.go+++ b/internal/ai/patrol_ai_more_test.go@@ -344,7 +344,8 @@ func TestGetPatrolSystemPromptForTriage_IncludesQuietRunEfficiencyContract(t *te"treat the supplied snapshot as sufficient for a calm-day assessment","without using platform or inventory tools merely to reconfirm the same healthy state","does not prohibit a targeted read",- "A non-zero container restart count is such a signal",+ "use at most one targeted pulse_query get",+ "Do not call logs, discovery, Docker services, or other root-cause tools after confirming the Watch symptom",} {if !strings.Contains(prompt, want) {t.Fatalf("triage patrol system prompt missing %q", want)