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
Require typed Patrol remediation proposals
rcourtman746990db3471
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex 4f0cd9871c..7fb2668bf5 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -53,6 +53,15 @@ allowlist; investigation is domain-read-only and may emit at most oneside-effect-free typed proposal whose correlation identity is server-authored.Unknown profiles, actions, aliases, origins, scopes, and mutationclassifications fail closed.+An investigation proposal is a request for the canonical policy plane to make+an execution decision, not execution or approval by the model. When an+investigation's recommendation or conclusion tells the operator to try,+consider, or perform an advertised remediation, the model must submit that+exact remediation through `patrol_propose_action` instead of leaving it only in+prose. Unknown root cause does not by itself prohibit a reversible, bounded+initial proposal when evidence confirms the operational symptom; capability+validation, approval floors, tenant mode, emergency stop, dispatch, and+verification remain core-owned and fail closed.Model/tool orchestration is bounded by construction rather than by requesttimeout. The legacy `Service` streaming and non-streaming paths share onediff --git a/internal/ai/chat/agentic_prompt.go b/internal/ai/chat/agentic_prompt.goindex 9762f71793..81ad4239ee 100644--- a/internal/ai/chat/agentic_prompt.go+++ b/internal/ai/chat/agentic_prompt.go@@ -34,9 +34,13 @@ This is a non-interactive investigation of one finding. You cannot ask the userdirectly change infrastructure. Gather evidence with read-only tools and conclude with yourdiagnosis. If your diagnosis concludes that an advertised remediation is safe and supported bythe evidence, call patrol_propose_action before the final summary; that governed proposal is not-execution. Never leave a safe advertised remediation only as prose. If the evidence does not-support one, state the uncertainty and conclude without proposing. Every direct state-changing-call will be blocked.`+execution or approval. An unknown root cause does not by itself rule out a reversible, advertised+initial remediation when the evidence confirms the operational symptom and supports a bounded+reason for trying it. If your Recommendation or Conclusion tells the operator to try, consider,+or perform an advertised remediation, you must call patrol_propose_action for that exact action;+never leave it only as prose. Core policy independently decides whether it may execute. If the+evidence does not support any advertised remediation, state the uncertainty and conclude without+proposing. Every direct state-changing call will be blocked.`case tools.ProfileInteractiveAssistant:fallthroughdefault:diff --git a/internal/ai/chat/service_tooling_test.go b/internal/ai/chat/service_tooling_test.goindex 67f517f656..29f8637241 100644--- a/internal/ai/chat/service_tooling_test.go+++ b/internal/ai/chat/service_tooling_test.go@@ -1021,7 +1021,9 @@ func TestExecutionProfilePromptModes(t *testing.T) {t.Fatalf("investigation profile prompt wrong: %q", prompt)}if !strings.Contains(prompt, "call patrol_propose_action") ||- !strings.Contains(prompt, "Never leave a safe advertised remediation only as prose") {+ !strings.Contains(prompt, "you must call patrol_propose_action for that exact action") ||+ !strings.Contains(prompt, "Core policy independently decides whether it may execute") ||+ !strings.Contains(prompt, "unknown root cause does not by itself rule out") {t.Fatalf("investigation prompt must turn supported remediation into a governed proposal, got %q", prompt)}}