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
Model infrastructure workspace routing
rcourtman70c03a0c15b0
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.mdindex 17b29aa310..bdbd3201b1 100644--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md@@ -37,23 +37,24 @@ management, and fleet control surfaces.13. `frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx`14. `frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx`15. `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`-16. `frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx`-17. `frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx`-18. `frontend-modern/src/components/Settings/ProxmoxDiscoveryResultsCard.tsx`-19. `frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx`-20. `frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx`-21. `frontend-modern/src/components/Settings/SettingsSectionNav.tsx`-22. `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`-23. `frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts`-24. `frontend-modern/src/components/Settings/UnifiedAgents.tsx`-25. `frontend-modern/src/components/Settings/NodeModal.tsx`-26. `frontend-modern/src/components/Settings/nodeModalModel.ts`-27. `frontend-modern/src/components/Settings/useNodeModalState.ts`-28. `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`-29. `frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx`-30. `frontend-modern/src/utils/agentProfilesPresentation.ts`-31. `frontend-modern/src/utils/agentInstallCommand.ts`-32. `frontend-modern/src/api/nodes.ts`+16. `frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts`+17. `frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx`+18. `frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx`+19. `frontend-modern/src/components/Settings/ProxmoxDiscoveryResultsCard.tsx`+20. `frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx`+21. `frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx`+22. `frontend-modern/src/components/Settings/SettingsSectionNav.tsx`+23. `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`+24. `frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts`+25. `frontend-modern/src/components/Settings/UnifiedAgents.tsx`+26. `frontend-modern/src/components/Settings/NodeModal.tsx`+27. `frontend-modern/src/components/Settings/nodeModalModel.ts`+28. `frontend-modern/src/components/Settings/useNodeModalState.ts`+29. `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`+30. `frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx`+31. `frontend-modern/src/utils/agentProfilesPresentation.ts`+32. `frontend-modern/src/utils/agentInstallCommand.ts`+33. `frontend-modern/src/api/nodes.ts`## Shared Boundaries@@ -80,7 +81,7 @@ management, and fleet control surfaces.3. Add or change runtime-side Unified Agent startup, first-report assembly, and enroll/runtime continuity through `internal/hostagent/`.4. Keep legacy Unified Agent compatibility names explicitly secondary when touching shared `internal/api/` runtime helpers: the legacy host-route family and `host-agent:*` scope names may remain as ingress or migration aliases, but they must not retake primary ownership in router state, live runtime scope checks, handler commentary, or operator-facing guidance.5. Add or change installer flags, persisted service arguments, or upgrade-safe re-entry behavior through `scripts/install.sh` and `scripts/install.ps1`.-6. Add or change profile management, the extracted agent profiles runtime owner, the pure unified-agent inventory/install model, the direct Proxmox workspace shell and section owners, shared frontend install-command assembly, Proxmox setup/install API transport, setup-completion install handoff transport, deploy-fallback manual install transport, and fleet-control presentation through `frontend-modern/src/api/agentProfiles.ts`, `frontend-modern/src/api/nodes.ts`, `frontend-modern/src/components/Settings/AgentProfilesPanel.tsx`, `frontend-modern/src/components/Settings/useAgentProfilesPanelState.ts`, `frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx`, `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`, `frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx`, `frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx`, `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`, `frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx`, `frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx`, `frontend-modern/src/components/Settings/ProxmoxDiscoveryResultsCard.tsx`, `frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx`, `frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx`, `frontend-modern/src/components/Settings/SettingsSectionNav.tsx`, `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts`, `frontend-modern/src/components/Settings/NodeModal.tsx`, `frontend-modern/src/components/Settings/nodeModalModel.ts`, `frontend-modern/src/components/Settings/useNodeModalState.ts`, `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`, `frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx`, and `frontend-modern/src/utils/agentInstallCommand.ts`.+6. Add or change profile management, the extracted agent profiles runtime owner, the pure unified-agent inventory/install model, the direct Proxmox workspace shell, route model, and section owners, shared frontend install-command assembly, Proxmox setup/install API transport, setup-completion install handoff transport, deploy-fallback manual install transport, and fleet-control presentation through `frontend-modern/src/api/agentProfiles.ts`, `frontend-modern/src/api/nodes.ts`, `frontend-modern/src/components/Settings/AgentProfilesPanel.tsx`, `frontend-modern/src/components/Settings/useAgentProfilesPanelState.ts`, `frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx`, `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`, `frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx`, `frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx`, `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`, `frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts`, `frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx`, `frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx`, `frontend-modern/src/components/Settings/ProxmoxDiscoveryResultsCard.tsx`, `frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx`, `frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx`, `frontend-modern/src/components/Settings/SettingsSectionNav.tsx`, `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts`, `frontend-modern/src/components/Settings/NodeModal.tsx`, `frontend-modern/src/components/Settings/nodeModalModel.ts`, `frontend-modern/src/components/Settings/useNodeModalState.ts`, `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`, `frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx`, and `frontend-modern/src/utils/agentInstallCommand.ts`.## Forbidden Paths@@ -149,6 +150,7 @@ fallback, canonical /api/auto-register behavior, and hosted org install-commandcontracts instead of leaving those guarantees implied by generic API ownership.The direct Proxmox fallback workspace now also lives explicitly inside thislifecycle boundary: `InfrastructureWorkspace.tsx`,+`infrastructureWorkspaceModel.ts`,`InfrastructureInstallPanel.tsx`, `InfrastructureReportingPanel.tsx`,`ProxmoxSettingsPanel.tsx`, `ProxmoxDirectConnectionsCard.tsx`,`ProxmoxDiscoveryResultsCard.tsx`, `ProxmoxDeleteNodeDialog.tsx`,diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.jsonindex 5e86e3746d..4607e2c21b 100644--- a/docs/release-control/v6/internal/subsystems/registry.json+++ b/docs/release-control/v6/internal/subsystems/registry.json@@ -374,6 +374,7 @@"frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx","frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx","frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx",+ "frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts","frontend-modern/src/components/Settings/NodeModal.tsx","frontend-modern/src/components/Settings/nodeModalModel.ts","frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx",@@ -607,6 +608,7 @@"frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx","frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx","frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx",+ "frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts","frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx","frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx","frontend-modern/src/components/Settings/ProxmoxDiscoveryResultsCard.tsx",diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsxindex 3ad0dfd030..83e8acfd85 100644--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx@@ -1,47 +1,26 @@-import { Component, createEffect, createSignal, Match, Switch } from 'solid-js';+import { Component, Match, Switch, createMemo } from 'solid-js';import { useLocation, useNavigate } from '@solidjs/router';import { Card } from '@/components/shared/Card';import { Subtabs } from '@/components/shared/Subtabs';import { InfrastructureInstallPanel } from './InfrastructureInstallPanel';import { InfrastructureReportingPanel } from './InfrastructureReportingPanel';import { ProxmoxSettingsPanel, type ProxmoxSettingsPanelProps } from './ProxmoxSettingsPanel';--type InfrastructureWorkspaceView = 'install' | 'direct' | 'inventory';--const inferViewFromPath = (pathname: string): InfrastructureWorkspaceView =>- pathname.startsWith('/settings/infrastructure/proxmox')- ? 'direct'- : pathname.startsWith('/settings/infrastructure/install')- ? 'install'- : 'inventory';+import {+ INFRASTRUCTURE_WORKSPACE_TABS,+ buildInfrastructureWorkspacePath,+ getInfrastructureWorkspaceViewFromPath,+ type InfrastructureWorkspaceView,+} from './infrastructureWorkspaceModel';export type InfrastructureWorkspaceProps = ProxmoxSettingsPanelProps;export const InfrastructureWorkspace: Component<InfrastructureWorkspaceProps> = (props) => {const navigate = useNavigate();const location = useLocation();- const [activeView, setActiveView] = createSignal<InfrastructureWorkspaceView>(- inferViewFromPath(location.pathname),- );-- createEffect(() => {- if (location.pathname.startsWith('/settings/infrastructure/proxmox')) {- setActiveView('direct');- }- });+ const activeView = createMemo(() => getInfrastructureWorkspaceViewFromPath(location.pathname));- const openView = (view: InfrastructureWorkspaceView) => {- setActiveView(view);- if (view === 'direct') {- navigate('/settings/infrastructure/proxmox');- return;- }- if (view === 'install') {- navigate('/settings/infrastructure/install');- return;- }- navigate('/settings/infrastructure/operations');- };+ const openView = (view: InfrastructureWorkspaceView) =>+ navigate(buildInfrastructureWorkspacePath(view));return (<div class="space-y-6">@@ -64,11 +43,10 @@ export const InfrastructureWorkspace: Component<InfrastructureWorkspaceProps> =value={activeView()}onChange={(value) => openView(value as InfrastructureWorkspaceView)}ariaLabel="Infrastructure workspace"- tabs={[- { value: 'install', label: 'Install on a host' },- { value: 'direct', label: 'Direct Proxmox' },- { value: 'inventory', label: 'Reporting & control' },- ]}+ tabs={INFRASTRUCTURE_WORKSPACE_TABS.map((tab) => ({+ value: tab.id,+ label: tab.label,+ }))}/></div>diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsxindex 42a6fabf3f..3a567f3c48 100644--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx@@ -83,6 +83,17 @@ describe('InfrastructureWorkspace', () => {expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure/proxmox');});+ it('renders the direct workspace from the router pathname', () => {+ mockPathname = '/settings/infrastructure/proxmox';+ renderWorkspace();++ expect(screen.getByRole('tab', { name: 'Direct Proxmox' })).toHaveAttribute(+ 'aria-selected',+ 'true',+ );+ expect(screen.getByTestId('proxmox-settings')).toBeInTheDocument();+ });+it('returns to the base settings route when switching away from direct proxmox', () => {mockPathname = '/settings/infrastructure/proxmox';renderWorkspace();@@ -90,6 +101,5 @@ describe('InfrastructureWorkspace', () => {fireEvent.click(screen.getByRole('tab', { name: 'Reporting & control' }));expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure/operations');- expect(screen.getByTestId('agent-profiles')).toBeInTheDocument();});});diff --git a/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts b/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.tsindex 63f073d34b..7346022e68 100644--- a/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts@@ -16,6 +16,8 @@ import auditLogPanelSource from '../AuditLogPanel.tsx?raw';import auditWebhookPanelSource from '../AuditWebhookPanel.tsx?raw';import systemSettingsStateSource from '../useSystemSettingsState.ts?raw';import infrastructureSettingsStateSource from '../useInfrastructureSettingsState.ts?raw';+import infrastructureWorkspaceSource from '../InfrastructureWorkspace.tsx?raw';+import infrastructureWorkspaceModelSource from '../infrastructureWorkspaceModel.ts?raw';import settingsPanelRegistrySource from '../useSettingsPanelRegistry.tsx?raw';import infrastructureSummarySource from '@/components/Infrastructure/InfrastructureSummary.tsx?raw';import infrastructureSelectorComponentSource from '@/components/shared/InfrastructureSelector.tsx?raw';@@ -514,6 +516,22 @@ describe('monitored-system model guardrails', () => {expect(upgradePresentationSource).toContain('export function getUpgradeActionButtonClass');});+ it('keeps the infrastructure workspace on router-derived view state', () => {+ expect(infrastructureWorkspaceSource).toContain('./infrastructureWorkspaceModel');+ expect(infrastructureWorkspaceSource).not.toContain('createSignal<InfrastructureWorkspaceView>');+ expect(infrastructureWorkspaceSource).not.toContain('setActiveView(');+ expect(infrastructureWorkspaceSource).not.toContain("navigate('/settings/infrastructure/proxmox')");+ expect(infrastructureWorkspaceModelSource).toContain(+ 'export function getInfrastructureWorkspaceViewFromPath',+ );+ expect(infrastructureWorkspaceModelSource).toContain(+ "pathname.startsWith('/settings/infrastructure/proxmox')",+ );+ expect(infrastructureWorkspaceModelSource).toContain(+ "path: '/settings/infrastructure/operations'",+ );+ });+it('keeps websocket State contract resource-first without legacy per-type arrays', () => {expect(apiTypesSource).toContain('export interface State {');expect(apiTypesSource).toContain('resources: Resource[]');diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex 93c3f2979b..7da18b661d 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -2,6 +2,7 @@ import { describe, expect, it } from 'vitest';import settingsSource from '../Settings.tsx?raw';import settingsShellSource from '../SettingsPageShell.tsx?raw';import infrastructureWorkspaceSource from '../InfrastructureWorkspace.tsx?raw';+import infrastructureWorkspaceModelSource from '../infrastructureWorkspaceModel.ts?raw';import infrastructureInstallPanelSource from '../InfrastructureInstallPanel.tsx?raw';import infrastructureOperationsControllerSource from '../InfrastructureOperationsController.tsx?raw';import infrastructureOperationsModelSource from '../infrastructureOperationsModel.tsx?raw';@@ -78,6 +79,7 @@ const extractedModules = ['../nodeModalModel.ts','../useNodeModalState.ts','../InfrastructureWorkspace.tsx',+ '../infrastructureWorkspaceModel.ts','../InfrastructureInstallPanel.tsx','../InfrastructureReportingPanel.tsx','../AIProviderConfigurationSection.tsx',@@ -347,6 +349,9 @@ describe('Settings architecture guardrails', () => {expect(infrastructureWorkspaceSource).not.toMatch(/<h[12][^>]*>/);expect(infrastructureWorkspaceSource).not.toContain('Add and manage infrastructure');expect(infrastructureWorkspaceSource).not.toContain('tracking-[0.22em]');+ expect(infrastructureWorkspaceSource).toContain('./infrastructureWorkspaceModel');+ expect(infrastructureWorkspaceSource).not.toContain('createSignal<InfrastructureWorkspaceView>');+ expect(infrastructureWorkspaceSource).not.toContain('createEffect(() =>');expect(infrastructureWorkspaceSource).toContain('InfrastructureInstallPanel');expect(infrastructureWorkspaceSource).toContain('InfrastructureReportingPanel');expect(infrastructureInstallPanelSource).toContain('useInfrastructureOperationsState');@@ -355,6 +360,15 @@ describe('Settings architecture guardrails', () => {expect(infrastructureOperationsStateSource).toContain('export const useInfrastructureOperationsState',);+ expect(infrastructureWorkspaceModelSource).toContain(+ 'export const INFRASTRUCTURE_WORKSPACE_TABS',+ );+ expect(infrastructureWorkspaceModelSource).toContain(+ 'export function getInfrastructureWorkspaceViewFromPath',+ );+ expect(infrastructureWorkspaceModelSource).toContain(+ 'export function buildInfrastructureWorkspacePath',+ );expect(infrastructureInstallPanelSource).not.toContain('<PageHeader');expect(infrastructureReportingPanelSource).not.toContain('<PageHeader');});diff --git a/frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts b/frontend-modern/src/components/Settings/infrastructureWorkspaceModel.tsnew file mode 100644index 0000000000..5b2d3774b3--- /dev/null+++ b/frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts@@ -0,0 +1,46 @@+export type InfrastructureWorkspaceView = 'install' | 'direct' | 'inventory';++export interface InfrastructureWorkspaceTabDefinition {+ id: InfrastructureWorkspaceView;+ label: string;+ path: string;+}++export const INFRASTRUCTURE_WORKSPACE_TABS: readonly InfrastructureWorkspaceTabDefinition[] = [+ {+ id: 'install',+ label: 'Install on a host',+ path: '/settings/infrastructure/install',+ },+ {+ id: 'direct',+ label: 'Direct Proxmox',+ path: '/settings/infrastructure/proxmox',+ },+ {+ id: 'inventory',+ label: 'Reporting & control',+ path: '/settings/infrastructure/operations',+ },+];++export function getInfrastructureWorkspaceViewFromPath(+ pathname: string,+): InfrastructureWorkspaceView {+ if (pathname.startsWith('/settings/infrastructure/proxmox')) {+ return 'direct';+ }+ if (pathname.startsWith('/settings/infrastructure/install')) {+ return 'install';+ }+ return 'inventory';+}++export function buildInfrastructureWorkspacePath(+ view: InfrastructureWorkspaceView,+): string {+ return (+ INFRASTRUCTURE_WORKSPACE_TABS.find((tab) => tab.id === view)?.path ??+ '/settings/infrastructure/operations'+ );+}diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.tsindex c6dd834ea7..ced4c7df3c 100644--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts@@ -198,6 +198,8 @@ import pmgThreatPresentationSource from '@/utils/pmgThreatPresentation.ts?raw';import pmgQueuePresentationSource from '@/utils/pmgQueuePresentation.ts?raw';import pmgServiceHealthBadgeSource from '@/components/PMG/ServiceHealthBadge.tsx?raw';import proxmoxSettingsPanelSource from '@/components/Settings/ProxmoxSettingsPanel.tsx?raw';+import infrastructureWorkspaceSource from '@/components/Settings/InfrastructureWorkspace.tsx?raw';+import infrastructureWorkspaceModelSource from '@/components/Settings/infrastructureWorkspaceModel.ts?raw';import proxmoxSettingsPresentationSource from '@/utils/proxmoxSettingsPresentation.ts?raw';import generalSettingsPanelSource from '@/components/Settings/GeneralSettingsPanel.tsx?raw';import nodeModalModelSource from '@/components/Settings/nodeModalModel.ts?raw';@@ -2154,6 +2156,16 @@ describe('frontend resource type boundaries', () => {expect(proxmoxSettingsPresentationSource).toContain('export function buildProxmoxDiscoveryPrefillNode',);+ expect(infrastructureWorkspaceSource).toContain(+ '@/components/Settings/infrastructureWorkspaceModel'.replace('@/components/Settings/', './'),+ );+ expect(infrastructureWorkspaceSource).not.toContain('inferViewFromPath');+ expect(infrastructureWorkspaceModelSource).toContain(+ 'export function getInfrastructureWorkspaceViewFromPath',+ );+ expect(infrastructureWorkspaceModelSource).toContain(+ 'export function buildInfrastructureWorkspacePath',+ );expect(nodeModalSource).toContain('getNodeProductName');expect(nodeModalSource).toContain('getNodeEndpointPlaceholder');expect(nodeModalSource).toContain('getNodeGuestUrlPlaceholder');diff --git a/scripts/release_control/canonical_completion_guard_test.py b/scripts/release_control/canonical_completion_guard_test.pyindex 4073332657..826eb9c1ad 100644--- a/scripts/release_control/canonical_completion_guard_test.py+++ b/scripts/release_control/canonical_completion_guard_test.py@@ -1880,6 +1880,11 @@ class CanonicalCompletionGuardTest(unittest.TestCase):"frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts")+ def test_infrastructure_workspace_model_change_requires_agent_lifecycle(self):+ self._assert_direct_proxmox_workspace_change_requires_agent_lifecycle(+ "frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts"+ )+def test_agent_install_backend_change_requires_lifecycle_and_api_contracts(self):required = infer_impacted_subsystems(["internal/api/agent_install_command_shared.go"])self.assertEqual(set(required), {"agent-lifecycle", "api-contracts"})diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.pyindex 4114766f1d..54c5799504 100644--- a/scripts/release_control/subsystem_lookup_test.py+++ b/scripts/release_control/subsystem_lookup_test.py@@ -1253,6 +1253,42 @@ class SubsystemLookupTest(unittest.TestCase):],)+ def test_lookup_paths_assigns_infrastructure_workspace_model_to_agent_lifecycle(self) -> None:+ result = lookup_paths(+ ["frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts"]+ )+ self.assertEqual(result["unowned_runtime_files"], [])+ self.assertEqual(+ {item["subsystem"] for item in result["impacted_subsystems"]},+ {"agent-lifecycle"},+ )+ file_entry = result["files"][0]+ self.assertEqual(file_entry["classification"], "runtime")+ self.assertEqual(+ {match["subsystem"] for match in file_entry["matches"]},+ {"agent-lifecycle"},+ )+ match = file_entry["matches"][0]+ self.assertEqual(+ match["contract"],+ "docs/release-control/v6/internal/subsystems/agent-lifecycle.md",+ )+ self.assertEqual(match["lane_context"]["lane_id"], "L16")+ self.assertEqual(+ match["verification_requirement"]["id"],+ "direct-proxmox-workspace-surface",+ )+ self.assertEqual(+ match["verification_requirement"]["exact_files"],+ [+ "frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",+ "frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx",+ "frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ "frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",+ ],+ )+def test_lookup_paths_reports_agent_install_backend_as_shared_boundary(self) -> None:result = lookup_paths(["internal/api/agent_install_command_shared.go"])self.assertEqual(result["unowned_runtime_files"], [])