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
Clarify Patrol open work guidance
rcourtman2f6920205654
diff --git a/docs/release-control/v6/internal/records/protection-posture-attention-queue-strong-version-2026-06-25.md b/docs/release-control/v6/internal/records/protection-posture-attention-queue-strong-version-2026-06-25.mdindex faab8df8c5..60d5e7be63 100644--- a/docs/release-control/v6/internal/records/protection-posture-attention-queue-strong-version-2026-06-25.md+++ b/docs/release-control/v6/internal/records/protection-posture-attention-queue-strong-version-2026-06-25.md@@ -104,6 +104,10 @@ loop, and routes the operator from real findings/evidence to safe action.with factual `pulse-view` context attached. Browser proof covered desktop`/proxmox/overview` launcher, Assistant context strip, command palette firstaction, and the mobile launcher.+- 2026-06-25: Clarified Patrol's Open work description so it explains the next+ useful row-level step by Patrol mode: review evidence in Watch only, approve+ changes in Ask first, inspect safe fixes or automatic actions in higher+ modes, and review verification results without adding a separate proof strip.## Evidencediff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.mdindex 8d7983db94..cf1be858c3 100644--- a/docs/release-control/v6/internal/subsystems/api-contracts.md+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md@@ -1460,6 +1460,11 @@ payload shape change when the portal presents compact client rows.## Extension Points+Patrol Open work copy in the browser may clarify row-level evidence, approval,+automatic-action, and verification-result review as presentation over existing+Patrol finding/run/status payloads. Such copy changes do not by themselves add+a new API state machine, queue contract, or verification-accounting field.+0. Parallel platform/resource handler families share their flow logic insteadof per-platform copies. `internal/api/platform_connection_shared.go` ownsthe platform connection update flow (locate by trimmed ID, decode withdiff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 5e80a2dca6..53b5218bf3 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -611,6 +611,10 @@ Feature surfaces under `frontend-modern/src/features/` may own product-specificassessment semantics, but they must keep those semantics in their governedpresentation helpers and render them inside the shared neutral Pulse surfacelanguage rather than introducing page-local verdict bands or nested cards.+For Patrol, that includes the Open work description: it may use concise+row-level guidance such as review evidence, approve a change, inspect automatic+actions, or review verification results, but it must remain descriptive copy+rather than another card, strip, or proof counter above the findings list.Feature-owned runtime hooks may also own non-visual side effects when thoseeffects are part of the governed feature workflow. For Patrol, current-workaction chrome must keep active findings in the Patrol findings workflow first;diff --git a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md b/docs/release-control/v6/internal/subsystems/patrol-intelligence.mdindex 2a04b89cf2..9ceb671bd2 100644--- a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md+++ b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md@@ -58,6 +58,11 @@ Patrol-specific presentation helpers.## Extension Points+Open work descriptions are Patrol-owned operator guidance. They may mention the+visible next step, approvals, and verification results when those words help the+operator understand what to do next, but they must not become a separate proof+strip, backend accounting summary, or generic all-mode capability sentence.+1. Add or change Patrol page orchestration through `frontend-modern/src/features/patrol/usePatrolIntelligenceState.ts`, keep `frontend-modern/src/features/patrol/patrolInvestigationContextModel.ts` as the canonical investigation-context derivation owner, keep `frontend-modern/src/features/patrol/PatrolIntelligenceSurface.tsx` as the feature shell, keep the Patrol-owned section files under `frontend-modern/src/features/patrol/` as the heavy render owners, keep `frontend-modern/src/pages/AIIntelligence.tsx` as the route shell, keep `frontend-modern/src/stores/aiIntelligenceSummaryModel.ts` as the canonical AI summary normalization owner, and update `frontend-modern/src/stores/aiIntelligence.ts` togetherThe default Patrol workspace is the current-issues list. It must not add asecond proof strip that restates the same finding, approval, or setup@@ -294,8 +299,10 @@ attention`, `approval needed`, `outcome verified`, `no active work`) insteadsentence. Watch-only installs must not advertise investigation, approvals, orfixes in the default findings copy. The default workspace description shouldtell the operator what Patrol-found problems will appear there and what- Patrol may do under the selected mode; it must not describe internal- queue mechanics, activation proof, or verification accounting.+ Patrol may do under the selected mode, including whether the next row-level+ step is evidence review, approval, automatic action review, or verification+ result review; it must not describe internal queue mechanics, activation+ proof, or verification accounting.2. Add or change Patrol findings, approvals, investigation, status-bar, or run-history presentation through `frontend-modern/src/components/AI/FindingsPanel.tsx` and `frontend-modern/src/components/patrol/`Patrol owns run-history labels, counts, status variants, and domain copy, butvisible run-history, status-bar, and runtime-summary state badges mustdiff --git a/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts b/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.tsindex 525fd7f9e3..d5a35ba641 100644--- a/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts+++ b/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts@@ -42,22 +42,22 @@ describe('patrolControlPresentation', () => {['monitor','Patrol is ready to check infrastructure and list current issues.',- 'Patrol lists current issues here after each check.',+ 'Patrol lists current issues here after each check. History keeps past outcomes.',],['approval','Patrol is ready to check, investigate, and ask before any change.',- 'Patrol lists investigations and approval requests here.',+ 'Patrol lists investigations, approvals, and verification results here.',],['assisted','Patrol is ready to check, investigate, and fix safe issues when policy allows it.',- 'Patrol lists issues it is handling here and asks when approval is needed.',+ 'Patrol lists issues it can fix, approvals it needs, and verification results here.',],['full','Patrol is ready to check, investigate, and act automatically within your policy.',- 'Patrol lists issues it is handling here and asks when policy requires approval.',+ 'Patrol lists automatic work, policy approvals, and verification results here.',],] satisfies Array<[PatrolAutonomyLevel, string, string]>)('describes %s mode without generic control-level wording',@@ -77,7 +77,7 @@ describe('patrolControlPresentation', () => {autonomyLevel: 'full',autonomyLocked: true,}),- ).toBe('Patrol lists current issues here after each check.');+ ).toBe('Patrol lists current issues here after each check. History keeps past outcomes.');});it('summarizes the open queue by affected resource instead of raw findings', () => {@@ -98,14 +98,36 @@ describe('patrolControlPresentation', () => {findingCount: 2,affectedResourceCount: 1,}),- ).toBe('Patrol found 2 issues on 1 affected resource.');+ ).toBe(+ 'Patrol found 2 issues on 1 affected resource. Open a row to review evidence and record the outcome.',+ );expect(getPatrolQueueWorkspaceDescription({autonomyLevel: 'approval',findingCount: 1,affectedResourceCount: 1,}),- ).toBe('Patrol found 1 issue on 1 affected resource.');+ ).toBe(+ 'Patrol found 1 issue on 1 affected resource. Open a row to review evidence, approve any change, and verify the outcome.',+ );+ expect(+ getPatrolQueueWorkspaceDescription({+ autonomyLevel: 'assisted',+ findingCount: 2,+ affectedResourceCount: 2,+ }),+ ).toBe(+ 'Patrol found 2 issues on 2 affected resources. Open a row to see safe fixes, approval requests, and verification.',+ );+ expect(+ getPatrolQueueWorkspaceDescription({+ autonomyLevel: 'full',+ findingCount: 3,+ affectedResourceCount: 2,+ }),+ ).toBe(+ 'Patrol found 3 issues on 2 affected resources. Open a row to see automatic actions, policy approvals, and verification.',+ );});it('keeps setup-only issue reasons short and actionable', () => {diff --git a/frontend-modern/src/features/patrol/patrolControlPresentation.ts b/frontend-modern/src/features/patrol/patrolControlPresentation.tsindex f8a4ee8ee6..dd15040b98 100644--- a/frontend-modern/src/features/patrol/patrolControlPresentation.ts+++ b/frontend-modern/src/features/patrol/patrolControlPresentation.ts@@ -74,6 +74,24 @@ function formatCount(count: number, singular: string, plural = `${singular}s`):return `${count} ${count === 1 ? singular : plural}`;}+function getPatrolQueueActionDetail(input: PatrolControlCopyInput): string {+ if (input.autonomyLocked) {+ return 'Open a row to review evidence and record the outcome.';+ }++ switch (input.autonomyLevel) {+ case 'approval':+ return 'Open a row to review evidence, approve any change, and verify the outcome.';+ case 'assisted':+ return 'Open a row to see safe fixes, approval requests, and verification.';+ case 'full':+ return 'Open a row to see automatic actions, policy approvals, and verification.';+ case 'monitor':+ default:+ return 'Open a row to review evidence and record the outcome.';+ }+}+export function getPatrolSetupIssueReason(input: PatrolSetupIssueReasonInput): string {const setupFindingTitle = normalizeText(input.setupFindingTitle);if (setupFindingTitle) return setupFindingTitle;@@ -131,23 +149,23 @@ export function getPatrolQueueWorkspaceDescription(return `Patrol found ${getPatrolFindingIssueCountLabel(findingCount)} on ${formatCount(affectedResourceCount,'affected resource',- )}.`;+ )}. ${getPatrolQueueActionDetail(input)}`;}if (input.autonomyLocked) {- return 'Patrol lists current issues here after each check.';+ return 'Patrol lists current issues here after each check. History keeps past outcomes.';}switch (input.autonomyLevel) {case 'approval':- return 'Patrol lists investigations and approval requests here.';+ return 'Patrol lists investigations, approvals, and verification results here.';case 'assisted':- return 'Patrol lists issues it is handling here and asks when approval is needed.';+ return 'Patrol lists issues it can fix, approvals it needs, and verification results here.';case 'full':- return 'Patrol lists issues it is handling here and asks when policy requires approval.';+ return 'Patrol lists automatic work, policy approvals, and verification results here.';case 'monitor':default:- return 'Patrol lists current issues here after each check.';+ return 'Patrol lists current issues here after each check. History keeps past outcomes.';}}