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
Move infrastructure IA split into settings shell
rcourtman295753be1ac3
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.mdindex 20ecedd4d6..df16be4795 100644--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md@@ -863,10 +863,13 @@ rather than stacking beneath the systems ledger. When the operator opensplatform connection management, install tooling, or the legacy operationsworkspace route, `InfrastructureWorkspace.tsx` must not keep the systems tablemounted above that second surface.-That shared infrastructure shell must also preserve explicit peer navigation-between `Systems`, `Connections`, and `Install`, so entering platform-management or installer tooling never strands the operator on a sub-route with-no governed path back to the ledger or to Linux/Windows install commands.+That infrastructure surface must now stay single-purpose per settings route:+the default systems destination owns the top-level monitored-system ledger,+the connections destination owns API-backed platform management, and the+install destination owns Linux/Windows/macOS/FreeBSD command generation.+`InfrastructureWorkspace.tsx` must not rebuild a second local tab shell inside+that content area now that the canonical Settings navigation owns movement+between those three jobs.That same lifecycle-owned platform-connections workspace must keep API-backedprovider state operationally useful, not CRUD-only. `TrueNASSettingsPanel.tsx`and `useTrueNASSettingsPanelState.ts` must surface the shared runtime health,diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.mdindex 2892694c96..c942cc79d2 100644--- a/docs/release-control/v6/internal/subsystems/api-contracts.md+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md@@ -105,6 +105,7 @@ Own canonical runtime payload shapes between backend and frontend.21. `frontend-modern/src/components/Settings/useAPITokenManagerState.ts` shared with `security-privacy`: the API token settings state hook is both a security/privacy control surface and a canonical API payload contract boundary.22. `frontend-modern/src/components/Settings/useInfrastructureConfiguredNodesState.ts` shared with `agent-lifecycle`: the direct-node infrastructure settings state hook is both an agent lifecycle control surface and a shared Proxmox node API contract boundary.23. `frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts` shared with `agent-lifecycle`: the infrastructure discovery runtime state hook is both an agent lifecycle control surface and a shared discovery/settings API contract boundary.+ That same shared boundary also owns settings-route polling scope for discovery payloads: the `/api/discover` refresh loop and websocket-backed discovery status hydration may run only while the operator is on the infrastructure connections workspace under `/settings/infrastructure/platforms*`, not on the systems ledger or install workspace.24. `frontend-modern/src/components/Settings/useInfrastructureInstallState.tsx` shared with `agent-lifecycle`: the infrastructure install state hook is both an agent fleet lifecycle control surface and an API token, lookup, and install transport contract boundary.25. `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx` shared with `agent-lifecycle`: the shared infrastructure operations state hook is both an agent fleet lifecycle control surface and an API token, lookup, assignment, and reporting/install contract boundary.26. `frontend-modern/src/components/Settings/useInfrastructureReportingState.tsx` shared with `agent-lifecycle`: the infrastructure reporting state hook is both an agent fleet lifecycle control surface and an API-backed assignment, reporting, and reconnect contract boundary.@@ -197,6 +198,7 @@ the canonical monitored-system blocked payload.9. Route frontend API-client parsed error propagation, API-error-status fallback handling, allowed-status handling, custom status-specific error handling, command-trigger success envelope handling, shared response parsing pipelines, missing-resource lookup handling, metadata CRUD routing, stream event consumption, response status, collection normalization, scalar payload coercion, and structured error normalization through canonical shared helpers under `frontend-modern/src/api/`10. Add or change API token scope, assignment, and revocation presentation through `frontend-modern/src/components/Settings/APITokenManager.tsx`, `frontend-modern/src/components/Settings/apiTokenManagerModel.ts`, and `frontend-modern/src/components/Settings/useAPITokenManagerState.ts`11. Add or change infrastructure operations token generation, lookup, assignment, the pure unified-agent inventory/install model, the split infrastructure install/reporting state owners, the split direct-node/discovery infrastructure settings owners, the shared infrastructure-operations state provider/context shell, and reporting/install presentation through `frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx`, `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`, `frontend-modern/src/components/Settings/useInfrastructureConfiguredNodesState.ts`, `frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts`, `frontend-modern/src/components/Settings/useInfrastructureInstallState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`, and `frontend-modern/src/components/Settings/useInfrastructureReportingState.tsx`+ That same governed infrastructure-operations API boundary also owns discovery polling activation: the shared discovery runtime may only poll `/api/discover` while the settings shell has the `infrastructure-connections` route active, so route-level IA changes cannot silently keep discovery traffic alive on unrelated systems or install screens.12. Keep `internal/api/session_store.go` on a fail-closed auth-persistence boundary: persisted OIDC refresh tokens may only round-trip through encrypted-at-rest session payloads, and any missing-crypto or invalid-ciphertext path must drop the token instead of preserving plaintext-at-rest session state.13. Keep tenant AI handler wiring on canonical provider ownership: `internal/api/ai_handlers.go` may wire tenant `ReadState` and tenant-scoped unified-resource providers into AI services, but it must not revive tenant snapshot-provider bridges once Patrol can initialize and verify from those canonical providers directly.14. Keep Patrol status transport semantics explicit in that same AI handler layer: the Patrol status endpoint must carry machine-readable runtime availability such as blocked, running, disabled, active, or unavailable rather than asking frontend consumers to infer operator state from stale summaries or run history.diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 0b917f1e24..821640187d 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -226,10 +226,11 @@ work extends shared components instead of creating new local variants.page header instead of keeping the systems ledger mounted above them, so thesame system or connection context is not duplicated once in the defaultledger and again inside a secondary management workspace.- That same shared shell boundary must expose `Systems`, `Connections`, and- `Install` as peer infrastructure views, so route-driven entry into platform- management never removes governed navigation back to the systems ledger or- to the Linux/Windows installer workspace.+ That same shared shell boundary now owns the infrastructure IA split+ directly in the Settings navigation: `Systems`, `Connections`, and+ `Install` are separate infrastructure destinations under the shared+ sidebar, and the route body must stay single-purpose instead of recreating+ another local tab bar inside `InfrastructureWorkspace.tsx`.6. Keep Proxmox deep-link route selection on the shared settings-navigation boundary. `frontend-modern/src/components/Settings/settingsNavigationModel.ts` and `frontend-modern/src/components/Settings/useSettingsNavigation.ts` must treat the canonical PBS and PMG Proxmox deep links as agent-selection authority even though those URLs resolve to the shared `infrastructure-operations` tab. Reloading or remounting on a PBS or PMG deep link must not silently fall back to the PVE selector state.7. Keep shared storage feature presenters on canonical platform truth. When reusable storage presenters under `frontend-modern/src/features/storageBackups/` classify canonical resources for the shared storage route, API-backed virtualization datastores such as VMware must stay inventory-only datastores instead of inheriting PBS-specific backup-repository or protected-target copy from older fallback branches.8. Keep shared source/platform vocabulary on the governed manifest boundary. `frontend-modern/src/utils/platformSupportManifest.generated.ts` must be the tracked frontend projection of `docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json`, `frontend-modern/src/utils/platformSupportManifest.ts`, `frontend-modern/src/utils/sourcePlatforms.ts`, and `frontend-modern/src/utils/sourcePlatformOptions.ts` must consume that generated projection instead of embedding divergent future-label lists, setup/onboarding path allowlists, or presentation-only guesses, and `frontend-modern/scripts/canonical-platform-audit.mjs` must fail when the generated projection drifts from the governed manifest.diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsxindex 0a530f3756..d4107f480e 100644--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx@@ -1,6 +1,5 @@import { Component, Match, Show, Switch, createEffect, createMemo, createSignal } from 'solid-js';import { useLocation, useNavigate } from '@solidjs/router';-import { Subtabs } from '@/components/shared/Subtabs';import { Dialog } from '@/components/shared/Dialog';import { presentationPolicyIsReadOnly } from '@/stores/sessionPresentationPolicy';import { AgentProfilesPanel } from './AgentProfilesPanel';@@ -13,15 +12,12 @@ import {} from './connectionsTableModel';import { InfrastructureActiveRowDetails } from './InfrastructureActiveRowDetails';import { InfrastructureInstallerSection } from './InfrastructureInstallerSection';-import { InfrastructureInventorySection } from './InfrastructureInventorySection';import { InfrastructureIgnoredRowDetails } from './InfrastructureIgnoredRowDetails';import { InfrastructureStopMonitoringDialog } from './InfrastructureStopMonitoringDialog';import { PlatformConnectionsWorkspace } from './PlatformConnectionsWorkspace';import {- INFRASTRUCTURE_WORKSPACE_TABS,buildInfrastructureWorkspacePath,getInfrastructureWorkspaceViewFromPath,- type InfrastructureWorkspaceTabView,} from './infrastructureWorkspaceModel';import type { InfrastructurePlatformSettingsProps } from './proxmoxSettingsModel';import {@@ -130,20 +126,6 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =return (<div class="space-y-8">- <Show when={!readOnlyWorkspace() && activeView() !== 'operations'}>- <Subtabs- value={activeView()}- onChange={(value) =>- navigate(buildInfrastructureWorkspacePath(value as InfrastructureWorkspaceTabView))- }- ariaLabel="Infrastructure workspace"- tabs={INFRASTRUCTURE_WORKSPACE_TABS.map((tab) => ({- value: tab.id,- label: tab.label,- }))}- />- </Show>-<Show when={activeView() === 'inventory'}><ConnectionsTablerows={rows}@@ -197,10 +179,6 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =</Dialog><Switch>- <Match when={activeView() === 'operations'}>- <InfrastructureInventorySection />- </Match>-<Match when={!readOnlyWorkspace() && activeView() === 'platforms'}><PlatformConnectionsWorkspace {...props} /></Match>diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsxindex 5ab3f0b94f..880ce2227d 100644--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx@@ -129,6 +129,9 @@ describe('InfrastructureOperationsController ownership guardrails', () => {'export const useInfrastructureDiscoveryRuntimeState',);expect(infrastructureDiscoveryRuntimeStateSource).toContain("apiFetch('/api/discover'");+ expect(infrastructureDiscoveryRuntimeStateSource).toContain(+ "currentTab() === 'infrastructure-connections'",+ );expect(infrastructureDiscoveryRuntimeStateSource).toContain('SettingsAPI.updateSystemSettings');expect(infrastructureInstallerSectionSource).toContain('useInfrastructureOperationsContext');expect(infrastructureInstallerSectionSource).toContain(diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsxindex 1b570565a1..f168640c9a 100644--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx@@ -168,10 +168,6 @@ describe('InfrastructureWorkspace', () => {renderWorkspace();expect(screen.getByRole('heading', { name: 'Systems' })).toBeInTheDocument();- expect(screen.getByRole('tablist', { name: 'Infrastructure workspace' })).toBeInTheDocument();- expect(screen.getByRole('tab', { name: 'Systems' })).toBeInTheDocument();- expect(screen.getByRole('tab', { name: 'Connections' })).toBeInTheDocument();- expect(screen.getByRole('tab', { name: 'Install' })).toBeInTheDocument();expect(screen.getByRole('button', { name: 'Agent profiles' })).toBeInTheDocument();expect(screen.queryByRole('button', { name: 'Manage connections' })).toBeNull();expect(screen.queryByTestId('inventory-section')).toBeNull();@@ -243,26 +239,11 @@ describe('InfrastructureWorkspace', () => {expect(screen.getByTestId('active-details')).toBeInTheDocument();});- it('navigates from the systems ledger into the peer connections workspace', () => {- renderWorkspace();-- fireEvent.click(screen.getByRole('tab', { name: 'Connections' }));-- expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure/platforms');- });-it('shows only platform setup below the ledger on platform deep links', () => {mockPathname = '/settings/infrastructure/platforms/truenas';renderWorkspace();expect(screen.queryByRole('heading', { name: 'Systems' })).toBeNull();- expect(screen.getByRole('tablist', { name: 'Infrastructure workspace' })).toBeInTheDocument();- expect(screen.getByRole('tab', { name: 'Systems' })).toBeInTheDocument();- expect(screen.getByRole('tab', { name: 'Connections' })).toHaveAttribute(- 'aria-selected',- 'true',- );- expect(screen.getByRole('tab', { name: 'Install' })).toBeInTheDocument();expect(screen.getByTestId('platform-section')).toBeInTheDocument();expect(screen.queryByTestId('inventory-section')).toBeNull();expect(screen.queryByTestId('install-section')).toBeNull();@@ -275,31 +256,11 @@ describe('InfrastructureWorkspace', () => {renderWorkspace();expect(screen.queryByRole('heading', { name: 'Systems' })).toBeNull();- expect(screen.getByRole('tablist', { name: 'Infrastructure workspace' })).toBeInTheDocument();- expect(screen.getByRole('tab', { name: 'Install' })).toHaveAttribute('aria-selected', 'true');expect(screen.getByTestId('install-section')).toBeInTheDocument();expect(screen.queryByTestId('inventory-section')).toBeNull();expect(screen.queryByTestId('platform-section')).toBeNull();});- it('lets platform deep links navigate back to the systems ledger', () => {- mockPathname = '/settings/infrastructure/platforms/truenas';- renderWorkspace();-- fireEvent.click(screen.getByRole('tab', { name: 'Systems' }));-- expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure');- });-- it('keeps Linux and Windows install tooling reachable from the shared workspace tabs', () => {- mockPathname = '/settings/infrastructure/platforms/truenas';- renderWorkspace();-- fireEvent.click(screen.getByRole('tab', { name: 'Install' }));-- expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure/install');- });-it('opens agent profiles in a dedicated drawer instead of inline', () => {renderWorkspace();@@ -314,7 +275,6 @@ describe('InfrastructureWorkspace', () => {renderWorkspace();expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure', { replace: true });- expect(screen.queryByRole('tablist', { name: 'Infrastructure workspace' })).toBeNull();expect(screen.queryByRole('button', { name: /\+ Add a system/i })).toBeNull();expect(screen.queryByRole('button', { name: 'Agent profiles' })).toBeNull();expect(screen.queryByTestId('platform-section')).toBeNull();diff --git a/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts b/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.tsindex 44202ca1b5..dc2c1fd086 100644--- a/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts@@ -784,7 +784,7 @@ describe('monitored-system model guardrails', () => {expect(infrastructureWorkspaceModelSource).toContain("pathname.startsWith('/settings/infrastructure/proxmox')",);- expect(infrastructureWorkspaceModelSource).toContain(+ expect(infrastructureWorkspaceModelSource).not.toContain("operations: '/settings/infrastructure/operations'",);});diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex b4a6352704..3886d600c7 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -516,7 +516,8 @@ describe('Settings architecture guardrails', () => {expect(settingsNavigationModelSource).toContain('export function resolveCanonicalSettingsPath');expect(settingsNavigationModelSource).toContain('export function isProxmoxSettingsPath');expect(settingsNavigationModelSource).toContain('export function settingsTabPath');- expect(settingsNavigationModelSource).toContain('return LEGACY_INFRASTRUCTURE_PREFIX;');+ expect(settingsNavigationModelSource).toContain("case 'infrastructure-systems':");+ expect(settingsNavigationModelSource).toContain('return INFRASTRUCTURE_SYSTEMS_PREFIX;');expect(settingsNavigationModelSource).toContain('SELF_HOSTED_PRO_BILLING_PLAN_ROUTE');expect(settingsNavigationHookSource).toContain('deriveTabFromPath');expect(settingsNavigationHookSource).toContain('isProxmoxSettingsPath');@@ -892,14 +893,13 @@ describe('Settings architecture guardrails', () => {expect(infrastructureWorkspaceSource).toContain('./InfrastructureActiveRowDetails');expect(infrastructureWorkspaceSource).toContain('./InfrastructureIgnoredRowDetails');expect(infrastructureWorkspaceSource).toContain('InfrastructureOperationsStateProvider');- expect(infrastructureWorkspaceSource).toContain('InfrastructureInventorySection');expect(infrastructureWorkspaceSource).toContain('InfrastructureInstallerSection');expect(infrastructureWorkspaceSource).toContain('InfrastructureStopMonitoringDialog');expect(infrastructureWorkspaceSource).toContain('AgentProfilesPanel');expect(infrastructureWorkspaceSource).toContain('PlatformConnectionsWorkspace');- expect(infrastructureWorkspaceSource).toContain("import { Subtabs } from '@/components/shared/Subtabs'");- expect(infrastructureWorkspaceSource).toContain('<Subtabs');- expect(infrastructureWorkspaceSource).toContain("activeView() === 'operations'");+ expect(infrastructureWorkspaceSource).not.toContain("import { Subtabs } from '@/components/shared/Subtabs'");+ expect(infrastructureWorkspaceSource).not.toContain('<Subtabs');+ expect(infrastructureWorkspaceSource).not.toContain("activeView() === 'operations'");expect(infrastructureWorkspaceSource).toContain("activeView() === 'platforms'");expect(infrastructureWorkspaceSource).toContain("activeView() === 'install'");expect(connectionsTableSource).toContain('headerActions');@@ -955,7 +955,7 @@ describe('Settings architecture guardrails', () => {);expect(infrastructureActiveRowDetailsSource).toContain('useInfrastructureOperationsContext');expect(infrastructureIgnoredRowDetailsSource).toContain('useInfrastructureOperationsContext');- expect(infrastructureWorkspaceModelSource).toContain(+ expect(infrastructureWorkspaceModelSource).not.toContain('export const INFRASTRUCTURE_WORKSPACE_TABS',);expect(infrastructureWorkspaceModelSource).toContain(@@ -1407,7 +1407,6 @@ describe('Settings architecture guardrails', () => {source.includes('CommercialBillingShell') ||(panelName === 'InfrastructureWorkspace' &&source.includes('./InfrastructureInstallerSection') &&- source.includes('./InfrastructureInventorySection') &&source.includes('./PlatformConnectionsWorkspace') &&source.includes('./ConnectionsTable'));expect(usesCanonicalShell, `${panelName} should use a canonical settings panel shell`).toBe(@@ -1427,20 +1426,22 @@ describe('Settings architecture guardrails', () => {expect(settingsHeaderMetaSource).not.toContain('Billing and self-hosted plan features live in Pulse Pro.',);- expect(SETTINGS_HEADER_META['infrastructure-operations'].title).toBe('Infrastructure');- expect(SETTINGS_HEADER_META['infrastructure-operations'].description).toContain(+ expect(SETTINGS_HEADER_META['infrastructure-systems'].title).toBe('Systems');+ expect(SETTINGS_HEADER_META['infrastructure-systems'].description).toContain('top-level monitored systems',);- expect(SETTINGS_HEADER_META['infrastructure-operations'].description).toBe(- `Review top-level monitored systems, open install or platform connection workflows when needed, and control how Pulse collects infrastructure data. ${SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral}`,+ expect(SETTINGS_HEADER_META['infrastructure-systems'].description).toBe(+ `Review top-level monitored systems and how Pulse is collecting data from each one. ${SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral}`,);+ expect(SETTINGS_HEADER_META['infrastructure-connections'].title).toBe('Connections');+ expect(SETTINGS_HEADER_META['infrastructure-install'].title).toBe('Install');});it('keeps billing-related shell framing on self-hosted commercial terms', () => {- expect(SETTINGS_HEADER_META['infrastructure-operations'].description).toContain(+ expect(SETTINGS_HEADER_META['infrastructure-systems'].description).toContain('self-hosted plan features',);- expect(SETTINGS_HEADER_META['infrastructure-operations'].description).not.toContain(+ expect(SETTINGS_HEADER_META['infrastructure-systems'].description).not.toContain('installed-agent',);expect(SETTINGS_HEADER_META['system-billing'].title).toBe(diff --git a/frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx b/frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsxindex bd48bbade5..b7b6b2778a 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx@@ -6,8 +6,9 @@ import { getSettingsTabSaveBehavior } from '../settingsTabSaveBehavior';import { updateDisableLocalUpgradeMetricsSetting } from '@/stores/systemSettings';const canonicalTabPaths = {- proxmox: '/settings/infrastructure/platforms/proxmox',- 'infrastructure-operations': '/settings/infrastructure',+ 'infrastructure-systems': '/settings/infrastructure',+ 'infrastructure-connections': '/settings/infrastructure/platforms',+ 'infrastructure-install': '/settings/infrastructure/install','system-general': '/settings/system-general','system-network': '/settings/system-network','system-updates': '/settings/system-updates',@@ -33,9 +34,7 @@ const canonicalTabPaths = {'security-webhooks': '/settings/security-webhooks',} as const satisfies Record<SettingsTab, string>;-const dispatchableCanonicalTabPaths = Object.fromEntries(- Object.entries(canonicalTabPaths).filter(([tab]) => tab !== 'proxmox'),-) as Record<Exclude<SettingsTab, 'proxmox'>, string>;+const dispatchableCanonicalTabPaths = canonicalTabPaths as Record<SettingsTab, string>;const hasFeatures =(features: string[]) =>@@ -263,20 +262,20 @@ describe('settingsNavigation integration scaffold', () => {expect(getSettingsTabSaveBehavior('system-network')).toBe('system');expect(getSettingsTabSaveBehavior('system-updates')).toBe('system');expect(getSettingsTabSaveBehavior('system-recovery')).toBe('system');- expect(getSettingsTabSaveBehavior('proxmox')).toBeUndefined();+ expect(getSettingsTabSaveBehavior('infrastructure-systems')).toBeUndefined();expect(getSettingsTabSaveBehavior('security-auth')).toBeUndefined();});it('resolves every canonical tab path', () => {for (const [tab, path] of Object.entries(dispatchableCanonicalTabPaths) as Array<- [Exclude<SettingsTab, 'proxmox'>, string]+ [SettingsTab, string]>) {expect(deriveTabFromPath(path)).toBe(tab);}});it('round-trips settingsTabPath through deriveTabFromPath', () => {- for (const tab of Object.keys(dispatchableCanonicalTabPaths) as Exclude<SettingsTab, 'proxmox'>[]) {+ for (const tab of Object.keys(dispatchableCanonicalTabPaths) as SettingsTab[]) {expect(deriveTabFromPath(settingsTabPath(tab))).toBe(tab);}});@@ -288,7 +287,7 @@ describe('settingsNavigation integration scaffold', () => {});it('setActiveTab eagerly updates currentTab before navigation', () => {- for (const tab of Object.keys(dispatchableCanonicalTabPaths) as Exclude<SettingsTab, 'proxmox'>[]) {+ for (const tab of Object.keys(dispatchableCanonicalTabPaths) as SettingsTab[]) {const path = settingsTabPath(tab);const derived = deriveTabFromPath(path);expect(derived).toBe(tab);@@ -310,7 +309,7 @@ describe('settingsNavigation integration scaffold', () => {});it('keeps non-gated tabs unlocked', () => {- expect(isTabLocked('proxmox', hasFeatures([]), () => true)).toBe(false);+ expect(isTabLocked('infrastructure-connections', hasFeatures([]), () => true)).toBe(false);});it('getTabLockReason returns tier-specific reason for locked tabs and null for unlocked', () => {@@ -326,7 +325,7 @@ describe('settingsNavigation integration scaffold', () => {);expect(getTabLockReason(tab, hasFeatures([requiredFeature]), () => true)).toBeNull();}- expect(getTabLockReason('proxmox', hasFeatures([]), () => true)).toBeNull();+ expect(getTabLockReason('infrastructure-connections', hasFeatures([]), () => true)).toBeNull();});});diff --git a/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.tsindex 501ff6a6ad..bc55eff856 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts@@ -17,8 +17,9 @@ import {import { isFeatureLocked, isTabLocked } from '../settingsFeatureGates';const canonicalTabPaths = {- proxmox: '/settings/infrastructure/platforms/proxmox',- 'infrastructure-operations': '/settings/infrastructure',+ 'infrastructure-systems': '/settings/infrastructure',+ 'infrastructure-connections': '/settings/infrastructure/platforms',+ 'infrastructure-install': '/settings/infrastructure/install','system-general': '/settings/system-general','system-network': '/settings/system-network','system-updates': '/settings/system-updates',@@ -50,8 +51,8 @@ const hasFeatures =features.includes(feature);describe('settingsNavigationModel', () => {- it('uses infrastructure operations as the default /settings landing tab', () => {- expect(DEFAULT_SETTINGS_TAB).toBe('infrastructure-operations');+ it('uses infrastructure systems as the default /settings landing tab', () => {+ expect(DEFAULT_SETTINGS_TAB).toBe('infrastructure-systems');});it('returns canonical paths for every tab id', () => {@@ -79,6 +80,9 @@ describe('settingsNavigationModel', () => {expect(resolveCanonicalSettingsPath('/settings/infrastructure')).toBe('/settings/infrastructure',);+ expect(resolveCanonicalSettingsPath('/settings/infrastructure/install')).toBe(+ '/settings/infrastructure/install',+ );expect(resolveCanonicalSettingsPath('/settings/infrastructure/pve')).toBe('/settings/infrastructure/platforms/proxmox/pve',);@@ -94,6 +98,12 @@ describe('settingsNavigationModel', () => {expect(resolveCanonicalSettingsPath('/settings/infrastructure/truenas')).toBe('/settings/infrastructure/platforms/truenas',);+ expect(resolveCanonicalSettingsPath('/settings/infrastructure/vmware')).toBe(+ '/settings/infrastructure/platforms/vmware',+ );+ expect(resolveCanonicalSettingsPath('/settings/infrastructure/operations')).toBe(+ '/settings/infrastructure',+ );expect(resolveCanonicalSettingsPath('/settings/integrations/api')).toBe('/settings/security/api',);@@ -134,11 +144,14 @@ describe('settingsNavigationModel', () => {it('maps query deep-links contract values', () => {const queryCases: Array<[string, SettingsTab | null]> = [- ['?tab=infrastructure', 'infrastructure-operations'],- ['?tab=agents', 'infrastructure-operations'],- ['?tab=workloads', 'infrastructure-operations'],- ['?tab=proxmox', 'proxmox'],- ['?tab=docker', 'infrastructure-operations'],+ ['?tab=infrastructure', 'infrastructure-systems'],+ ['?tab=agents', 'infrastructure-systems'],+ ['?tab=workloads', 'infrastructure-systems'],+ ['?tab=proxmox', 'infrastructure-connections'],+ ['?tab=connections', 'infrastructure-connections'],+ ['?tab=platforms', 'infrastructure-connections'],+ ['?tab=install', 'infrastructure-install'],+ ['?tab=docker', 'infrastructure-systems'],['?tab=system-ai', 'system-ai'],['?tab=system-relay', 'system-relay'],['?tab=system-pro', 'system-billing'],@@ -182,7 +195,7 @@ describe('settingsNavigationModel', () => {expect(isTabLocked(tab, hasFeatures([requiredFeature]), () => true)).toBe(false);expect(isTabLocked(tab, hasFeatures([]), () => false)).toBe(false);}- expect(isTabLocked('proxmox', hasFeatures([]), () => true)).toBe(false);+ expect(isTabLocked('infrastructure-connections', hasFeatures([]), () => true)).toBe(false);});it('maps deriveAgentFromPath contracts for canonical infrastructure routes', () => {@@ -230,17 +243,18 @@ describe('settingsNavigationModel', () => {it('treats proxmox deep links as infrastructure aliases', () => {expect(deriveTabFromPath('/settings/infrastructure/platforms')).toBe(- 'infrastructure-operations',+ 'infrastructure-connections',);expect(deriveTabFromPath('/settings/infrastructure/platforms/proxmox')).toBe(- 'infrastructure-operations',+ 'infrastructure-connections',);expect(deriveTabFromPath('/settings/infrastructure/platforms/proxmox/pve')).toBe(- 'infrastructure-operations',+ 'infrastructure-connections',);expect(deriveTabFromPath('/settings/infrastructure/api/pve')).toBe(- 'infrastructure-operations',+ 'infrastructure-connections',);+ expect(deriveTabFromPath('/settings/infrastructure/install')).toBe('infrastructure-install');});it('maps support and legacy operations routes back to support tabs', () => {diff --git a/frontend-modern/src/components/Settings/__tests__/useSettingsNavigation.test.tsx b/frontend-modern/src/components/Settings/__tests__/useSettingsNavigation.test.tsxindex dd10ed6102..7ed765ffe2 100644--- a/frontend-modern/src/components/Settings/__tests__/useSettingsNavigation.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/useSettingsNavigation.test.tsx@@ -22,8 +22,8 @@ function renderHarness(pathname = '/settings', search = '', hash = '') {return (<>- <button type="button" onClick={() => navigation.setActiveTab('infrastructure-operations')}>- open infrastructure settings+ <button type="button" onClick={() => navigation.setActiveTab('infrastructure-connections')}>+ open connections settings</button><div data-testid="selected-agent">{navigation.selectedAgent()}</div></>@@ -51,11 +51,11 @@ describe('useSettingsNavigation', () => {});});- it('routes infrastructure tab clicks to reporting inventory when the session is read-only', () => {+ it('routes setup-oriented infrastructure tab clicks back to systems when the session is read-only', () => {presentationPolicyIsReadOnlyMock.mockReturnValue(true);renderHarness('/settings/system-general');- fireEvent.click(screen.getByRole('button', { name: 'open infrastructure settings' }));+ fireEvent.click(screen.getByRole('button', { name: 'open connections settings' }));expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure', {scroll: false,diff --git a/frontend-modern/src/components/Settings/__tests__/useSettingsShellState.test.ts b/frontend-modern/src/components/Settings/__tests__/useSettingsShellState.test.tsindex be3c493d50..cbc9310c98 100644--- a/frontend-modern/src/components/Settings/__tests__/useSettingsShellState.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/useSettingsShellState.test.ts@@ -19,10 +19,10 @@ describe('useSettingsShellState', () => {createRoot((dispose) => {const state = useSettingsShellState({- activeTab: () => 'infrastructure-operations',+ activeTab: () => 'infrastructure-systems',});- expect(state.headerMeta().title).toBe('Infrastructure');+ expect(state.headerMeta().title).toBe('Systems');expect(state.headerMeta().description).toBe('Review the current top-level monitored systems and reporting posture. Setup changes stay unavailable in this read-only session.',);diff --git a/frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts b/frontend-modern/src/components/Settings/infrastructureWorkspaceModel.tsindex de341f1c09..e7acc4c899 100644--- a/frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts+++ b/frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts@@ -1,37 +1,11 @@-export type InfrastructureWorkspaceView = 'inventory' | 'install' | 'platforms' | 'operations';-export type InfrastructureWorkspaceTabView = Exclude<InfrastructureWorkspaceView, 'operations'>;--export interface InfrastructureWorkspaceTabDefinition {- id: InfrastructureWorkspaceTabView;- label: string;- path: string;-}+export type InfrastructureWorkspaceView = 'inventory' | 'install' | 'platforms';const INFRASTRUCTURE_WORKSPACE_PATHS: Record<InfrastructureWorkspaceView, string> = {inventory: '/settings/infrastructure',install: '/settings/infrastructure/install',platforms: '/settings/infrastructure/platforms',- operations: '/settings/infrastructure/operations',};-export const INFRASTRUCTURE_WORKSPACE_TABS: readonly InfrastructureWorkspaceTabDefinition[] = [- {- id: 'inventory',- label: 'Systems',- path: INFRASTRUCTURE_WORKSPACE_PATHS.inventory,- },- {- id: 'platforms',- label: 'Connections',- path: INFRASTRUCTURE_WORKSPACE_PATHS.platforms,- },- {- id: 'install',- label: 'Install',- path: INFRASTRUCTURE_WORKSPACE_PATHS.install,- },-];-export function getInfrastructureWorkspaceViewFromPath(pathname: string,): InfrastructureWorkspaceView {@@ -46,9 +20,6 @@ export function getInfrastructureWorkspaceViewFromPath(if (pathname.startsWith('/settings/infrastructure/install')) {return 'install';}- if (pathname.startsWith('/settings/infrastructure/operations')) {- return 'operations';- }return 'inventory';}diff --git a/frontend-modern/src/components/Settings/settingsHeaderMeta.ts b/frontend-modern/src/components/Settings/settingsHeaderMeta.tsindex 19e0055a67..8a44d13f90 100644--- a/frontend-modern/src/components/Settings/settingsHeaderMeta.ts+++ b/frontend-modern/src/components/Settings/settingsHeaderMeta.ts@@ -7,15 +7,20 @@ import {} from '@/utils/aiSettingsPresentation';export const SETTINGS_HEADER_META: SettingsHeaderMetaMap = {- proxmox: {- title: 'Proxmox',+ 'infrastructure-systems': {+ title: 'Systems',description:- 'Add and manage Proxmox VE, Backup Server, and Mail Gateway connections when the unified agent is not available on the host.',+ `Review top-level monitored systems and how Pulse is collecting data from each one. ${SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral}`,},- 'infrastructure-operations': {- title: 'Infrastructure',+ 'infrastructure-connections': {+ title: 'Connections',description:- `Review top-level monitored systems, open install or platform connection workflows when needed, and control how Pulse collects infrastructure data. ${SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral}`,+ 'Manage API-backed platform connections for Proxmox, TrueNAS, and VMware without mixing them into the monitored systems ledger.',+ },+ 'infrastructure-install': {+ title: 'Install',+ description:+ 'Generate install tokens and copy unified agent commands for Linux, macOS, FreeBSD, and Windows.',},'system-general': {title: 'General',diff --git a/frontend-modern/src/components/Settings/settingsNavCatalog.ts b/frontend-modern/src/components/Settings/settingsNavCatalog.tsindex 53282f3296..cadf4d991e 100644--- a/frontend-modern/src/components/Settings/settingsNavCatalog.ts+++ b/frontend-modern/src/components/Settings/settingsNavCatalog.ts@@ -5,7 +5,9 @@ import Lock from 'lucide-solid/icons/lock';import Key from 'lucide-solid/icons/key';import Activity from 'lucide-solid/icons/activity';import Network from 'lucide-solid/icons/network';-import Bot from 'lucide-solid/icons/bot';+import Server from 'lucide-solid/icons/server';+import PlugZap from 'lucide-solid/icons/plug-zap';+import Download from 'lucide-solid/icons/download';import Users from 'lucide-solid/icons/users';import Sliders from 'lucide-solid/icons/sliders-horizontal';import RefreshCw from 'lucide-solid/icons/refresh-cw';@@ -32,11 +34,25 @@ export const SETTINGS_NAV_GROUPS: SettingsNavGroup[] = [label: 'Infrastructure',items: [{- id: 'infrastructure-operations',- label: 'Infrastructure',- icon: Bot,+ id: 'infrastructure-systems',+ label: 'Systems',+ icon: Server,iconProps: { strokeWidth: 2 },},+ {+ id: 'infrastructure-connections',+ label: 'Connections',+ icon: PlugZap,+ iconProps: { strokeWidth: 2 },+ hideWhenReadOnly: true,+ },+ {+ id: 'infrastructure-install',+ label: 'Install',+ icon: Download,+ iconProps: { strokeWidth: 2 },+ hideWhenReadOnly: true,+ },],},{diff --git a/frontend-modern/src/components/Settings/settingsNavVisibility.ts b/frontend-modern/src/components/Settings/settingsNavVisibility.tsindex 2b438d635a..e451298770 100644--- a/frontend-modern/src/components/Settings/settingsNavVisibility.ts+++ b/frontend-modern/src/components/Settings/settingsNavVisibility.ts@@ -8,6 +8,7 @@ export interface SettingsNavVisibilityContext {runtimeCapabilitiesLoaded: () => boolean;presentationPolicyHidesCommercial?: boolean;presentationPolicyIsDemoMode?: boolean;+ presentationPolicyIsReadOnly?: boolean;presentationPolicyHidesOrganizations?: boolean;presentationPolicyResolved?: boolean;hostedModeEnabled?: boolean;@@ -64,6 +65,16 @@ export function shouldHideSettingsNavItem(}}+ if (item.hideWhenReadOnly) {+ if (context.presentationPolicyResolved === false) {+ return true;+ }++ if (context.presentationPolicyIsReadOnly) {+ return true;+ }+ }+if (item.requiredCapability &&context.settingsCapabilitiesResolved &&diff --git a/frontend-modern/src/components/Settings/settingsNavigationModel.ts b/frontend-modern/src/components/Settings/settingsNavigationModel.tsindex be16013621..40a1f35900 100644--- a/frontend-modern/src/components/Settings/settingsNavigationModel.ts+++ b/frontend-modern/src/components/Settings/settingsNavigationModel.ts@@ -8,8 +8,9 @@ import {} from '@/utils/pricingHandoff';export type SettingsTab =- | 'proxmox'- | 'infrastructure-operations'+ | 'infrastructure-systems'+ | 'infrastructure-connections'+ | 'infrastructure-install'| 'system-general'| 'system-network'| 'system-updates'@@ -34,6 +35,11 @@ export type SettingsTab =| 'security-audit'| 'security-webhooks';+export type InfrastructureSettingsTab = Extract<+ SettingsTab,+ 'infrastructure-systems' | 'infrastructure-connections' | 'infrastructure-install'+>;+export type AgentKey = 'pve' | 'pbs' | 'pmg';export type ProxmoxPlatformType = Extract<PlatformType,@@ -60,6 +66,7 @@ export interface SettingsNavItem {hideWhenCommercialHidden?: boolean;hideWhenOrganizationHidden?: boolean;hideWhenDemoMode?: boolean;+ hideWhenReadOnly?: boolean;requiredCapability?: keyof SecurityStatusSettingsCapabilities;badge?: string;features?: string[];@@ -80,8 +87,8 @@ export interface SettingsHeaderMeta {export type SettingsHeaderMetaMap = Record<SettingsTab, SettingsHeaderMeta>;// Default landing tab for /settings when no deep-link tab is provided.-export const DEFAULT_SETTINGS_TAB: SettingsTab = 'infrastructure-operations';-const LEGACY_INFRASTRUCTURE_PREFIX = '/settings/infrastructure';+export const DEFAULT_SETTINGS_TAB: SettingsTab = 'infrastructure-systems';+const INFRASTRUCTURE_SYSTEMS_PREFIX = '/settings/infrastructure';const LEGACY_AGENTS_PREFIX = '/settings/workloads';const LEGACY_DOCKER_PREFIX = '/settings/workloads/docker';const INFRASTRUCTURE_INSTALL_PREFIX = '/settings/infrastructure/install';@@ -95,6 +102,8 @@ const TRUENAS_PREFIX = `${PLATFORM_CONNECTIONS_PREFIX}/truenas`;const PROXMOX_PREFIX = `${PLATFORM_CONNECTIONS_PREFIX}/proxmox`;const LEGACY_PROXMOX_PREFIX = '/settings/infrastructure/proxmox';const LEGACY_PROXMOX_API_PREFIX = '/settings/infrastructure/api';+const LEGACY_TRUENAS_PREFIX = '/settings/infrastructure/truenas';+const LEGACY_VMWARE_PREFIX = '/settings/infrastructure/vmware';const LEGACY_INTEGRATIONS_API_PREFIX = '/settings/integrations/api';const LEGACY_SETTINGS_OPERATIONS_PREFIX = '/settings/operations';const SECURITY_API_PREFIX = '/settings/security/api';@@ -148,12 +157,18 @@ export function resolveCanonicalSettingsPath(path: string): string | null {if (normalizedPath === LEGACY_AGENTS_PREFIX) {return settingsTabPath(DEFAULT_SETTINGS_TAB);}- if (normalizedPath === LEGACY_INFRASTRUCTURE_PREFIX) {+ if (normalizedPath === INFRASTRUCTURE_SYSTEMS_PREFIX) {return settingsTabPath(DEFAULT_SETTINGS_TAB);}if (normalizedPath === PLATFORM_CONNECTIONS_PREFIX) {return PLATFORM_CONNECTIONS_PREFIX;}+ if (normalizedPath === INFRASTRUCTURE_INSTALL_PREFIX) {+ return INFRASTRUCTURE_INSTALL_PREFIX;+ }+ if (normalizedPath === INFRASTRUCTURE_OPERATIONS_PREFIX) {+ return INFRASTRUCTURE_SYSTEMS_PREFIX;+ }if (normalizedPath === LEGACY_DOCKER_PREFIX) {return settingsTabPath(DEFAULT_SETTINGS_TAB);}@@ -172,16 +187,19 @@ export function resolveCanonicalSettingsPath(path: string): string | null {if (normalizedPath === LEGACY_PROXMOX_PREFIX) {return PROXMOX_PREFIX;}- if (normalizedPath === '/settings/infrastructure/truenas') {+ if (normalizedPath === LEGACY_TRUENAS_PREFIX) {return TRUENAS_PREFIX;}- if (normalizedPath === `${LEGACY_INFRASTRUCTURE_PREFIX}/pve`) {+ if (normalizedPath === LEGACY_VMWARE_PREFIX) {+ return `${PLATFORM_CONNECTIONS_PREFIX}/vmware`;+ }+ if (normalizedPath === `${INFRASTRUCTURE_SYSTEMS_PREFIX}/pve`) {return `${PROXMOX_PREFIX}/pve`;}- if (normalizedPath === `${LEGACY_INFRASTRUCTURE_PREFIX}/pbs`) {+ if (normalizedPath === `${INFRASTRUCTURE_SYSTEMS_PREFIX}/pbs`) {return `${PROXMOX_PREFIX}/pbs`;}- if (normalizedPath === `${LEGACY_INFRASTRUCTURE_PREFIX}/pmg`) {+ if (normalizedPath === `${INFRASTRUCTURE_SYSTEMS_PREFIX}/pmg`) {return `${PROXMOX_PREFIX}/pmg`;}if (normalizedPath === `${LEGACY_PROXMOX_API_PREFIX}/pve`) {@@ -219,20 +237,26 @@ export function deriveTabFromPath(path: string): SettingsTab {if (canonicalPath === '/settings') return DEFAULT_SETTINGS_TAB;if (- canonicalPath === LEGACY_INFRASTRUCTURE_PREFIX ||- canonicalPath === INFRASTRUCTURE_INSTALL_PREFIX ||- canonicalPath === PLATFORM_CONNECTIONS_PREFIX ||- canonicalPath === INFRASTRUCTURE_OPERATIONS_PREFIX+ canonicalPath === INFRASTRUCTURE_SYSTEMS_PREFIX ||+ canonicalPath === LEGACY_AGENTS_PREFIX ||+ canonicalPath === LEGACY_DOCKER_PREFIX) {- return 'infrastructure-operations';+ return 'infrastructure-systems';+ }+ if (canonicalPath === INFRASTRUCTURE_INSTALL_PREFIX) {+ return 'infrastructure-install';}if (- canonicalPath.includes(PROXMOX_PREFIX) ||- canonicalPath.includes(TRUENAS_PREFIX) ||- canonicalPath.includes(LEGACY_PROXMOX_PREFIX) ||- canonicalPath.includes(LEGACY_PROXMOX_API_PREFIX)+ canonicalPath === PLATFORM_CONNECTIONS_PREFIX ||+ canonicalPath.startsWith(PROXMOX_PREFIX) ||+ canonicalPath.startsWith(TRUENAS_PREFIX) ||+ canonicalPath.startsWith(`${PLATFORM_CONNECTIONS_PREFIX}/vmware`) ||+ canonicalPath.startsWith(LEGACY_PROXMOX_PREFIX) ||+ canonicalPath.startsWith(LEGACY_PROXMOX_API_PREFIX) ||+ canonicalPath.startsWith(LEGACY_TRUENAS_PREFIX) ||+ canonicalPath.startsWith(LEGACY_VMWARE_PREFIX))- return 'infrastructure-operations';+ return 'infrastructure-connections';if (canonicalPath.includes('/settings/system-general')) return 'system-general';if (canonicalPath.includes('/settings/system-network')) return 'system-network';@@ -327,9 +351,13 @@ export function deriveTabFromQuery(search: string): SettingsTab | null {case 'infrastructure':case 'workloads':case 'agents':- return 'infrastructure-operations';+ return 'infrastructure-systems';+ case 'connections':+ case 'platforms':case 'proxmox':- return 'proxmox';+ return 'infrastructure-connections';+ case 'install':+ return 'infrastructure-install';case 'system-recovery':return 'system-recovery';case 'system-updates':@@ -357,7 +385,7 @@ export function deriveTabFromQuery(search: string): SettingsTab | null {case 'api':return 'api';case 'docker':- return 'infrastructure-operations';+ return 'infrastructure-systems';case 'organization-overview':return 'organization-overview';case 'organization-access':@@ -389,10 +417,12 @@ export function deriveTabFromQuery(search: string): SettingsTab | null {export function settingsTabPath(tab: SettingsTab): string {switch (tab) {- case 'proxmox':- return PROXMOX_PREFIX;- case 'infrastructure-operations':- return LEGACY_INFRASTRUCTURE_PREFIX;+ case 'infrastructure-systems':+ return INFRASTRUCTURE_SYSTEMS_PREFIX;+ case 'infrastructure-connections':+ return PLATFORM_CONNECTIONS_PREFIX;+ case 'infrastructure-install':+ return INFRASTRUCTURE_INSTALL_PREFIX;case 'system-recovery':return '/settings/system-recovery';case 'organization-overview':@@ -422,6 +452,14 @@ export function settingsTabPath(tab: SettingsTab): string {}}+export function isInfrastructureSettingsTab(tab: SettingsTab): tab is InfrastructureSettingsTab {+ return (+ tab === 'infrastructure-systems' ||+ tab === 'infrastructure-connections' ||+ tab === 'infrastructure-install'+ );+}+export function buildLegacyOperationsSettingsPath(path: string): string {const normalizedPath = normalizeSettingsPath(path);diff --git a/frontend-modern/src/components/Settings/settingsPanelRegistry.ts b/frontend-modern/src/components/Settings/settingsPanelRegistry.tsindex d8abb7b806..4c159a19fb 100644--- a/frontend-modern/src/components/Settings/settingsPanelRegistry.ts+++ b/frontend-modern/src/components/Settings/settingsPanelRegistry.ts@@ -20,7 +20,7 @@ export interface SettingsPanelRegistryEntry {getProps?: () => object;}-export type SettingsDispatchableTab = Exclude<SettingsTab, 'proxmox'>;+export type SettingsDispatchableTab = SettingsTab;export type SettingsPanelRegistry = Record<SettingsDispatchableTab, SettingsPanelRegistryEntry>;@@ -47,7 +47,15 @@ export interface SettingsPanelRegistryContext {export const createSettingsPanelRegistry = (context: SettingsPanelRegistryContext,): SettingsPanelRegistry => ({- 'infrastructure-operations': {+ 'infrastructure-systems': {+ component: SETTINGS_PANEL_REGISTRY_LOADERS.InfrastructureWorkspace,+ getProps: context.getInfrastructurePanelProps,+ },+ 'infrastructure-connections': {+ component: SETTINGS_PANEL_REGISTRY_LOADERS.InfrastructureWorkspace,+ getProps: context.getInfrastructurePanelProps,+ },+ 'infrastructure-install': {component: SETTINGS_PANEL_REGISTRY_LOADERS.InfrastructureWorkspace,getProps: context.getInfrastructurePanelProps,},diff --git a/frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts b/frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.tsindex 28b45b3600..c85e76d6db 100644--- a/frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts+++ b/frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts@@ -492,7 +492,7 @@ export const useInfrastructureDiscoveryRuntimeState = ({discoveryInterval = undefined;}- if (currentTab() === 'infrastructure-operations') {+ if (currentTab() === 'infrastructure-connections') {discoveryInterval = setInterval(() => {void loadDiscoveredNodes();}, 30000);diff --git a/frontend-modern/src/components/Settings/useSettingsAccess.ts b/frontend-modern/src/components/Settings/useSettingsAccess.tsindex 488430afb4..cc13a007c0 100644--- a/frontend-modern/src/components/Settings/useSettingsAccess.ts+++ b/frontend-modern/src/components/Settings/useSettingsAccess.ts@@ -3,6 +3,7 @@ import {presentationPolicyHidesCommercialSurfaces,presentationPolicyHidesOrganizationSurfaces,presentationPolicyIsDemoMode,+ presentationPolicyIsReadOnly,sessionPresentationPolicyResolved,syncSessionPresentationPolicy,} from '@/stores/sessionPresentationPolicy';@@ -61,6 +62,13 @@ export function useSettingsAccess({}return presentationPolicyHidesOrganizationSurfaces();});+ const readOnly = createMemo(() => {+ const resolvedSecurityStatus = securityStatus();+ if (resolvedSecurityStatus) {+ return resolvedSecurityStatus.presentationPolicy?.readOnly === true || demoMode();+ }+ return presentationPolicyIsReadOnly();+ });const visibleTabGroups = createMemo(() => {const hostedModeEnabled = isHostedModeEnabled();@@ -77,6 +85,7 @@ export function useSettingsAccess({runtimeCapabilitiesLoaded,presentationPolicyHidesCommercial: commercialSurfacesHidden(),presentationPolicyIsDemoMode: demoMode(),+ presentationPolicyIsReadOnly: readOnly(),presentationPolicyHidesOrganizations: organizationSurfacesHidden(),presentationPolicyResolved: presentationPolicyResolved(),hostedModeEnabled,@@ -116,7 +125,8 @@ export function useSettingsAccess({const requiresCapabilityResolution = Boolean(getSettingsNavItem(current)?.requiredCapability);const requiresPresentationPolicyResolution = Boolean(getSettingsNavItem(current)?.hideWhenCommercialHidden ||- getSettingsNavItem(current)?.hideWhenOrganizationHidden,+ getSettingsNavItem(current)?.hideWhenOrganizationHidden ||+ getSettingsNavItem(current)?.hideWhenReadOnly,);if ((requiresFeatureResolution && !runtimeCapabilitiesLoaded()) ||diff --git a/frontend-modern/src/components/Settings/useSettingsNavigation.ts b/frontend-modern/src/components/Settings/useSettingsNavigation.tsindex 6cf2d1a3a8..0f739ef9ec 100644--- a/frontend-modern/src/components/Settings/useSettingsNavigation.ts+++ b/frontend-modern/src/components/Settings/useSettingsNavigation.ts@@ -7,6 +7,7 @@ import {deriveAgentFromPath,deriveTabFromPath,deriveTabFromQuery,+ isInfrastructureSettingsTab,isProxmoxSettingsPath,resolveCanonicalSettingsPath,settingsAgentPath,@@ -15,8 +16,6 @@ import {type SettingsTab,} from './settingsNavigationModel';-type SettingsDispatchableTab = Exclude<SettingsTab, 'proxmox'>;-type SettingsLocation = {hash: string;pathname: string;@@ -41,20 +40,19 @@ export function useSettingsNavigation({ navigate, location }: UseSettingsNavigatderiveTabFromPath(location.pathname),);const resolveTabPath = (tab: SettingsTab): string =>- tab === 'infrastructure-operations' && presentationPolicyIsReadOnly()+ presentationPolicyIsReadOnly() &&+ isInfrastructureSettingsTab(tab) &&+ tab !== 'infrastructure-systems'? buildInfrastructureWorkspacePath('inventory'): settingsTabPath(tab);- const activeTab = (): SettingsDispatchableTab => {- const tab = currentTab();- return tab === 'proxmox' ? 'infrastructure-operations' : tab;- };+ const activeTab = (): SettingsTab => currentTab();const [selectedAgent, setSelectedAgent] = createSignal<AgentKey>('pve');const handleSelectAgent = (agent: AgentKey) => {setSelectedAgent(agent);- if (currentTab() !== 'proxmox') {- setCurrentTab('proxmox');+ if (currentTab() !== 'infrastructure-connections') {+ setCurrentTab('infrastructure-connections');}const target = settingsAgentPath(agent);if (target && location.pathname !== target) {@@ -63,7 +61,7 @@ export function useSettingsNavigation({ navigate, location }: UseSettingsNavigat};const setActiveTab = (tab: SettingsTab) => {- if (tab === 'proxmox' && deriveAgentFromPath(location.pathname) === null) {+ if (tab === 'infrastructure-connections' && deriveAgentFromPath(location.pathname) === null) {setSelectedAgent('pve');}// Eagerly update tab state so UI reflects the click immediately,@@ -95,10 +93,6 @@ export function useSettingsNavigation({ navigate, location }: UseSettingsNavigatif (currentTab() !== resolvedTab) {setCurrentTab(resolvedTab);}-- if (resolvedTab === 'proxmox') {- setSelectedAgent('pve');- }return;}@@ -115,6 +109,12 @@ export function useSettingsNavigation({ navigate, location }: UseSettingsNavigatif (presentationPolicyIsReadOnly() &&(path === '/settings/infrastructure' ||+ path.startsWith('/settings/infrastructure/platforms') ||+ path.startsWith('/settings/infrastructure/install') ||+ path.startsWith('/settings/infrastructure/proxmox') ||+ path.startsWith('/settings/infrastructure/api') ||+ path.startsWith('/settings/infrastructure/truenas') ||+ path.startsWith('/settings/infrastructure/vmware') ||path === '/settings/workloads' ||path === '/settings/workloads/docker')) {diff --git a/frontend-modern/src/components/Settings/useSettingsShellState.ts b/frontend-modern/src/components/Settings/useSettingsShellState.tsindex a9af6ffbb1..a6c8c692a3 100644--- a/frontend-modern/src/components/Settings/useSettingsShellState.ts+++ b/frontend-modern/src/components/Settings/useSettingsShellState.ts@@ -1,7 +1,7 @@import { Accessor, createMemo, createSignal } from 'solid-js';import { presentationPolicyIsReadOnly } from '@/stores/sessionPresentationPolicy';import { SETTINGS_HEADER_META } from './settingsHeaderMeta';-import type { SettingsTab } from './settingsNavigationModel';+import { isInfrastructureSettingsTab, type SettingsTab } from './settingsNavigationModel';interface UseSettingsShellStateParams {activeTab: Accessor<SettingsTab>;@@ -11,9 +11,9 @@ export function useSettingsShellState({ activeTab }: UseSettingsShellStateParamsconst headerMeta = createMemo(() => {const tab = activeTab();- if (tab === 'infrastructure-operations' && presentationPolicyIsReadOnly()) {+ if (isInfrastructureSettingsTab(tab) && presentationPolicyIsReadOnly()) {return {- title: 'Infrastructure',+ title: 'Systems',description:'Review the current top-level monitored systems and reporting posture. Setup changes stay unavailable in this read-only session.',};diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.pyindex 54b8d4fcbb..df732f4073 100644--- a/scripts/release_control/subsystem_lookup_test.py+++ b/scripts/release_control/subsystem_lookup_test.py@@ -3778,7 +3778,7 @@ class SubsystemLookupTest(unittest.TestCase):{"heading": "## Shared Boundaries","path": "internal/api/access_control_handlers.go",- "line": 115,+ "line": 116,"heading_line": 83,}],