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.

Extract infrastructure reporting summary owner

rcourtman446677f6366a
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index bdbd3201b1..feb410590b 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -36,25 +36,26 @@ management, and fleet control surfaces.
12. `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`
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/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`
+15. `frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx`
+16. `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`
+17. `frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts`
+18. `frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx`
+19. `frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx`
+20. `frontend-modern/src/components/Settings/ProxmoxDiscoveryResultsCard.tsx`
+21. `frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx`
+22. `frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx`
+23. `frontend-modern/src/components/Settings/SettingsSectionNav.tsx`
+24. `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`
+25. `frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts`
+26. `frontend-modern/src/components/Settings/UnifiedAgents.tsx`
+27. `frontend-modern/src/components/Settings/NodeModal.tsx`
+28. `frontend-modern/src/components/Settings/nodeModalModel.ts`
+29. `frontend-modern/src/components/Settings/useNodeModalState.ts`
+30. `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`
+31. `frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx`
+32. `frontend-modern/src/utils/agentProfilesPresentation.ts`
+33. `frontend-modern/src/utils/agentInstallCommand.ts`
+34. `frontend-modern/src/api/nodes.ts`
## Shared Boundaries
@@ -81,7 +82,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, 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`.
+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, reporting summary owner, 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/InfrastructureDirectConnectionsSummaryCard.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
@@ -152,6 +153,7 @@ The direct Proxmox fallback workspace now also lives explicitly inside this
lifecycle boundary: `InfrastructureWorkspace.tsx`,
`infrastructureWorkspaceModel.ts`,
`InfrastructureInstallPanel.tsx`, `InfrastructureReportingPanel.tsx`,
+`InfrastructureDirectConnectionsSummaryCard.tsx`,
`ProxmoxSettingsPanel.tsx`, `ProxmoxDirectConnectionsCard.tsx`,
`ProxmoxDiscoveryResultsCard.tsx`, `ProxmoxDeleteNodeDialog.tsx`,
`ConfiguredNodeTables.tsx`, `SettingsSectionNav.tsx`, and
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index 4607e2c21b..4dd2cbd7da 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -369,6 +369,7 @@
"frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx",
"frontend-modern/src/components/Settings/AgentProfilesPanel.tsx",
"frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx",
+ "frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx",
"frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx",
"frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx",
"frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx",
@@ -605,6 +606,7 @@
"match_prefixes": [],
"match_files": [
"frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx",
+ "frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx",
"frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx",
"frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx",
"frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx",
diff --git a/frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx b/frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx
new file mode 100644
index 0000000000..e5830e77a8
--- /dev/null
+++ b/frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx
@@ -0,0 +1,52 @@
+import type { Component } from 'solid-js';
+import { Card } from '@/components/shared/Card';
+
+interface InfrastructureDirectConnectionsSummaryCardProps {
+ pveCount: number;
+ pbsCount: number;
+ pmgCount: number;
+ onManageDirectConnections: () => void;
+}
+
+export const InfrastructureDirectConnectionsSummaryCard: Component<
+ InfrastructureDirectConnectionsSummaryCardProps
+> = (props) => {
+ return (
+ <Card padding="lg" class="rounded-xl border border-border shadow-sm">
+ <div class="space-y-4">
+ <div class="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">
+ <div>
+ <h3 class="text-base font-semibold text-base-content">Direct Proxmox connections</h3>
+ <p class="text-sm text-muted">
+ Review fallback direct coverage separately from agent-managed hosts.
+ </p>
+ </div>
+ <button
+ type="button"
+ onClick={props.onManageDirectConnections}
+ class="inline-flex min-h-10 sm:min-h-9 items-center justify-center rounded-md border border-border px-3 py-2 text-sm font-medium text-base-content transition-colors hover:bg-surface-hover"
+ >
+ Manage direct connections
+ </button>
+ </div>
+
+ <div class="grid gap-3 sm:grid-cols-3">
+ <div class="rounded-lg border border-border bg-surface-alt px-4 py-3">
+ <div class="text-sm font-medium text-base-content">PVE</div>
+ <div class="mt-1 text-xl font-semibold text-base-content">{props.pveCount}</div>
+ </div>
+ <div class="rounded-lg border border-border bg-surface-alt px-4 py-3">
+ <div class="text-sm font-medium text-base-content">PBS</div>
+ <div class="mt-1 text-xl font-semibold text-base-content">{props.pbsCount}</div>
+ </div>
+ <div class="rounded-lg border border-border bg-surface-alt px-4 py-3">
+ <div class="text-sm font-medium text-base-content">PMG</div>
+ <div class="mt-1 text-xl font-semibold text-base-content">{props.pmgCount}</div>
+ </div>
+ </div>
+ </div>
+ </Card>
+ );
+};
+
+export default InfrastructureDirectConnectionsSummaryCard;
diff --git a/frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx b/frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx
index 8cc5c73c64..c4d8a73005 100644
--- a/frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx
@@ -1,6 +1,6 @@
import type { Component } from 'solid-js';
-import { Card } from '@/components/shared/Card';
import { AgentProfilesPanel } from './AgentProfilesPanel';
+import { InfrastructureDirectConnectionsSummaryCard } from './InfrastructureDirectConnectionsSummaryCard';
import type { ProxmoxSettingsPanelProps } from './ProxmoxSettingsPanel';
import { useInfrastructureOperationsState } from './useInfrastructureOperationsState';
@@ -19,46 +19,12 @@ export const InfrastructureReportingPanel: Component<InfrastructureReportingPane
{state.renderInventorySection()}
<div class="grid gap-6 xl:grid-cols-[minmax(0,1.2fr)_minmax(320px,0.8fr)]">
- <Card padding="lg" class="rounded-xl border border-border shadow-sm">
- <div class="space-y-4">
- <div class="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">
- <div>
- <h3 class="text-base font-semibold text-base-content">Direct Proxmox connections</h3>
- <p class="text-sm text-muted">
- Review fallback direct coverage separately from agent-managed hosts.
- </p>
- </div>
- <button
- type="button"
- onClick={props.onManageDirectConnections}
- class="inline-flex min-h-10 sm:min-h-9 items-center justify-center rounded-md border border-border px-3 py-2 text-sm font-medium text-base-content transition-colors hover:bg-surface-hover"
- >
- Manage direct connections
- </button>
- </div>
-
- <div class="grid gap-3 sm:grid-cols-3">
- <div class="rounded-lg border border-border bg-surface-alt px-4 py-3">
- <div class="text-sm font-medium text-base-content">PVE</div>
- <div class="mt-1 text-xl font-semibold text-base-content">
- {props.pveNodes().length}
- </div>
- </div>
- <div class="rounded-lg border border-border bg-surface-alt px-4 py-3">
- <div class="text-sm font-medium text-base-content">PBS</div>
- <div class="mt-1 text-xl font-semibold text-base-content">
- {props.pbsNodes().length}
- </div>
- </div>
- <div class="rounded-lg border border-border bg-surface-alt px-4 py-3">
- <div class="text-sm font-medium text-base-content">PMG</div>
- <div class="mt-1 text-xl font-semibold text-base-content">
- {props.pmgNodes().length}
- </div>
- </div>
- </div>
- </div>
- </Card>
+ <InfrastructureDirectConnectionsSummaryCard
+ pveCount={props.pveNodes().length}
+ pbsCount={props.pbsNodes().length}
+ pmgCount={props.pmgNodes().length}
+ onManageDirectConnections={props.onManageDirectConnections}
+ />
</div>
<AgentProfilesPanel />
diff --git a/frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx b/frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx
index 1f39196b0a..97ed817ebb 100644
--- a/frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx
@@ -8,6 +8,7 @@ import infrastructureInstallPanelSource from '../InfrastructureInstallPanel.tsx?
import infrastructureOperationsControllerSource from '../InfrastructureOperationsController.tsx?raw';
import infrastructureOperationsModelSource from '../infrastructureOperationsModel.tsx?raw';
import infrastructureReportingPanelSource from '../InfrastructureReportingPanel.tsx?raw';
+import infrastructureDirectConnectionsSummaryCardSource from '../InfrastructureDirectConnectionsSummaryCard.tsx?raw';
import infrastructureOperationsStateSource from '../useInfrastructureOperationsState.tsx?raw';
import type {
Agent,
@@ -52,6 +53,13 @@ describe('UnifiedAgents ownership guardrails', () => {
expect(infrastructureOperationsControllerSource).toContain('useInfrastructureOperationsState');
expect(infrastructureInstallPanelSource).toContain('useInfrastructureOperationsState');
expect(infrastructureReportingPanelSource).toContain('useInfrastructureOperationsState');
+ expect(infrastructureReportingPanelSource).toContain(
+ './InfrastructureDirectConnectionsSummaryCard',
+ );
+ expect(infrastructureReportingPanelSource).not.toContain('Direct Proxmox connections');
+ expect(infrastructureDirectConnectionsSummaryCardSource).toContain(
+ 'Direct Proxmox connections',
+ );
expect(infrastructureOperationsStateSource).toContain("./infrastructureOperationsModel");
expect(infrastructureOperationsStateSource).toContain('renderInstallerSection');
expect(infrastructureOperationsStateSource).toContain('renderInventorySection');
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
index 7da18b661d..69b993cad7 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
@@ -7,6 +7,7 @@ import infrastructureInstallPanelSource from '../InfrastructureInstallPanel.tsx?
import infrastructureOperationsControllerSource from '../InfrastructureOperationsController.tsx?raw';
import infrastructureOperationsModelSource from '../infrastructureOperationsModel.tsx?raw';
import infrastructureReportingPanelSource from '../InfrastructureReportingPanel.tsx?raw';
+import infrastructureDirectConnectionsSummaryCardSource from '../InfrastructureDirectConnectionsSummaryCard.tsx?raw';
import nodeModalModelSource from '../nodeModalModel.ts?raw';
import nodeModalSource from '../NodeModal.tsx?raw';
import infrastructureOperationsStateSource from '../useInfrastructureOperationsState.tsx?raw';
@@ -82,6 +83,7 @@ const extractedModules = [
'../infrastructureWorkspaceModel.ts',
'../InfrastructureInstallPanel.tsx',
'../InfrastructureReportingPanel.tsx',
+ '../InfrastructureDirectConnectionsSummaryCard.tsx',
'../AIProviderConfigurationSection.tsx',
'../AISettingsDialogs.tsx',
'../aiSettingsModel.ts',
@@ -356,6 +358,11 @@ describe('Settings architecture guardrails', () => {
expect(infrastructureWorkspaceSource).toContain('InfrastructureReportingPanel');
expect(infrastructureInstallPanelSource).toContain('useInfrastructureOperationsState');
expect(infrastructureReportingPanelSource).toContain('useInfrastructureOperationsState');
+ expect(infrastructureReportingPanelSource).toContain(
+ './InfrastructureDirectConnectionsSummaryCard',
+ );
+ expect(infrastructureReportingPanelSource).not.toContain('Direct Proxmox connections');
+ expect(infrastructureReportingPanelSource).not.toContain('Manage direct connections');
expect(infrastructureOperationsControllerSource).toContain('useInfrastructureOperationsState');
expect(infrastructureOperationsStateSource).toContain(
'export const useInfrastructureOperationsState',
@@ -369,6 +376,12 @@ describe('Settings architecture guardrails', () => {
expect(infrastructureWorkspaceModelSource).toContain(
'export function buildInfrastructureWorkspacePath',
);
+ expect(infrastructureDirectConnectionsSummaryCardSource).toContain(
+ 'Direct Proxmox connections',
+ );
+ expect(infrastructureDirectConnectionsSummaryCardSource).toContain(
+ 'Manage direct connections',
+ );
expect(infrastructureInstallPanelSource).not.toContain('<PageHeader');
expect(infrastructureReportingPanelSource).not.toContain('<PageHeader');
});
diff --git a/scripts/release_control/canonical_completion_guard_test.py b/scripts/release_control/canonical_completion_guard_test.py
index 826eb9c1ad..dcc509c1a4 100644
--- a/scripts/release_control/canonical_completion_guard_test.py
+++ b/scripts/release_control/canonical_completion_guard_test.py
@@ -1885,6 +1885,11 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
"frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts"
)
+ def test_infrastructure_reporting_summary_change_requires_agent_lifecycle(self):
+ self._assert_direct_proxmox_workspace_change_requires_agent_lifecycle(
+ "frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx"
+ )
+
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.py
index 54c5799504..9adfc30ff4 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -1289,6 +1289,46 @@ class SubsystemLookupTest(unittest.TestCase):
],
)
+ def test_lookup_paths_assigns_infrastructure_reporting_summary_to_agent_lifecycle(
+ self,
+ ) -> None:
+ result = lookup_paths(
+ [
+ "frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx"
+ ]
+ )
+ 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"], [])