Retire UnifiedAgents compatibility shim

This commit is contained in:
rcourtman
2026-03-21 13:09:08 +00:00
parent 8699969592
commit fdf844f4d7
9 changed files with 82 additions and 102 deletions
@@ -52,25 +52,24 @@ management, and fleet control surfaces.
28. `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`
29. `frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts`
30. `frontend-modern/src/components/Settings/useProxmoxDirectWorkspaceState.ts`
31. `frontend-modern/src/components/Settings/UnifiedAgents.tsx`
32. `frontend-modern/src/components/Settings/NodeModal.tsx`
33. `frontend-modern/src/components/Settings/NodeModalAuthenticationSection.tsx`
34. `frontend-modern/src/components/Settings/NodeModalBasicInfoSection.tsx`
35. `frontend-modern/src/components/Settings/nodeModalModel.ts`
36. `frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx`
37. `frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx`
38. `frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx`
39. `frontend-modern/src/components/Settings/useNodeModalState.ts`
40. `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`
41. `frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx`
42. `frontend-modern/src/utils/agentProfilesPresentation.ts`
43. `frontend-modern/src/utils/agentInstallCommand.ts`
44. `frontend-modern/src/api/nodes.ts`
45. `frontend-modern/src/components/Settings/InfrastructureInstallerSection.tsx`
46. `frontend-modern/src/components/Settings/InfrastructureInventorySection.tsx`
47. `frontend-modern/src/components/Settings/InfrastructureActiveRowDetails.tsx`
48. `frontend-modern/src/components/Settings/InfrastructureIgnoredRowDetails.tsx`
49. `frontend-modern/src/components/Settings/InfrastructureStopMonitoringDialog.tsx`
31. `frontend-modern/src/components/Settings/NodeModal.tsx`
32. `frontend-modern/src/components/Settings/NodeModalAuthenticationSection.tsx`
33. `frontend-modern/src/components/Settings/NodeModalBasicInfoSection.tsx`
34. `frontend-modern/src/components/Settings/nodeModalModel.ts`
35. `frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx`
36. `frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx`
37. `frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx`
38. `frontend-modern/src/components/Settings/useNodeModalState.ts`
39. `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`
40. `frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx`
41. `frontend-modern/src/utils/agentProfilesPresentation.ts`
42. `frontend-modern/src/utils/agentInstallCommand.ts`
43. `frontend-modern/src/api/nodes.ts`
44. `frontend-modern/src/components/Settings/InfrastructureInstallerSection.tsx`
45. `frontend-modern/src/components/Settings/InfrastructureInventorySection.tsx`
46. `frontend-modern/src/components/Settings/InfrastructureActiveRowDetails.tsx`
47. `frontend-modern/src/components/Settings/InfrastructureIgnoredRowDetails.tsx`
48. `frontend-modern/src/components/Settings/InfrastructureStopMonitoringDialog.tsx`
## Shared Boundaries
@@ -85,15 +84,14 @@ management, and fleet control surfaces.
9. `frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx` shared with `api-contracts`: the node setup monitoring section is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
10. `frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx` shared with `api-contracts`: the node setup guide section is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
11. `frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx` shared with `api-contracts`: the node setup status/footer section is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
12. `frontend-modern/src/components/Settings/UnifiedAgents.tsx` shared with `api-contracts`: the UnifiedAgents module is a compatibility shim for the canonical infrastructure operations controller and remains on the same shared agent lifecycle and API contract boundary while the old module path exists.
13. `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx` shared with `api-contracts`: 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.
14. `frontend-modern/src/components/Settings/useNodeModalState.ts` shared with `api-contracts`: the node setup modal state hook is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
15. `frontend-modern/src/utils/agentInstallCommand.ts` shared with `api-contracts`: the shared frontend install-command helper is both an agent lifecycle control surface and a canonical API/install transport contract boundary.
16. `internal/api/agent_install_command_shared.go` shared with `api-contracts`: agent install command assembly is both an agent lifecycle control surface and a canonical API payload contract boundary.
17. `internal/api/config_setup_handlers.go` shared with `api-contracts`: auto-register and setup handlers are both an agent lifecycle control surface and a canonical API payload contract boundary.
18. `internal/api/unified_agent.go` shared with `api-contracts`: unified agent download and installer handlers are both an agent lifecycle control surface and a canonical API payload contract boundary.
19. `scripts/install.ps1` shared with `deployment-installability`: the Windows installer is both a deployment installability entry point and a canonical agent lifecycle runtime continuity boundary.
20. `scripts/install.sh` shared with `deployment-installability`: the shell installer is both a deployment installability entry point and a canonical agent lifecycle runtime continuity boundary.
12. `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx` shared with `api-contracts`: 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.
13. `frontend-modern/src/components/Settings/useNodeModalState.ts` shared with `api-contracts`: the node setup modal state hook is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
14. `frontend-modern/src/utils/agentInstallCommand.ts` shared with `api-contracts`: the shared frontend install-command helper is both an agent lifecycle control surface and a canonical API/install transport contract boundary.
15. `internal/api/agent_install_command_shared.go` shared with `api-contracts`: agent install command assembly is both an agent lifecycle control surface and a canonical API payload contract boundary.
16. `internal/api/config_setup_handlers.go` shared with `api-contracts`: auto-register and setup handlers are both an agent lifecycle control surface and a canonical API payload contract boundary.
17. `internal/api/unified_agent.go` shared with `api-contracts`: unified agent download and installer handlers are both an agent lifecycle control surface and a canonical API payload contract boundary.
18. `scripts/install.ps1` shared with `deployment-installability`: the Windows installer is both a deployment installability entry point and a canonical agent lifecycle runtime continuity boundary.
19. `scripts/install.sh` shared with `deployment-installability`: the shell installer is both a deployment installability entry point and a canonical agent lifecycle runtime continuity boundary.
## Extension Points
@@ -33,22 +33,21 @@ Own canonical runtime payload shapes between backend and frontend.
10. `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`
11. `frontend-modern/src/components/Settings/useAPITokenManagerState.ts`
12. `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`
13. `frontend-modern/src/components/Settings/UnifiedAgents.tsx`
14. `frontend-modern/src/components/Settings/NodeModal.tsx`
15. `frontend-modern/src/components/Settings/NodeModalAuthenticationSection.tsx`
16. `frontend-modern/src/components/Settings/NodeModalBasicInfoSection.tsx`
17. `frontend-modern/src/components/Settings/nodeModalModel.ts`
18. `frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx`
19. `frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx`
20. `frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx`
21. `frontend-modern/src/components/Settings/useNodeModalState.ts`
22. `frontend-modern/src/utils/agentInstallCommand.ts`
23. `frontend-modern/src/api/nodes.ts`
24. `frontend-modern/src/api/license.ts`
25. `frontend-modern/src/api/monitoredSystemLedger.ts`
26. `frontend-modern/src/api/resources.ts`
27. `frontend-modern/src/api/monitoring.ts`
28. `internal/api/monitored_system_ledger.go`
13. `frontend-modern/src/components/Settings/NodeModal.tsx`
14. `frontend-modern/src/components/Settings/NodeModalAuthenticationSection.tsx`
15. `frontend-modern/src/components/Settings/NodeModalBasicInfoSection.tsx`
16. `frontend-modern/src/components/Settings/nodeModalModel.ts`
17. `frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx`
18. `frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx`
19. `frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx`
20. `frontend-modern/src/components/Settings/useNodeModalState.ts`
21. `frontend-modern/src/utils/agentInstallCommand.ts`
22. `frontend-modern/src/api/nodes.ts`
23. `frontend-modern/src/api/license.ts`
24. `frontend-modern/src/api/monitoredSystemLedger.ts`
25. `frontend-modern/src/api/resources.ts`
26. `frontend-modern/src/api/monitoring.ts`
27. `internal/api/monitored_system_ledger.go`
## Shared Boundaries
@@ -70,12 +69,11 @@ Own canonical runtime payload shapes between backend and frontend.
16. `frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx` shared with `agent-lifecycle`: the node setup monitoring section is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
17. `frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx` shared with `agent-lifecycle`: the node setup guide section is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
18. `frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx` shared with `agent-lifecycle`: the node setup status/footer section is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
19. `frontend-modern/src/components/Settings/UnifiedAgents.tsx` shared with `agent-lifecycle`: the UnifiedAgents module is a compatibility shim for the canonical infrastructure operations controller and remains on the same shared agent lifecycle and API contract boundary while the old module path exists.
20. `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.
21. `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.
22. `frontend-modern/src/components/Settings/useNodeModalState.ts` shared with `agent-lifecycle`: the node setup modal state hook is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
23. `frontend-modern/src/utils/agentInstallCommand.ts` shared with `agent-lifecycle`: the shared frontend install-command helper is both an agent lifecycle control surface and a canonical API/install transport contract boundary.
24. `internal/api/agent_install_command_shared.go` shared with `agent-lifecycle`: agent install command assembly is both an agent lifecycle control surface and a canonical API payload contract boundary.
19. `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.
20. `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.
21. `frontend-modern/src/components/Settings/useNodeModalState.ts` shared with `agent-lifecycle`: the node setup modal state hook is both an agent lifecycle control surface and a shared API-backed install/setup contract boundary.
22. `frontend-modern/src/utils/agentInstallCommand.ts` shared with `agent-lifecycle`: the shared frontend install-command helper is both an agent lifecycle control surface and a canonical API/install transport contract boundary.
23. `internal/api/agent_install_command_shared.go` shared with `agent-lifecycle`: agent install command assembly is both an agent lifecycle control surface and a canonical API payload contract boundary.
20. `internal/api/ai_handler.go` shared with `ai-runtime`: Pulse Assistant handlers are both an AI runtime control surface and a canonical API payload contract boundary.
21. `internal/api/ai_handlers.go` shared with `ai-runtime`: AI settings and remediation handlers are both an AI runtime control surface and a canonical API payload contract boundary.
22. `internal/api/ai_intelligence_handlers.go` shared with `ai-runtime`: AI intelligence handlers are both an AI runtime control surface and a canonical API payload contract boundary.
@@ -201,14 +201,6 @@
"security-privacy"
]
},
{
"path": "frontend-modern/src/components/Settings/UnifiedAgents.tsx",
"rationale": "the UnifiedAgents module is a compatibility shim for the canonical infrastructure operations controller and remains on the same shared agent lifecycle and API contract boundary while the old module path exists",
"subsystems": [
"agent-lifecycle",
"api-contracts"
]
},
{
"path": "frontend-modern/src/components/Settings/useAPITokenManagerState.ts",
"rationale": "the API token settings state hook is both a security/privacy control surface and a canonical API payload contract boundary",
@@ -437,7 +429,6 @@
"frontend-modern/src/components/Settings/proxmoxSettingsModel.ts",
"frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx",
"frontend-modern/src/components/Settings/SettingsSectionNav.tsx",
"frontend-modern/src/components/Settings/UnifiedAgents.tsx",
"frontend-modern/src/components/Settings/useAgentProfilesPanelState.ts",
"frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx",
"frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts",
@@ -653,7 +644,6 @@
"frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx",
"frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx",
"frontend-modern/src/components/Settings/InfrastructureStopMonitoringDialog.tsx",
"frontend-modern/src/components/Settings/UnifiedAgents.tsx",
"frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx"
],
"allow_same_subsystem_tests": false,
@@ -661,8 +651,8 @@
"exact_files": [
"frontend-modern/src/api/__tests__/agentProfiles.test.ts",
"frontend-modern/src/api/__tests__/monitoring.test.ts",
"frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsModel.test.tsx",
"frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx"
"frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
"frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsModel.test.tsx"
]
},
{
@@ -691,10 +681,10 @@
"allow_same_subsystem_tests": false,
"test_prefixes": [],
"exact_files": [
"frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
"frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts"
]
}
@@ -889,7 +879,6 @@
"frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx",
"frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx",
"frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx",
"frontend-modern/src/components/Settings/UnifiedAgents.tsx",
"frontend-modern/src/components/Settings/useAPITokenManagerState.ts",
"frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx",
"frontend-modern/src/components/Settings/useNodeModalState.ts",
@@ -1127,7 +1116,6 @@
"match_files": [
"frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx",
"frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx",
"frontend-modern/src/components/Settings/UnifiedAgents.tsx",
"frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx"
],
"allow_same_subsystem_tests": false,
@@ -1136,8 +1124,8 @@
"frontend-modern/src/api/__tests__/agentProfiles.test.ts",
"frontend-modern/src/api/__tests__/monitoring.test.ts",
"frontend-modern/src/api/__tests__/security.test.ts",
"frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsModel.test.tsx",
"frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx"
"frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
"frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsModel.test.tsx"
]
}
]