Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Add Patrol calm-day protection posture

rcourtmana8726a7bc729
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.md
index 76f6eb73cf..610b99a862 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
@@ -122,6 +122,12 @@ loop, and routes the operator from real findings/evidence to safe action.
recurring active issues, and overdue scheduled protection. The grouping stays
inside Patrol and does not replace issue rows, approvals, verification, or
contextual Assistant handoffs.
+- 2026-06-30: Added Patrol-owned calm-day protection posture inside the empty
+ `Open work` workspace. It surfaces protection-current, latest coverage,
+ schedule freshness, drift-history, and verification-waiting facts only after
+ current findings, approvals, failed checks, stale protection, running checks,
+ and setup failures have been ruled out, and browser proof keeps those facts
+ out of the monitor-first launch page.
## Evidence
@@ -139,7 +145,8 @@ loop, and routes the operator from real findings/evidence to safe action.
- Cross-source current-work grouping remains useful, but it belongs inside
Patrol or contextual monitoring surfaces rather than a renamed top-level
destination.
-- Calm-day posture still needs a deliberately contextual design pass before it
- should be added to monitoring or Patrol.
+- Calm-day posture now has a Patrol-side empty-work shape; monitoring-context
+ posture still needs a separate contextual pass before any monitor page should
+ show protection or coverage summaries.
- The status coverage gap `protection-posture-attention-queue` tracks the
remaining product-surface work.
diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.md
index 3a22fa2710..034f009900 100644
--- a/docs/release-control/v6/internal/subsystems/api-contracts.md
+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md
@@ -1814,6 +1814,11 @@ a new API state machine, queue contract, or verification-accounting field.
overdue scheduled protection only from API-owned Patrol status, run history,
approval state, and finding-composition facts rather than page-local
inference
+ and the calm-day Patrol protection-posture inputs, where the browser may
+ summarize protection-current, coverage, schedule freshness, drift history,
+ and verification-waiting state only from API-owned Patrol status, run
+ history, approval state, and finding-composition facts after current work has
+ been ruled out
while keeping the learning counters backend-only coverage, so Patrol keeps health and findings primary and renders timeline, correlation, and policy-posture data as selected-item investigation context rather than as a separate headline product metric
and that secondary investigation context remains explanatory API evidence,
not a default workspace mode: the Patrol page may expand recent-change,
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 93d4afa210..8225e5ba03 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -1382,7 +1382,12 @@ settings`, and candidate review when discovered sources are waiting. It must
empty and descriptive text must explain what Patrol-found problems will
appear there, what the selected control level allows, and the next useful
operator action; it must not fall back to activation-loop, proof, queue, or
- verification-accounting language. The
+ verification-accounting language. Calm-day protection posture may use the
+ shared compact list and badge primitives inside that empty Open work
+ context only after current findings, approvals, failed checks, running
+ checks, setup failures, and overdue scheduled protection are ruled out; it
+ must stay subordinate to the empty queue and must not become a generic Home,
+ dashboard, trust, or proof strip. The
Patrol schedule and model drawer is part of that shared
feature-presentation boundary: it must stay viewport-bounded, expose an
accessible dialog label, keep the four-level control policy on the default
diff --git a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
index 1da070d3cd..c62d1efe29 100644
--- a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
+++ b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
@@ -89,6 +89,14 @@ or historical proof/counting for resolved-only work.
current finding composition; it must not become a status strip, trust strip,
health summary, generic proof counter, or replacement for the issue row's
action, evidence, approval, verification, and Assistant handoff controls.
+ A compact calm-day protection posture may appear inside that same `Open
+ work` workspace only when Patrol has no current findings, pending approvals,
+ failed/latest check, running check, overdue scheduled protection, or setup
+ failure to show. It may summarize protection-current, coverage, freshness,
+ drift-history, and verification-waiting facts from Patrol status, run
+ history, and finding composition, but it must stay contextual to Patrol's
+ empty queue and must not render on monitor-first launch pages, become a Home
+ summary, or promote trust/history counters into current work.
Runtime/setup findings are still active Patrol work, but setup-only runtime
failures must read as one setup task rather than an infrastructure issue
queue. The header may suppress run and schedule/model controls while setup is
diff --git a/frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx b/frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx
index 612e0ac72e..9fb0e031ee 100644
--- a/frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx
+++ b/frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx
@@ -25,6 +25,7 @@ import {
getPatrolProInvestigationHandoff,
getPatrolQueueBadgeLabel,
getPatrolQueueWorkspaceDescription,
+ getPatrolWorkspaceProtectionPosture,
getPatrolWorkspaceWorkGroups,
getPatrolSetupIssueReason,
PATROL_WORKSPACE_HISTORY_DESCRIPTION,
@@ -128,8 +129,23 @@ export function PatrolIntelligenceWorkspace(props: { state: PatrolIntelligenceSt
workTypeComposition: workTypeComposition(),
}),
);
+ const protectionPostureSummaries = createMemo(() =>
+ getPatrolWorkspaceProtectionPosture({
+ findingCount: queueIssueCount(),
+ historicalRegressionCount: state.historicalRegressionCount(),
+ latestRun: latestCompletedRun(),
+ patrolStatus: state.patrolStatus(),
+ pendingApprovalCount: state.patrolPendingApprovalCount(),
+ workTypeComposition: workTypeComposition(),
+ }),
+ );
const shouldShowWorkGroups = () =>
!isHistoryOpen() && !isSetupOnly() && !state.selectedRun() && workGroupSummaries().length > 0;
+ const shouldShowProtectionPosture = () =>
+ !isHistoryOpen() &&
+ !isSetupOnly() &&
+ !state.selectedRun() &&
+ protectionPostureSummaries().length > 0;
return (
<>
@@ -208,6 +224,30 @@ export function PatrolIntelligenceWorkspace(props: { state: PatrolIntelligenceSt
</div>
</Show>
+ <Show when={shouldShowProtectionPosture()}>
+ <div
+ role="list"
+ aria-label="Patrol protection posture"
+ class="grid gap-2 sm:grid-cols-2 xl:grid-cols-3"
+ >
+ <For each={protectionPostureSummaries()}>
+ {(item) => (
+ <div
+ role="listitem"
+ class="rounded-md border border-border-subtle bg-surface-alt/50 px-3 py-2"
+ >
+ <div class="flex min-w-0 flex-wrap items-center gap-2">
+ <MetadataBadge tone={item.tone} size="xs" shape="rounded">
+ {item.label}
+ </MetadataBadge>
+ </div>
+ <p class="mt-1 text-xs leading-5 text-muted">{item.detail}</p>
+ </div>
+ )}
+ </For>
+ </div>
+ </Show>
+
<Show when={state.activeTab() === 'findings'}>
<Show when={state.selectedRun()}>
{(run) => (
diff --git a/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceWorkspace.test.ts b/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceWorkspace.test.ts
index 1e7086d66e..b255c00be1 100644
--- a/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceWorkspace.test.ts
+++ b/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceWorkspace.test.ts
@@ -52,6 +52,9 @@ describe('PatrolIntelligenceWorkspace trust strip', () => {
expect(workspaceSource).toContain('getPatrolQueueWorkspaceDescription');
expect(workspaceSource).toContain('getPatrolWorkspaceWorkGroups');
expect(workspaceSource).toContain('Patrol work groups');
+ expect(workspaceSource).toContain('getPatrolWorkspaceProtectionPosture');
+ expect(workspaceSource).toContain('Patrol protection posture');
+ expect(workspaceSource).toContain('protectionPostureSummaries');
expect(workspaceSource).toContain('autonomyLevel: state.autonomyLevel()');
expect(workspaceSource).toContain('autonomyLocked: state.autoFixLocked()');
expect(workspaceSource).toContain('Boolean(queueBadgeLabel())');
diff --git a/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts b/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts
index 0c423520f2..076e07d82e 100644
--- a/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts
+++ b/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts
@@ -7,6 +7,7 @@ import {
getPatrolQueueWorkspaceDescription,
getPatrolReadyWorkDetail,
getPatrolSetupIssueReason,
+ getPatrolWorkspaceProtectionPosture,
getPatrolWorkspaceWorkGroups,
PATROL_AUTONOMY_POLICY_PRESENTATION,
PATROL_WORKSPACE_QUEUE_TITLE,
@@ -267,6 +268,156 @@ describe('patrolControlPresentation', () => {
).toEqual([]);
});
+ it('surfaces calm-day protection posture from Patrol run and status facts', () => {
+ expect(
+ getPatrolWorkspaceProtectionPosture({
+ findingCount: 0,
+ historicalRegressionCount: 0,
+ latestRun: {
+ error_count: 0,
+ resources_checked: 4,
+ status: 'healthy',
+ },
+ nowMs: Date.parse('2026-06-30T13:00:00Z'),
+ patrolStatus: {
+ enabled: true,
+ error_count: 0,
+ findings_count: 0,
+ healthy: true,
+ next_patrol_at: '2026-06-30T14:05:00Z',
+ resources_checked: 4,
+ running: false,
+ runtime_state: 'active',
+ },
+ pendingApprovalCount: 0,
+ workTypeComposition: {
+ total: 0,
+ approval: 0,
+ failed: 0,
+ inProgress: 0,
+ recurring: 0,
+ newIssues: 0,
+ },
+ }),
+ ).toEqual([
+ {
+ detail: 'No current issue or approval is waiting in Patrol.',
+ id: 'protection',
+ label: 'Protection current',
+ tone: 'success',
+ },
+ {
+ detail: 'Coverage came from the latest Patrol check.',
+ id: 'coverage',
+ label: 'Checked 4 resources',
+ tone: 'success',
+ },
+ {
+ detail: 'Patrol is scheduled to check again.',
+ id: 'freshness',
+ label: 'Schedule active',
+ tone: 'info',
+ },
+ {
+ detail: 'No current issue is marked as reappeared after earlier resolution.',
+ id: 'drift',
+ label: 'No recurring issues',
+ tone: 'success',
+ },
+ {
+ detail: 'No approval, failed action, or follow-up result is waiting for review.',
+ id: 'verification',
+ label: 'No verification waiting',
+ tone: 'success',
+ },
+ ]);
+ });
+
+ it('keeps past drift as history in calm-day protection posture', () => {
+ expect(
+ getPatrolWorkspaceProtectionPosture({
+ historicalRegressionCount: 2,
+ latestRun: {
+ effective_scope_resource_ids: ['resource-a', 'resource-b'],
+ error_count: 0,
+ resources_checked: 1,
+ scope_resource_ids: ['resource-a'],
+ status: 'healthy',
+ },
+ nowMs: Date.parse('2026-06-30T13:00:00Z'),
+ patrolStatus: {
+ enabled: true,
+ error_count: 0,
+ findings_count: 0,
+ healthy: true,
+ next_patrol_at: '2026-06-30T14:05:00Z',
+ resources_checked: 1,
+ running: false,
+ runtime_state: 'active',
+ },
+ }),
+ ).toContainEqual({
+ detail: 'History keeps the drift record; no recurring issue is current.',
+ id: 'drift',
+ label: '2 past regressions',
+ tone: 'info',
+ });
+ });
+
+ it('does not render calm-day posture for current work, failed checks, or overdue protection', () => {
+ expect(
+ getPatrolWorkspaceProtectionPosture({
+ findingCount: 1,
+ latestRun: {
+ error_count: 0,
+ resources_checked: 4,
+ status: 'issues_found',
+ },
+ }),
+ ).toEqual([]);
+
+ expect(
+ getPatrolWorkspaceProtectionPosture({
+ latestRun: {
+ error_count: 1,
+ resources_checked: 4,
+ status: 'error',
+ },
+ patrolStatus: {
+ enabled: true,
+ error_count: 1,
+ findings_count: 0,
+ healthy: false,
+ next_patrol_at: '2026-06-30T14:05:00Z',
+ resources_checked: 4,
+ running: false,
+ runtime_state: 'active',
+ },
+ }),
+ ).toEqual([]);
+
+ expect(
+ getPatrolWorkspaceProtectionPosture({
+ latestRun: {
+ error_count: 0,
+ resources_checked: 4,
+ status: 'healthy',
+ },
+ nowMs: Date.parse('2026-06-30T15:00:00Z'),
+ patrolStatus: {
+ enabled: true,
+ error_count: 0,
+ findings_count: 0,
+ healthy: true,
+ next_patrol_at: '2026-06-30T14:05:00Z',
+ resources_checked: 4,
+ running: false,
+ runtime_state: 'active',
+ },
+ }),
+ ).toEqual([]);
+ });
+
it('keeps setup-only issue reasons short and actionable', () => {
expect(
getPatrolSetupIssueReason({
diff --git a/frontend-modern/src/features/patrol/patrolControlPresentation.ts b/frontend-modern/src/features/patrol/patrolControlPresentation.ts
index fdec4785c8..c712e9102d 100644
--- a/frontend-modern/src/features/patrol/patrolControlPresentation.ts
+++ b/frontend-modern/src/features/patrol/patrolControlPresentation.ts
@@ -5,6 +5,7 @@ import {
getPatrolWorkTypeCompositionClause,
} from '@/utils/aiFindingPresentation';
import type { PatrolWorkTypeComposition } from '@/utils/aiFindingPresentation';
+import { getPatrolRunCoverageSummary } from '@/utils/patrolRunPresentation';
import type { UpgradeDestination } from '@/utils/upgradeNavigation';
export const PATROL_AUTONOMY_POLICY_PRESENTATION: Record<
@@ -65,6 +66,13 @@ export interface PatrolWorkspaceWorkGroupSummary {
tone: MetadataBadgeTone;
}
+export interface PatrolWorkspaceProtectionPostureSummary {
+ detail: string;
+ id: 'coverage' | 'drift' | 'freshness' | 'protection' | 'verification';
+ label: string;
+ tone: MetadataBadgeTone;
+}
+
interface PatrolWorkspaceWorkGroupsInput {
latestRun?: Pick<PatrolRunRecord, 'error_count' | 'resources_checked' | 'status'> | null;
nowMs?: number;
@@ -73,6 +81,33 @@ interface PatrolWorkspaceWorkGroupsInput {
workTypeComposition?: PatrolWorkTypeComposition;
}
+interface PatrolWorkspaceProtectionPostureInput {
+ findingCount?: number;
+ historicalRegressionCount?: number;
+ latestRun?: Pick<
+ PatrolRunRecord,
+ | 'effective_scope_resource_ids'
+ | 'error_count'
+ | 'resources_checked'
+ | 'scope_resource_ids'
+ | 'status'
+ > | null;
+ nowMs?: number;
+ patrolStatus?: Pick<
+ PatrolStatus,
+ | 'enabled'
+ | 'error_count'
+ | 'findings_count'
+ | 'healthy'
+ | 'next_patrol_at'
+ | 'resources_checked'
+ | 'running'
+ | 'runtime_state'
+ > | null;
+ pendingApprovalCount?: number;
+ workTypeComposition?: PatrolWorkTypeComposition;
+}
+
interface PatrolSetupIssueReasonInput {
setupFindingTitle?: string;
readinessSummary?: string;
@@ -118,6 +153,33 @@ function isScheduledPatrolOverdue(
return Number.isFinite(nextPatrolAt) && nextPatrolAt < nowMs;
}
+function isActivePatrolRuntime(
+ status: Pick<PatrolStatus, 'runtime_state'> | null | undefined,
+): boolean {
+ return !status?.runtime_state || status.runtime_state === 'active';
+}
+
+function getPatrolCoverageLabel(
+ latestRun:
+ | Pick<
+ PatrolRunRecord,
+ 'effective_scope_resource_ids' | 'resources_checked' | 'scope_resource_ids'
+ >
+ | null
+ | undefined,
+ status: Pick<PatrolStatus, 'resources_checked'> | null | undefined,
+): string | undefined {
+ const latestRunCoverage = latestRun ? getPatrolRunCoverageSummary(latestRun) : '';
+ if (latestRunCoverage) return latestRunCoverage;
+
+ const statusResourcesChecked = normalizeCount(status?.resources_checked);
+ if (statusResourcesChecked > 0) {
+ return `Checked ${formatCount(statusResourcesChecked, 'resource')}`;
+ }
+
+ return undefined;
+}
+
function getPatrolQueueActionDetail(input: PatrolControlCopyInput): string {
if (input.autonomyLocked) {
return 'Open a row to review evidence and record the outcome.';
@@ -280,6 +342,120 @@ export function getPatrolWorkspaceWorkGroups(
return groups;
}
+export function getPatrolWorkspaceProtectionPosture(
+ input: PatrolWorkspaceProtectionPostureInput,
+): PatrolWorkspaceProtectionPostureSummary[] {
+ const composition = input.workTypeComposition;
+ const pendingApprovalCount = normalizeCount(input.pendingApprovalCount);
+ const findingCount = normalizeCount(input.findingCount);
+ const failedActionCount = normalizeCount(composition?.failed);
+ const approvalWorkCount = normalizeCount(composition?.approval);
+ const inProgressWorkCount = normalizeCount(composition?.inProgress);
+ const recurringIssueCount = normalizeCount(composition?.recurring);
+ const latestRun = input.latestRun ?? null;
+ const patrolStatus = input.patrolStatus ?? null;
+ const statusErrorCount = normalizeCount(patrolStatus?.error_count);
+ const statusFindingCount = normalizeCount(patrolStatus?.findings_count);
+
+ if (
+ findingCount > 0 ||
+ pendingApprovalCount > 0 ||
+ failedActionCount > 0 ||
+ approvalWorkCount > 0 ||
+ inProgressWorkCount > 0 ||
+ recurringIssueCount > 0 ||
+ statusFindingCount > 0 ||
+ patrolStatus?.running ||
+ statusErrorCount > 0 ||
+ hasFailedPatrolCheck(latestRun) ||
+ !isActivePatrolRuntime(patrolStatus) ||
+ isScheduledPatrolOverdue(patrolStatus, input.nowMs ?? Date.now())
+ ) {
+ return [];
+ }
+
+ if (!latestRun && !patrolStatus) {
+ return [];
+ }
+
+ const coverageLabel = getPatrolCoverageLabel(latestRun, patrolStatus);
+ const historicalRegressionCount = normalizeCount(input.historicalRegressionCount);
+ const healthyTone: MetadataBadgeTone = patrolStatus?.healthy === false ? 'warning' : 'success';
+
+ const posture: PatrolWorkspaceProtectionPostureSummary[] = [
+ {
+ id: 'protection',
+ label: 'Protection current',
+ detail: 'No current issue or approval is waiting in Patrol.',
+ tone: healthyTone,
+ },
+ ];
+
+ posture.push(
+ coverageLabel
+ ? {
+ id: 'coverage',
+ label: coverageLabel,
+ detail: 'Coverage came from the latest Patrol check.',
+ tone: healthyTone,
+ }
+ : {
+ id: 'coverage',
+ label: 'Coverage needs refresh',
+ detail: 'Run Patrol to record current coverage.',
+ tone: 'warning',
+ },
+ );
+
+ if (patrolStatus?.enabled === false) {
+ posture.push({
+ id: 'freshness',
+ label: 'Scheduled checks paused',
+ detail: 'Run Patrol manually or enable scheduled checks to keep coverage fresh.',
+ tone: 'warning',
+ });
+ } else if (patrolStatus?.next_patrol_at) {
+ posture.push({
+ id: 'freshness',
+ label: 'Schedule active',
+ detail: 'Patrol is scheduled to check again.',
+ tone: 'info',
+ });
+ } else {
+ posture.push({
+ id: 'freshness',
+ label: 'Ready to check',
+ detail: 'Run Patrol any time to refresh current coverage.',
+ tone: 'info',
+ });
+ }
+
+ posture.push(
+ historicalRegressionCount > 0
+ ? {
+ id: 'drift',
+ label: `${formatCount(historicalRegressionCount, 'past regression')}`,
+ detail: 'History keeps the drift record; no recurring issue is current.',
+ tone: 'info',
+ }
+ : {
+ id: 'drift',
+ label: 'No recurring issues',
+ detail: 'No current issue is marked as reappeared after earlier resolution.',
+ tone: healthyTone,
+ },
+ );
+
+ posture.push({
+ id: 'verification',
+ label: 'No verification waiting',
+ detail: 'No approval, failed action, or follow-up result is waiting for review.',
+ tone: healthyTone,
+ });
+
+ return posture;
+}
+
const PATROL_PRO_HANDOFF_ACTIONABLE_SEVERITIES = new Set(['critical', 'warning']);
export interface PatrolProInvestigationHandoff {
diff --git a/tests/integration/tests/78-monitor-first-patrol-workbench.spec.ts b/tests/integration/tests/78-monitor-first-patrol-workbench.spec.ts
index 9f65bf66e5..5f6da06d2f 100644
--- a/tests/integration/tests/78-monitor-first-patrol-workbench.spec.ts
+++ b/tests/integration/tests/78-monitor-first-patrol-workbench.spec.ts
@@ -152,7 +152,7 @@ const buildPatrolStatus = (
running: false,
enabled: true,
last_patrol_at: "2026-06-30T08:05:42Z",
- next_patrol_at: "2026-06-30T14:05:42Z",
+ next_patrol_at: "2099-06-30T14:05:42Z",
last_duration_ms: 42_000,
resources_checked: options.resourcesChecked,
findings_count: options.findingCount,
@@ -523,6 +523,10 @@ test.describe("Monitor-first Patrol workbench browser contract", () => {
await expect(
page.getByRole("heading", { name: "No current issues" }),
).toHaveCount(0);
+ await expect(page.getByText("Protection current")).toHaveCount(0);
+ await expect(
+ page.getByRole("list", { name: "Patrol protection posture" }),
+ ).toHaveCount(0);
await page.getByRole("tab", { name: "Patrol" }).click();
await expect(page).toHaveURL(/\/patrol$/);
@@ -534,6 +538,15 @@ test.describe("Monitor-first Patrol workbench browser contract", () => {
).toBeVisible();
await expect(page.getByText("No current issues").first()).toBeVisible();
await expect(page.getByText("Checked 1 resource.")).toBeVisible();
+ const protectionPosture = page.getByRole("list", {
+ name: "Patrol protection posture",
+ });
+ await expect(protectionPosture).toBeVisible();
+ await expect(protectionPosture.getByText("Protection current")).toBeVisible();
+ await expect(protectionPosture.getByText("Checked 1 resource")).toBeVisible();
+ await expect(protectionPosture.getByText("Schedule active")).toBeVisible();
+ await expect(protectionPosture.getByText("No recurring issues")).toBeVisible();
+ await expect(protectionPosture.getByText("No verification waiting")).toBeVisible();
await expect(
page.getByRole("button", { name: "Ask Pulse Assistant about Patrol" }),
).toBeVisible();
@@ -560,6 +573,7 @@ test.describe("Monitor-first Patrol workbench browser contract", () => {
await expect(page).toHaveURL(/\/proxmox\/overview$/, { timeout: 30_000 });
await expect(page.getByText("Latest check needs review")).toHaveCount(0);
await expect(page.getByText("1 approval waiting")).toHaveCount(0);
+ await expect(page.getByText("Protection current")).toHaveCount(0);
await page.getByRole("tab", { name: /Patrol/ }).click();
await expect(page).toHaveURL(/\/patrol$/);
@@ -577,6 +591,9 @@ test.describe("Monitor-first Patrol workbench browser contract", () => {
"Patrol checked 4 resources but ended with runtime issues.",
),
).toBeVisible();
+ await expect(
+ page.getByRole("list", { name: "Patrol protection posture" }),
+ ).toHaveCount(0);
await expect(
page.getByRole("heading", { name: /^Pulse Assistant$/ }),
).toHaveCount(0);