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.

Promote Needs Attention as work surface

rcourtmanad01d77ffa2a
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 a0982dbf76..13a762d0e6 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
@@ -80,6 +80,17 @@ things I need to act on.
6. Tighten trust scaffolding and autonomy presentation across the queue.
7. Validate in browser across desktop/mobile active-work and calm-day states.
+## Progress
+
+- 2026-06-25: The existing Patrol route, browser title, utility nav item,
+ command palette entry, and keyboard shortcut copy now lead with
+ `Needs Attention`. The inner work queue uses `Open work` to avoid repeating
+ the page title, while Patrol remains visible as the engine in mode, run,
+ history, and settings controls. Browser proof covered the active-work state
+ on desktop and mobile. This completes the first UI naming slice only; it does
+ not complete the Home posture model, full cross-source queue, Assistant
+ demotion, or calm-day validation.
+
## Evidence
- GitHub issue #1234 asks for centralized management of Patrol finding notes
@@ -93,7 +104,8 @@ things I need to act on.
## Residuals
-- This record does not implement the new Home or Needs Attention surfaces.
+- The first implementation slice does not implement the new Home posture model
+ or the full cross-source Needs Attention queue.
- The exact nav labels remain product decisions, but the job names are fixed:
protected posture, needs attention, and exploration.
- The status coverage gap `protection-posture-attention-queue` tracks the
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index 11479741ae..2db755227d 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -3801,11 +3801,15 @@ keyboard forwarding, and native-search-input drift prevention while AI runtime
keeps ownership of command filtering and execution semantics.
Primary nav moved to governed platform/runtime destinations on 2026-05-16 and
-was clarified on 2026-05-25 through `frontend-modern/src/App.tsx` and
+was clarified on 2026-05-25 and 2026-06-25 through `frontend-modern/src/App.tsx` and
`frontend-modern/src/AppLayout.tsx`: the top of the app may expose canonical
platform pages (Proxmox, Kubernetes, TrueNAS, vSphere) plus the
Docker / Podman container-runtime lens (shown as Docker in the shell), aggregate
-platform-owned Workloads / Storage / Recovery sub-surfaces, Alerts, Patrol, and Settings.
+platform-owned Workloads / Storage / Recovery sub-surfaces, Alerts,
+Needs Attention, and Settings. `Needs Attention` is the visible destination for
+Patrol-owned operator work; it must still route through the canonical `/patrol`
+surface and must not create a second Assistant, Patrol, or Intelligence route
+namespace.
Provider/runtime destinations must pass the shared support-and-resource-
evidence gate before they appear in navigation, command palette entries,
keyboard shortcuts, or landing fallbacks. Aggregate workspace tabs are retired
diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.md
index 4161e0acfe..91fac52765 100644
--- a/docs/release-control/v6/internal/subsystems/api-contracts.md
+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md
@@ -264,7 +264,10 @@ registry resource. Pending approvals and active findings are current operator
work and must outrank older completed/resolved loop proof when the route chooses
`nextAction` and step status. Historical Patrol control proof remains recorded
as count-only value evidence, but it must render as history until the current
-finding or approval is handled.
+finding or approval is handled. Browser presentation may label the route
+`Needs Attention` and the default queue `Open work`, but those labels are chrome
+over this existing status/finding/approval contract; they are not new API
+fields, prompt payloads, or alternate current-work schemas.
The authenticated `GET /api/agent/patrol-control/status` projection exposes the same content-free starter evidence as count-only fields
(`operationsLoopStarterCount`, `assistantOperationsLoopStarterCount`,
`patrolOperationsLoopStarterCount`,
@@ -1972,7 +1975,7 @@ payload shape change when the portal presents compact client rows.
policy rather than changing the compatibility API boundary; setup-only
readiness may hide those run/configuration affordances, but the visible
Patrol mode selector remains the primary policy boundary during setup
- and the Patrol mode presentation boundary, so `frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx` routes active Patrol findings into the Patrol-owned findings workflow, renders the first-party loop as watch/investigate/act-under-policy/verify/record, uses `Patrol mode` as the human-facing name for the governed autonomy selector while preserving `patrol_control`, `patrolControl*`, and `patrol_autonomy` only for compatibility route and wire identifiers, and demotes Assistant and external-agent readiness out of the primary operator loop without introducing a new API request shape, frontend-authored tool route, serialized remediation plan, or page-local MCP setup contract; direct single-finding CTAs must derive from existing finding-presentation helpers and canonical routes such as the Patrol provider-settings route, selected findings, approvals, and history rows may still open contextual Assistant handoffs through their governed owners, setup-only Patrol runtime failures must use existing finding/runtime fields to render the Patrol-owned `Fix Patrol setup` framing, a dedicated setup task, and one direct `Open Provider & Models` action while suppressing the readiness banner, generic issue-row chips, filter chrome, and run-history action chrome that would compete with provider setup, but recent changes, correlations, and policy-coverage payloads must not render as a generic first-party Details/evidence console on the Patrol page, and raw finding lifecycle telemetry must be reserved for explicit all/resolved/history or selected-run review states instead of default active current-issue expansion
+ and the Patrol mode presentation boundary, so `frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx` routes active Patrol findings into the Patrol-owned findings workflow, renders the first-party loop as watch/investigate/act-under-policy/verify/record, uses `Patrol mode` as the human-facing name for the governed autonomy selector while preserving `patrol_control`, `patrolControl*`, and `patrol_autonomy` only for compatibility route and wire identifiers, and demotes Assistant and external-agent readiness out of the primary operator loop without introducing a new API request shape, frontend-authored tool route, serialized remediation plan, or page-local MCP setup contract; direct single-finding CTAs must derive from existing finding-presentation helpers and canonical routes such as the Patrol provider-settings route, selected findings, approvals, and history rows may still open contextual Assistant handoffs through their governed owners, the user-facing `Needs Attention` route title and `Open work` queue title must remain presentation labels over the same current-work status contract rather than new payload states, setup-only Patrol runtime failures must use existing finding/runtime fields to render the Patrol-owned `Fix Patrol setup` framing, a dedicated setup task, and one direct `Open Provider & Models` action while suppressing the readiness banner, generic issue-row chips, filter chrome, and run-history action chrome that would compete with provider setup, but recent changes, correlations, and policy-coverage payloads must not render as a generic first-party Details/evidence console on the Patrol page, and raw finding lifecycle telemetry must be reserved for explicit all/resolved/history or selected-run review states instead of default active current-issue expansion
The Patrol page may consume server-authored readiness and preflight-backed
status, but it must translate that transport state into `Patrol setup issue`
or `Patrol setup warning`, provider/model context, and the canonical
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 4246cfa4ca..df6f7a6071 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -819,7 +819,10 @@ or other self-hosted uncapped continuity plans.
App-shell navigation rendered by `frontend-modern/src/AppLayout.tsx` must
also keep decorative icon titles out of tab accessible names, so hosted and
self-hosted chrome announce the canonical tab label plus meaningful badge
- counts rather than duplicating branded SVG titles.
+ counts rather than duplicating branded SVG titles. Renaming the Patrol-owned
+ utility destination to `Needs Attention` is shell chrome over the same
+ `/patrol` route; it must not alter hosted org bootstrap, entitlement loading,
+ or commercial posture loading.
Retired operator top-level route compatibility in
`frontend-modern/src/App.tsx` must stay inside authenticated app-owned
surfaces such as Infrastructure, Workloads, Storage, and Recovery. Those
@@ -969,6 +972,9 @@ hands-on Patrol modes, issue investigation, verified fixes, and longer history`.
`standalone` route/id, is not a new commercial usage unit: hosted and paid
surfaces continue to meter the governed monitored-system grouping result
rather than counting primary navigation destinations.
+ The user-facing `Needs Attention` utility tab is likewise not a commercial
+ plan or usage unit; it remains the Patrol-owned daily work entrypoint over
+ current findings, approvals, and verification state.
Landing behavior for paid and hosted shells must also defer to the
frontend-primitives-owned provider-first landing contract instead of
defining a cloud-paid-specific order.
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index d4dc87189d..fd3eaee200 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -85,7 +85,7 @@ work extends shared components instead of creating new local variants.
59b. `frontend-modern/src/components/shared/FilterBar/useSavedViews.ts`
59c. `frontend-modern/src/components/shared/FilterBar/filterOptionPresentation.tsx`
60. `frontend-modern/src/components/shared/TypeColumn.guardrails.test.ts`
-61. `frontend-modern/src/features/` (including Patrol presentation, where Patrol control starter counts are context only even when mirrored through `patrolAutonomy*` compatibility fields, successful direct Patrol control saves may record the content-free `patrol_control` starter only when paid control is available and the effective control posture changes and must then refresh Patrol status, findings, approvals, and run history before the operator waits for polling, legacy `proActivation*` starter aliases must not render a separate proof strip by themselves, Patrol control completed/resolved counts may only project backend-owned terminal proof, current active findings and pending approvals outrank historical completion proof in the primary operator state, selected run history must read as a Patrol run record rather than a findings filter or snapshot workflow, terminal verified/rejected outcomes with no active finding or pending approval must stay history detail without rendering a no-op proof strip, resolved-only issue history must not be promoted into current-work copy or actions, compact recurrence/trust counters must read as historical evidence rather than current issue state, Patrol-owned status/history evidence must keep the assessment visible when the broader intelligence summary is missing, the default Patrol workspace must lead with current work while run history stays a deliberate secondary review surface, setup-only Patrol runtime failures must instead use `Fix Patrol setup` framing with a dedicated setup task and direct provider-settings action while suppressing generic issue-row chips and filter chrome, Patrol must not expose a generic Details/supporting-context panel for nearby activity, related patterns, or policy limits, locked-control copy must state the watch-only boundary in positive capability language by saying Patrol watches infrastructure and shows current issues, avoid repeating the same sentence across the header and control, and avoid repeatedly restating infrastructure-unchanged caveats or relying on disabled controls, compact Pro badges, Limits controls, or manual-review framing, `patrolControlValueState` decides whether a terminal decision is partial review context or verified value proof while `patrolAutonomyValueState` remains a compatibility mirror, legacy `proActivation*` fields are compatibility fallback only, native Patrol state must not load the operations-loop status projection to decide current work, local Patrol state must expose issue-backed `patrolWork*` evidence rather than legacy proof naming, Patrol mode labels remain domain copy that must describe backend-owned risk policy without creating page-local safety thresholds, the Patrol schedule and model drawer must stay separate from the always-visible Patrol mode selector instead of duplicating the four control choices or reintroducing save/apply configuration framing, and Patrol header refresh controls must call an explicit operator-refresh handler whose spinning/disabled state is separate from background polling and initial data loads)
+61. `frontend-modern/src/features/` (including Patrol presentation, where Patrol control starter counts are context only even when mirrored through `patrolAutonomy*` compatibility fields, successful direct Patrol control saves may record the content-free `patrol_control` starter only when paid control is available and the effective control posture changes and must then refresh Patrol status, findings, approvals, and run history before the operator waits for polling, legacy `proActivation*` starter aliases must not render a separate proof strip by themselves, Patrol control completed/resolved counts may only project backend-owned terminal proof, current active findings and pending approvals outrank historical completion proof in the primary operator state, selected run history must read as a Patrol run record rather than a findings filter or snapshot workflow, terminal verified/rejected outcomes with no active finding or pending approval must stay history detail without rendering a no-op proof strip, resolved-only issue history must not be promoted into Needs Attention copy or actions, compact recurrence/trust counters must read as historical evidence rather than current issue state, Patrol-owned status/history evidence must keep the assessment visible when the broader intelligence summary is missing, the Patrol route and page title must lead with Needs Attention while the default workspace underneath uses Open work and run history stays a deliberate secondary review surface, setup-only Patrol runtime failures must instead use `Fix Patrol setup` framing with a dedicated setup task and direct provider-settings action while suppressing generic issue-row chips and filter chrome, Patrol must not expose a generic Details/supporting-context panel for nearby activity, related patterns, or policy limits, locked-control copy must state the watch-only boundary in positive capability language by saying Patrol watches infrastructure and shows current issues, avoid repeating the same sentence across the header and control, and avoid repeatedly restating infrastructure-unchanged caveats or relying on disabled controls, compact Pro badges, Limits controls, or manual-review framing, `patrolControlValueState` decides whether a terminal decision is partial review context or verified value proof while `patrolAutonomyValueState` remains a compatibility mirror, legacy `proActivation*` fields are compatibility fallback only, native Patrol state must not load the operations-loop status projection to decide current work, local Patrol state must expose issue-backed `patrolWork*` evidence rather than legacy proof naming, Patrol mode labels remain domain copy that must describe backend-owned risk policy without creating page-local safety thresholds, the Patrol schedule and model drawer must stay separate from the always-visible Patrol mode selector instead of duplicating the four control choices or reintroducing save/apply configuration framing, and Patrol header refresh controls must call an explicit operator-refresh handler whose spinning/disabled state is separate from background polling and initial data loads)
62. `frontend-modern/src/components/SetupWizard/SetupWizard.tsx`
63. `frontend-modern/src/components/Settings/useSettingsInfrastructurePanelProps.ts`
64. `frontend-modern/src/components/SetupWizard/SetupCompletionPreview.tsx`
@@ -1353,7 +1353,7 @@ settings`, and candidate review when discovered sources are waiting. It must
availability and commercial-plan copy must describe the same decision as
choosing what Patrol may handle automatically; they must not ask users to
decide how far Patrol can go or how much control Patrol has. The
- Current work workspace copy belongs to that same product-facing boundary:
+ Open work workspace copy belongs to that same product-facing boundary:
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
diff --git a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
index 8dc3777981..b4066a949e 100644
--- a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
+++ b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
@@ -185,8 +185,11 @@ attention`, `approval needed`, `outcome verified`, `no active work`) instead
unexplained `95/100` telemetry.
The Patrol workspace must default to current operator work: current findings,
active investigations, approval decisions, and selected finding snapshots.
- Its default visible title must be `Current work`, because that is the
- plain user-facing answer to what Patrol is handling or asking about now. The exception is a
+ The route and page title must lead with `Needs Attention`, and the default
+ workspace title underneath it must be `Open work` so the page does not repeat
+ the same accessible heading while still answering what needs the operator
+ now. Patrol remains the underlying watch/investigate/act/verify engine. The
+ exception is a
setup-only Patrol runtime failure: that state must use the `Fix Patrol setup`
title and setup description while rendering a dedicated setup task instead of
the generic finding row. When the list is empty, Patrol-owned empty-state copy
@@ -204,7 +207,7 @@ attention`, `approval needed`, `outcome verified`, `no active work`) instead
separate raw evidence console. Degraded health or historical recurrence alone
must not surface a page-level forensic context block.
The default Patrol surface must stay simple: the header, control selector,
- and current-work workspace own the ordinary operator state. Patrol must not
+ and Open work workspace own the ordinary operator state. Patrol must not
render a separate always-visible status/activity/health strip just to prove
the loop exists. Actionable runtime, setup, or coverage failures may still
surface as concise warnings, and detailed status/trust/history evidence
@@ -216,7 +219,7 @@ attention`, `approval needed`, `outcome verified`, `no active work`) instead
endlessly animated spinner that competes with the actual Run Patrol action.
The Patrol page must still remain understandable when the broader
intelligence summary is missing or slow: keep the page title, selected Patrol
- mode, and current-work label visible instead of reintroducing a generic
+ mode, and Open work label visible instead of reintroducing a generic
status strip.
Plan-locked Patrol mode copy must present the effective Watch only
capability as the current product state: Patrol watches resources, detects
@@ -518,16 +521,19 @@ attention`, `approval needed`, `outcome verified`, `no active work`) instead
`Open Provider & Models` action. Raw diagnostic terms such as preflight,
tool-call observation, or readiness internals belong in Provider & Models
and backend/test contracts, not in the first-party Patrol operator banner.
-5. Keep customer-facing Patrol naming product-first: page titles, route chrome,
- summary copy, actions, and empty states should lead with `Patrol` or
- `Pulse Patrol` rather than generic `AI` branding. Reserve `AI` terminology
- for explicit provider/configuration settings, shared runtime internals, or
- other technical capability boundaries where the underlying ownership really
- is AI runtime rather than the Patrol product surface.
+5. Keep customer-facing Patrol naming product-first while preserving the
+ operator-workbench job words: the daily work destination may lead with
+ `Needs Attention`, while summary copy, actions, empty states, and mode
+ controls should keep Patrol or Pulse Patrol as the watch/investigate/act
+ engine rather than generic `AI` branding. Reserve `AI` terminology for
+ explicit provider/configuration settings, shared runtime internals, or other
+ technical capability boundaries where the underlying ownership really is AI
+ runtime rather than the Patrol product surface.
6. Keep Patrol brand icon accessibility contextual: `PulsePatrolLogo` remains
label-bearing when the icon stands alone, but Patrol headings and actions
- that already include visible Patrol text must render the logo as decorative
- so accessible names do not repeat as `Pulse Patrol Patrol`.
+ that already include visible Patrol or Needs Attention text must render the
+ logo as decorative so accessible names do not repeat as `Pulse Patrol Needs
+ Attention` or similar duplicated names.
7. Keep Patrol remediation copy operator-safe even while legacy transport
fields retain `auto_fix` naming for compatibility: header autonomy controls,
Pro-locked helper text, investigation outcome labels, and run-history badges
diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsx
index b18983405d..ecaf001795 100644
--- a/frontend-modern/src/AppLayout.tsx
+++ b/frontend-modern/src/AppLayout.tsx
@@ -210,7 +210,7 @@ export function AppLayout(props: AppLayoutProps) {
vmware: 'vSphere',
standalone: 'Machines',
alerts: 'Alerts',
- ai: 'Patrol',
+ ai: 'Needs Attention',
settings: 'Settings',
};
createEffect(() => {
@@ -234,9 +234,7 @@ export function AppLayout(props: AppLayoutProps) {
standalone: ROOT_STANDALONE_PATH,
};
const primaryWorkspacePath = createMemo(() => {
- const navId = selectFirstVisiblePrimaryPlatformNavigationId(
- platformNavigationVisibility(),
- );
+ const navId = selectFirstVisiblePrimaryPlatformNavigationId(platformNavigationVisibility());
return navId ? primaryInfrastructureRouteById[navId] : ROOT_ALERTS_PATH;
});
@@ -430,9 +428,9 @@ export function AppLayout(props: AppLayoutProps) {
},
{
id: 'ai',
- label: 'Patrol',
+ label: 'Needs Attention',
route: '/patrol',
- tooltip: 'Continuous verification and actionable findings',
+ tooltip: 'Review issues and approvals that need action',
badge: null,
count: undefined,
breakdown: undefined,
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.ts
index 23454b9ec8..b036a4503b 100644
--- a/frontend-modern/src/__tests__/App.architecture.test.ts
+++ b/frontend-modern/src/__tests__/App.architecture.test.ts
@@ -282,6 +282,8 @@ describe('App architecture', () => {
expect(appLayoutSource).toContain("const blockedPrefixes = ['/settings', '/patrol'];");
expect(appLayoutSource).not.toContain("'/operations', '/patrol', '/ai'");
expect(appLayoutSource).toContain("route: '/patrol',");
+ expect(appLayoutSource).toContain("label: 'Needs Attention'");
+ expect(appLayoutSource).toContain("tooltip: 'Review issues and approvals that need action'");
expect(appLayoutSource).not.toContain("route: '/operations',");
expect(appLayoutSource).not.toContain('props.connected()');
expect(appLayoutSource).toContain('const utilityTabs = createMemo(() =>');
diff --git a/frontend-modern/src/__tests__/AppLayout.test.tsx b/frontend-modern/src/__tests__/AppLayout.test.tsx
index f37985819d..4640bbcb11 100644
--- a/frontend-modern/src/__tests__/AppLayout.test.tsx
+++ b/frontend-modern/src/__tests__/AppLayout.test.tsx
@@ -94,14 +94,18 @@ describe('AppLayout navigation icons', () => {
expect(tab.querySelector('svg')).toBeTruthy();
});
const desktopPatrolTab = within(systemGroup as HTMLElement).getByRole('tab', {
- name: 'Patrol',
+ name: 'Needs Attention',
});
expect(desktopPatrolTab.querySelector('svg')).toBeTruthy();
expect(within(systemGroup as HTMLElement).getByRole('tab', { name: '1 Alerts' })).toBeTruthy();
expect(
- within(systemGroup as HTMLElement).queryByRole('tab', { name: 'Pulse Patrol Patrol' }),
+ within(systemGroup as HTMLElement).queryByRole('tab', {
+ name: 'Pulse Patrol Needs Attention',
+ }),
+ ).toBeNull();
+ expect(
+ within(systemGroup as HTMLElement).queryByRole('tab', { name: 'Needs Attention P' }),
).toBeNull();
- expect(within(systemGroup as HTMLElement).queryByRole('tab', { name: 'Patrol P' })).toBeNull();
const mobileTablist = screen.getByRole('tablist', { name: 'Mobile navigation' });
['alerts', 'ai', 'settings'].forEach((tabId) => {
@@ -109,7 +113,9 @@ describe('AppLayout navigation icons', () => {
expect(button).toBeTruthy();
expect(button?.querySelector('svg')).toBeTruthy();
});
- const mobilePatrolTab = within(mobileTablist).getByRole('button', { name: 'Patrol' });
+ const mobilePatrolTab = within(mobileTablist).getByRole('button', {
+ name: 'Needs Attention',
+ });
expect(mobilePatrolTab.querySelector('svg')).toBeTruthy();
expect(container).toHaveTextContent('Infrastructure body');
diff --git a/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx b/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
index fcaffbcc8c..0f293b2539 100644
--- a/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
+++ b/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
@@ -26,7 +26,7 @@ const UNIFIED_NAV_SHORTCUTS: ShortcutGroup = {
{ keys: 'g then n', description: 'Go to TrueNAS' },
{ keys: 'g then v', description: 'Go to vSphere' },
{ keys: 'g then a', description: 'Go to Alerts' },
- { keys: 'g then r', description: 'Go to Patrol' },
+ { keys: 'g then r', description: 'Go to Needs Attention' },
{ keys: 'g then t', description: 'Go to Settings' },
],
};
diff --git a/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx b/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
index d22ad719ba..4a457b5900 100644
--- a/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
@@ -126,6 +126,8 @@ describe('CommandPaletteModal', () => {
expect(screen.queryByText('/storage')).not.toBeInTheDocument();
expect(screen.queryByText('Go to Recovery')).not.toBeInTheDocument();
expect(screen.queryByText('/recovery')).not.toBeInTheDocument();
+ expect(screen.getByText('Go to Needs Attention')).toBeInTheDocument();
+ expect(screen.queryByText('Go to Patrol')).not.toBeInTheDocument();
expect(screen.getByText('Go to vSphere')).toBeInTheDocument();
expect(screen.getByText('Go to vSphere Networks')).toBeInTheDocument();
expect(screen.getByText('/vmware/networks')).toBeInTheDocument();
diff --git a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
index 89692f44a1..273ea0b335 100644
--- a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
@@ -62,7 +62,7 @@ describe('MobileNavBar', () => {
utilityTabs={() => [
{
id: 'ai',
- label: 'Patrol',
+ label: 'Needs Attention',
route: '/patrol',
tooltip: 'Continuous verification',
badge: null,
@@ -77,10 +77,12 @@ describe('MobileNavBar', () => {
));
const navList = screen.getByRole('tablist', { name: 'Mobile navigation' });
- const patrolButton = within(navList).getByRole('button', { name: 'Patrol' });
+ const patrolButton = within(navList).getByRole('button', { name: 'Needs Attention' });
expect(patrolButton).toHaveAttribute('data-tab-id', 'ai');
- expect(within(navList).queryByRole('button', { name: 'Pulse Patrol Patrol' })).toBeNull();
+ expect(
+ within(navList).queryByRole('button', { name: 'Pulse Patrol Needs Attention' }),
+ ).toBeNull();
});
it('allows inactive platform tabs to render without an active mobile tab', () => {
diff --git a/frontend-modern/src/components/shared/commandPaletteModel.ts b/frontend-modern/src/components/shared/commandPaletteModel.ts
index 80d91d08bb..fae304d151 100644
--- a/frontend-modern/src/components/shared/commandPaletteModel.ts
+++ b/frontend-modern/src/components/shared/commandPaletteModel.ts
@@ -243,10 +243,10 @@ export function buildCommandPaletteCommands(options: {
},
{
id: 'nav-patrol',
- label: 'Go to Patrol',
+ label: 'Go to Needs Attention',
description: '/patrol',
shortcut: 'g r',
- keywords: ['patrol', 'findings', 'ai', 'verification'],
+ keywords: ['needs attention', 'patrol', 'findings', 'ai', 'verification'],
action: () => options.navigate('/patrol'),
},
{
diff --git a/frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx b/frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx
index f324283c38..a4756f09ae 100644
--- a/frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx
+++ b/frontend-modern/src/features/patrol/PatrolIntelligenceWorkspace.tsx
@@ -219,7 +219,7 @@ export function PatrolIntelligenceWorkspace(props: { state: PatrolIntelligenceSt
onClick={() => state.setSelectedRun(null)}
class="w-fit shrink-0 text-xs font-medium text-blue-700 hover:underline dark:text-blue-300"
>
- Show current work
+ Show open work
</button>
</div>
)}
@@ -259,9 +259,7 @@ export function PatrolIntelligenceWorkspace(props: { state: PatrolIntelligenceSt
<div class="rounded-md border border-border bg-surface-alt p-4">
<div class="flex flex-wrap items-start justify-between gap-3">
<div class="min-w-0 max-w-2xl">
- <h3 class="text-sm font-semibold text-base-content">
- Provider needs attention
- </h3>
+ <h3 class="text-sm font-semibold text-base-content">Provider needs attention</h3>
<p class="mt-2 text-xs text-muted">Issue: {setupReason()}</p>
</div>
<ButtonLink href={setupAction.href} variant="primary" size="sm" class="gap-1.5">
diff --git a/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceHeader.test.ts b/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceHeader.test.ts
index fd7f3b0adf..e0cde9f2a6 100644
--- a/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceHeader.test.ts
+++ b/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceHeader.test.ts
@@ -279,7 +279,7 @@ describe('PatrolIntelligenceHeader', () => {
});
it('keeps trust counters out of the page header chrome', () => {
- // Current work and deliberate history review own trust
+ // Needs Attention and deliberate history review own trust
// state. The header should stay focused on title, recency, and controls.
expect(headerSource).not.toContain('aria-label="Patrol trust summary header"');
expect(headerSource).not.toContain('state.patrolStatus()?.trust');
diff --git a/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceWorkspace.test.ts b/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceWorkspace.test.ts
index b8d3d8e1b4..133daf87d9 100644
--- a/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceWorkspace.test.ts
+++ b/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceWorkspace.test.ts
@@ -18,7 +18,7 @@ const workspaceSource = readFileSync(
describe('PatrolIntelligenceWorkspace trust strip', () => {
it('does not render a standalone Trust strip above the workspace tabs', () => {
- // Current work and deliberate history review own operator-facing trust state.
+ // Needs Attention and deliberate history review own operator-facing trust state.
// The workspace should not add another standalone counter strip.
expect(workspaceSource).not.toContain('state.patrolStatus()?.trust');
expect(workspaceSource).not.toContain('aria-label="Patrol trust summary"');
@@ -55,7 +55,7 @@ describe('PatrolIntelligenceWorkspace trust strip', () => {
expect(workspaceSource).toContain('Boolean(queueBadgeLabel())');
expect(workspaceSource).toContain('{queueBadgeLabel()}');
const removedAllModeCopy =
- 'Current work Patrol can ' +
+ 'Open work Patrol can ' +
'watch, investigate, ask you to approve, or record under your Patrol mode.';
expect(workspaceSource).not.toContain(removedAllModeCopy);
expect(workspaceSource).toContain('Provider needs attention');
@@ -67,9 +67,9 @@ describe('PatrolIntelligenceWorkspace trust strip', () => {
expect(PATROL_WORKSPACE_SETUP_DESCRIPTION).toBe(
'Open Provider & Models, then run Patrol from this page.',
);
- expect(PATROL_WORKSPACE_QUEUE_TITLE).toBe('Current work');
+ expect(PATROL_WORKSPACE_QUEUE_TITLE).toBe('Open work');
expect(workspaceSource).not.toContain('Current Patrol findings');
- expect(workspaceSource).toContain('Show current work');
+ expect(workspaceSource).toContain('Show open work');
expect(workspaceSource).not.toContain('Show open issues');
expect(workspaceSource).toContain('!state.selectedRun()');
expect(PATROL_WORKSPACE_RUN_RECORD_TITLE).toBe('Check details');
diff --git a/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts b/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts
index 047bc9891c..7815c67a10 100644
--- a/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts
+++ b/frontend-modern/src/features/patrol/__tests__/patrolControlPresentation.test.ts
@@ -42,12 +42,12 @@ describe('patrolControlPresentation', () => {
[
'monitor',
'Patrol is ready to check infrastructure and show issues.',
- 'Problems Patrol finds appear here.',
+ 'Issues Patrol finds that need you appear here.',
],
[
'approval',
'Patrol is ready to watch and investigate. You approve every change.',
- 'Investigations and approval requests appear here.',
+ 'Investigations and approval requests that need you appear here.',
],
[
'assisted',
@@ -62,7 +62,7 @@ describe('patrolControlPresentation', () => {
] satisfies Array<[PatrolAutonomyLevel, string, string]>)(
'describes %s mode without generic control-level wording',
(autonomyLevel, currentWorkDetail, workspaceDescription) => {
- expect(PATROL_WORKSPACE_QUEUE_TITLE).toBe('Current work');
+ expect(PATROL_WORKSPACE_QUEUE_TITLE).toBe('Open work');
expect(getPatrolReadyWorkDetail({ autonomyLevel })).toBe(currentWorkDetail);
expect(getPatrolQueueWorkspaceDescription({ autonomyLevel })).toBe(workspaceDescription);
},
@@ -77,7 +77,7 @@ describe('patrolControlPresentation', () => {
autonomyLevel: 'full',
autonomyLocked: true,
}),
- ).toBe('Problems Patrol finds appear here.');
+ ).toBe('Issues Patrol finds that need you appear here.');
});
it('summarizes the open queue by affected resource instead of raw findings', () => {
@@ -136,17 +136,20 @@ describe('patrolControlPresentation', () => {
upgradeDestination: destination,
};
- expect(getPatrolProInvestigationHandoff({ ...base, severity: 'critical', status: 'active' }))
- .toMatchObject({
- detail: 'Pulse Pro can investigate and fix issues like this.',
- actionLabel: 'Learn about Pulse Pro',
- destination,
- });
- expect(getPatrolProInvestigationHandoff({ ...base, severity: 'warning', status: 'active' }))
- .toBeDefined();
+ expect(
+ getPatrolProInvestigationHandoff({ ...base, severity: 'critical', status: 'active' }),
+ ).toMatchObject({
+ detail: 'Pulse Pro can investigate and fix issues like this.',
+ actionLabel: 'Learn about Pulse Pro',
+ destination,
+ });
+ expect(
+ getPatrolProInvestigationHandoff({ ...base, severity: 'warning', status: 'active' }),
+ ).toBeDefined();
- expect(getPatrolProInvestigationHandoff({ ...base, severity: 'info', status: 'active' }))
- .toBeUndefined();
+ expect(
+ getPatrolProInvestigationHandoff({ ...base, severity: 'info', status: 'active' }),
+ ).toBeUndefined();
expect(
getPatrolProInvestigationHandoff({ ...base, severity: 'critical', status: 'resolved' }),
).toBeUndefined();
diff --git a/frontend-modern/src/features/patrol/patrolControlPresentation.ts b/frontend-modern/src/features/patrol/patrolControlPresentation.ts
index 3925376463..ca83b4cd01 100644
--- a/frontend-modern/src/features/patrol/patrolControlPresentation.ts
+++ b/frontend-modern/src/features/patrol/patrolControlPresentation.ts
@@ -38,7 +38,7 @@ export const PATROL_WORKSPACE_SETUP_TITLE = 'Fix provider';
export const PATROL_WORKSPACE_SETUP_DESCRIPTION =
'Open Provider & Models, then run Patrol from this page.';
-export const PATROL_WORKSPACE_QUEUE_TITLE = 'Current work';
+export const PATROL_WORKSPACE_QUEUE_TITLE = 'Open work';
export const PATROL_WORKSPACE_RUN_RECORD_TITLE = 'Check details';
@@ -135,19 +135,19 @@ export function getPatrolQueueWorkspaceDescription(
}
if (input.autonomyLocked) {
- return 'Problems Patrol finds appear here.';
+ return 'Issues Patrol finds that need you appear here.';
}
switch (input.autonomyLevel) {
case 'approval':
- return 'Investigations and approval requests appear here.';
+ return 'Investigations and approval requests that need you appear here.';
case 'assisted':
return 'Issues Patrol is handling appear here. Approval requests appear when needed.';
case 'full':
return 'Issues Patrol is handling appear here. Approval requests appear when policy requires them.';
case 'monitor':
default:
- return 'Problems Patrol finds appear here.';
+ return 'Issues Patrol finds that need you appear here.';
}
}
diff --git a/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx b/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx
index 7116133700..4d5d7f1ee5 100644
--- a/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx
+++ b/frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx
@@ -618,10 +618,12 @@ describe('AIIntelligence entitlement gating', () => {
render(() => <AIIntelligence />);
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
});
- expect(screen.queryByRole('heading', { name: 'Pulse Patrol Patrol' })).not.toBeInTheDocument();
+ expect(
+ screen.queryByRole('heading', { name: 'Pulse Patrol Needs Attention' }),
+ ).not.toBeInTheDocument();
expect(screen.getByTestId('pulse-patrol-logo')).toHaveAttribute('aria-hidden', 'true');
});
@@ -631,7 +633,7 @@ describe('AIIntelligence entitlement gating', () => {
render(() => <AIIntelligence />);
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
});
expect(
@@ -671,7 +673,7 @@ describe('AIIntelligence entitlement gating', () => {
expect(screen.queryByRole('link', { name: 'View plans' })).not.toBeInTheDocument();
expect(operationsLoopAnchor?.parentElement).toBe(patrolControlAnchor);
expect(screen.queryByTestId('patrol-current-work')).not.toBeInTheDocument();
- expect(screen.getByText('Problems Patrol finds appear here.')).toBeInTheDocument();
+ expect(screen.getByText('Issues Patrol finds that need you appear here.')).toBeInTheDocument();
expect(
screen.queryByText('Issues Patrol found. Infrastructure stays unchanged.'),
).not.toBeInTheDocument();
@@ -764,7 +766,7 @@ describe('AIIntelligence entitlement gating', () => {
'The selected Patrol model is a reasoning-only model family that commonly does not emit tool calls.',
),
).not.toBeInTheDocument();
- expect(screen.queryByRole('heading', { name: 'Current work' })).not.toBeInTheDocument();
+ expect(screen.queryByRole('heading', { name: 'Open work' })).not.toBeInTheDocument();
expect(screen.queryByText('Patrol setup issue')).not.toBeInTheDocument();
expect(screen.queryByText('Patrol readiness issue')).not.toBeInTheDocument();
expect(screen.queryByText(/Automation:/)).not.toBeInTheDocument();
@@ -832,7 +834,7 @@ describe('AIIntelligence entitlement gating', () => {
render(() => <AIIntelligence />);
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Open work' })).toBeInTheDocument();
});
getCorrelationsMock.mockImplementation(() => new Promise(() => {}));
@@ -856,7 +858,7 @@ describe('AIIntelligence entitlement gating', () => {
render(() => <AIIntelligence />);
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Open work' })).toBeInTheDocument();
});
fireEvent.click(screen.getAllByRole('button', { name: /Run Patrol/i })[0]);
@@ -874,7 +876,7 @@ describe('AIIntelligence entitlement gating', () => {
render(() => <AIIntelligence />);
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
});
expect(screen.queryByText('Patrol setup issue')).not.toBeInTheDocument();
expect(screen.queryByText('Patrol setup warning')).not.toBeInTheDocument();
@@ -978,7 +980,7 @@ describe('AIIntelligence entitlement gating', () => {
render(() => <AIIntelligence />);
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Current work' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
});
expect(screen.queryByRole('button', { name: 'Details' })).not.toBeInTheDocument();
expect(screen.queryByRole('button', { name: 'Hide details' })).not.toBeInTheDocument();
@@ -1165,7 +1167,7 @@ describe('AIIntelligence entitlement gating', () => {
render(() => <AIIntelligence />);
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
});
await waitFor(() => {
expect(apiFetchJSONMock).toHaveBeenCalledWith('/api/ai/models');
@@ -1280,7 +1282,7 @@ describe('AIIntelligence entitlement gating', () => {
expect(getPatrolRunHistoryMock.mock.calls.length).toBeGreaterThan(
runHistoryCallsBeforeModeChange,
);
- expect(screen.getByRole('heading', { name: 'Current work' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
expect(screen.queryByTestId('patrol-current-work')).not.toBeInTheDocument();
expect(screen.queryByText('Patrol ready')).not.toBeInTheDocument();
expect(screen.queryByText(/Run Patrol now to look for issues/)).not.toBeInTheDocument();
@@ -1356,7 +1358,7 @@ describe('AIIntelligence entitlement gating', () => {
await waitFor(() => {
expect(getPatrolStatusMock).toHaveBeenCalled();
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
});
expect(screen.queryByText('Patrol status')).not.toBeInTheDocument();
@@ -1381,8 +1383,8 @@ describe('AIIntelligence entitlement gating', () => {
));
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
- expect(screen.getByText('Current work')).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
+ expect(screen.getByText('Open work')).toBeInTheDocument();
});
expect(screen.queryByText('Loading view...')).not.toBeInTheDocument();
@@ -1400,9 +1402,9 @@ describe('AIIntelligence entitlement gating', () => {
));
await waitFor(() => {
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
expect(screen.getByText('Patrol could not refresh')).toBeInTheDocument();
- expect(screen.getByText('Current work')).toBeInTheDocument();
+ expect(screen.getByText('Open work')).toBeInTheDocument();
});
expect(screen.queryByText('Loading view...')).not.toBeInTheDocument();
@@ -1671,7 +1673,7 @@ describe('AIIntelligence entitlement gating', () => {
render(() => <AIIntelligence />);
await waitFor(() => {
- expect(screen.getByText('Current work')).toBeInTheDocument();
+ expect(screen.getByText('Open work')).toBeInTheDocument();
expect(screen.queryByText('Next:')).not.toBeInTheDocument();
expect(screen.queryByText('Verify full coverage')).not.toBeInTheDocument();
expect(screen.queryByTestId('patrol-recommended-next-step-action')).not.toBeInTheDocument();
@@ -1850,9 +1852,7 @@ describe('AIIntelligence entitlement gating', () => {
expect(
screen.getByText('Open Provider & Models, then run Patrol from this page.'),
).toBeInTheDocument();
- expect(
- screen.getByRole('heading', { name: 'Provider needs attention' }),
- ).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Provider needs attention' })).toBeInTheDocument();
expect(
screen.queryByText('Fix the provider connection, then Patrol can check infrastructure.'),
).not.toBeInTheDocument();
@@ -1893,7 +1893,7 @@ describe('AIIntelligence entitlement gating', () => {
expect(screen.queryByText('Latest activity')).not.toBeInTheDocument();
expect(screen.queryByTestId('patrol-status-bar')).not.toBeInTheDocument();
- expect(screen.queryByRole('heading', { name: 'Current work' })).not.toBeInTheDocument();
+ expect(screen.queryByRole('heading', { name: 'Open work' })).not.toBeInTheDocument();
expect(screen.queryByRole('button', { name: 'Active' })).not.toBeInTheDocument();
expect(screen.queryByRole('button', { name: 'All' })).not.toBeInTheDocument();
expect(screen.queryByRole('button', { name: 'Resolved' })).not.toBeInTheDocument();
@@ -1942,7 +1942,7 @@ describe('AIIntelligence entitlement gating', () => {
await waitFor(() => {
expect(screen.getByText('Provider issue')).toBeInTheDocument();
});
- expect(screen.getByRole('heading', { name: 'Current work' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Open work' })).toBeInTheDocument();
const providerActions = screen.getAllByRole('link', { name: /Fix Patrol provider/i });
expect(providerActions.length).toBeGreaterThan(0);
expect(providerActions[0]).toHaveAttribute('href', '/settings/pulse-intelligence/provider');
@@ -2211,7 +2211,7 @@ describe('AIIntelligence entitlement gating', () => {
await waitFor(() => {
expect(getPatrolRunHistoryMock).toHaveBeenCalled();
- expect(screen.getByRole('heading', { name: 'Patrol' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Needs Attention' })).toBeInTheDocument();
});
expect(screen.queryByText(/No active issues · health score 100\/100/)).not.toBeInTheDocument();
diff --git a/frontend-modern/src/utils/patrolPagePresentation.ts b/frontend-modern/src/utils/patrolPagePresentation.ts
index 1152e7e80b..4f3c07b3d7 100644
--- a/frontend-modern/src/utils/patrolPagePresentation.ts
+++ b/frontend-modern/src/utils/patrolPagePresentation.ts
@@ -1,6 +1,6 @@
import type { PatrolAutonomyLevel } from '@/api/patrol';
-export const PATROL_PAGE_TITLE = 'Patrol';
+export const PATROL_PAGE_TITLE = 'Needs Attention';
export const PATROL_PAGE_WATCH_ONLY_DESCRIPTION =
'Patrol watches infrastructure and shows current issues.';
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index 783cf54efd..d0d7a7472a 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -2916,7 +2916,7 @@ class SubsystemLookupTest(unittest.TestCase):
{
"heading": "## Shared Boundaries",
"path": "internal/api/access_control_handlers.go",
- "line": 1064,
+ "line": 1067,
"heading_line": 136,
}
],