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
Preserve causal evidence before Patrol proposals
rcourtman17ccb8240dbe
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex f8600c394d..40ffa7dfeb 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -67,7 +67,11 @@ evidence plus an advertised restart is sufficient to submit that governedproposal unless evidence identifies a restart-specific hazard. Empty logs,approval-blocked deeper inspection, or an unknown root cause do not substitutefor such a hazard and must not cause Patrol to pre-empt the policy/operator-decision by withholding the proposal.+decision by withholding the proposal. This permission does not relax causal+evidence ordering: when a cross-resource cause remains plausible, Patrol must+test at least one plausible peer or dependency through canonical query,+discovery, or topology evidence before proposing against the symptom resource+or concluding that root cause is unknown.An investigation cannot complete or submit a typed action proposal before themodel has received at least one successful structured result from an advertisedevidence tool. Until then, core withholds proposal authority while leavingdiff --git a/internal/ai/chat/agentic_prompt.go b/internal/ai/chat/agentic_prompt.goindex 18828be55f..21a1db9d0a 100644--- a/internal/ai/chat/agentic_prompt.go+++ b/internal/ai/chat/agentic_prompt.go@@ -42,7 +42,11 @@ reason for trying it. In particular, a running but currently unhealthy app contagoverned restart proposal when restart is advertised and the evidence reveals no restart-specifichazard; empty logs, approval-blocked deeper inspection, or unknown root cause are not by themselvesreasons to withhold that proposal. The proposal hands the exact decision to core policy or the-operator. If your Recommendation or Conclusion tells the operator to try, consider,+operator. This does not permit an early symptom-only proposal: before proposing on the symptom+resource or concluding that root cause is unknown, use available canonical query, discovery, or+topology evidence to test at least one plausible causal peer or dependency whenever a cross-resource+cause remains plausible. Only after that test may empty logs or blocked deeper inspection support a+bounded symptom-resource proposal. 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 theevidence does not support any advertised remediation, state the uncertainty and conclude withoutdiff --git a/internal/ai/chat/service_tooling_test.go b/internal/ai/chat/service_tooling_test.goindex 3781f45bcd..c91eff7cdf 100644--- a/internal/ai/chat/service_tooling_test.go+++ b/internal/ai/chat/service_tooling_test.go@@ -1027,6 +1027,8 @@ func TestExecutionProfilePromptModes(t *testing.T) {!strings.Contains(prompt, "running but currently unhealthy app container") ||!strings.Contains(prompt, "approval-blocked deeper inspection") ||!strings.Contains(prompt, "hands the exact decision to core policy") ||+ !strings.Contains(prompt, "does not permit an early symptom-only proposal") ||+ !strings.Contains(prompt, "plausible causal peer or dependency") ||!strings.Contains(prompt, "Tool function names are exact") ||!strings.Contains(prompt, "action or operation schema are arguments") {t.Fatalf("investigation prompt must turn supported remediation into a governed proposal, got %q", prompt)