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
feat(actions): make Actions a primary workspace
rcourtman95c253c4860d
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex fa38365924..5c1dd843c0 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -3332,18 +3332,16 @@ query...`, and `Reading storage...` before streamed tool arguments arecache for assistant context and suggestions, but it must not reopen`useResources()` or trigger a second unfiltered `all-resources` REST fetchjust because the drawer component is present in the app shell.- The same app-shell boundary keeps Patrol/Assistant utility navigation+ The same app-shell boundary keeps Patrol/Assistant/Actions utility navigationaccessible-name safe: labelled icon SVGs may remain meaningful when renderedstandalone, but `frontend-modern/src/AppLayout.tsx` must treat them asdecorative inside tabs so the announced tab name comes from product chrome- and meaningful badge text rather than icon title duplication. Scoped- governed-operation history is subordinate to Patrol in that chrome:- `/actions` remains a stable route and Assistant page context, but it must not- render as a peer utility tab. While that route is open, the shell keeps- Patrol selected so the user remains inside one operational workspace; this- navigation relationship must not merge Activity history state into- Assistant drawer state or allow the drawer to become an alternate action- review client.+ and meaningful badge text rather than icon title duplication. Global+ governed operations use the peer `/actions` utility destination and stable+ Assistant page context. Actions owns its selected state and pending-approval+ badge while Patrol owns only its operational-attention count. This+ navigation relationship must not merge Actions state into Assistant drawer+ state or allow the drawer to become an alternate action review client.Scopedapproval handoffs sourced from Patrol, active alerts, or alert incidenttimelines must render as source-named investigation handoffs in the drawerdiff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.mdindex 061821abb2..96abccde10 100644--- a/docs/release-control/v6/internal/subsystems/api-contracts.md+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md@@ -551,17 +551,16 @@ finding or approval is handled. Browser presentation labels the route `Patrol`and may label the default queue `Open work`, but those labels are chrome overthis existing status/finding/approval contract; they are not new API fields,prompt payloads, or alternate current-work schemas.-Shell navigation may derive a content-free `Patrol` open-work count from the-existing Patrol findings endpoint and durable action-inbox pending count. When-there are pending governed actions, the shell badge prioritizes that universal-approval count and label; otherwise it may show the active Patrol finding-count. This is presentation over existing read models, not a new API route or-status field. It must not include finding IDs, approval IDs, resource names,-commands, prompt text, or model output in visible chrome, and must not replace-the detail-owning Patrol findings, durable action inbox, approval, run-history,-or status routes. The Patrol surface may expose a compact `Activity history`-handoff with the same count, but the durable `/actions` route continues to own-the complete record list and review controls.+Shell navigation may derive separate content-free counts from the existing read+models. The `Patrol` badge may show the active Patrol finding count, while the+peer `Actions` badge may show the durable action-inbox pending-approval count.+This is presentation over existing read models, not a new API route or status+field. It must not include finding IDs, approval IDs, resource names, commands,+prompt text, or model output in visible chrome, and must not replace the+detail-owning Patrol findings, durable action inbox, approval, run-history, or+status routes. The Patrol surface may expose a compact Actions handoff, but the+durable `/actions` route continues to own the complete record list and review+controls.The authenticated `GET /api/agent/patrol-control/status` projection exposes the same content-free starter evidence as count-only fields(`operationsLoopStarterCount`, `assistantOperationsLoopStarterCount`,`patrolOperationsLoopStarterCount`,diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.mdindex 4259469f04..6304c558f3 100644--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md@@ -605,14 +605,15 @@ or other self-hosted uncapped continuity plans.## Extension Points-The authenticated app shell keeps `/actions` as the stable global Activity-history route, reached from Patrol rather than exposed as a peer desktop or-responsive utility tab. `App.tsx` and `AppLayout.tsx` only provide route and-navigation ownership: Patrol remains selected while Activity history is open,-and action authority and result truth remain in the unified-resources and-api-contracts projections. This information-architecture choice is independent-of hosted entitlement, billing, and acquisition state. Navigation proof is-owned by the App/AppLayout, routing, and desktop Actions journey tests.+The authenticated app shell keeps `/actions` as the stable global Actions+workspace and exposes it as a peer desktop and responsive utility destination.+`App.tsx` and `AppLayout.tsx` only provide route and navigation ownership:+Actions owns its selected state and pending-approval badge while Patrol retains+its independent operational-attention count. Action authority and result truth+remain in the unified-resources and api-contracts projections. This+information-architecture choice is independent of hosted entitlement, billing,+and acquisition state. Navigation proof is owned by the App/AppLayout, routing,+mobile navigation, and desktop Actions journey tests.1. Add or change limits through `pkg/licensing/`2. Add or change hosted entitlement issuance through `internal/cloudcp/entitlements/service.go`@@ -975,13 +976,11 @@ owned by the App/AppLayout, routing, and desktop Actions journey tests.counts rather than duplicating branded SVG titles. The Patrol-owned utilitydestination remains `Patrol` over the same `/patrol` route; it must notalter hosted org bootstrap, entitlement loading, or commercial posture- loading. A Patrol open-work badge in that shell may consume only the- existing Patrol findings and durable action-inbox pending count after- authentication. The subordinate `/actions` Activity history route keeps- Patrol selected in primary chrome and must not reappear as a commercial or- peer utility destination;- it must not read hosted billing state, trigger commercial-posture loading,- affect organization visibility, or become an upgrade/acquisition cue.+ loading. Its badge may consume only the existing Patrol attention summary.+ The peer `/actions` destination owns the durable action-inbox pending+ approval count and its own selected state. Actions must not read hosted+ billing state, trigger commercial-posture loading, affect organization+ visibility, or become an upgrade/acquisition cue.The same primary platform navigation must remember the last in-tab routestate per platform, including query and hash, so route-owned filters suchas Proxmox workload status survive switching to another platform tab anddiff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 5c0620713f..f1dd39d868 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -795,7 +795,7 @@ helpers, and it reuses the action resource presenter for durable resources thathave left the live registry. It must preserve the server's verified-onlymembership, evidence class, newest-first order, empty state, andlast-truthful-data behavior during a refresh error. Raw executor verification-summaries stay in Activity history rather than becoming quiet-home copy.+summaries stay in Actions history rather than becoming quiet-home copy.For Patrol, that includes the Open work description: it may use conciserow-level guidance such as review evidence, approve a change, inspect automaticactions, or review verification results, but it must remain descriptive copy@@ -5754,15 +5754,15 @@ the matching Open or History subtab from server-authored lifecycle state, andremoves the query when the dialog closes. Feature pages may summarize actioncontext, but they must not recreate approve, reject, run, progress, or outcomecontrols outside the shared Actions review.-The Actions ledger is no longer a peer top-level navigation destination.-Patrol is the primary operations home and exposes the ledger as `Activity-history`, including a pending-review count and a route-backed handoff. The-canonical `/actions` route remains stable for exact action deep links and+The Actions ledger is a peer top-level navigation destination. Patrol remains+the primary detection and investigation home and may expose a route-backed+Actions handoff, but Actions owns its pending-approval count and selected state.+The canonical `/actions` route remains stable for exact action deep links anduniversal audit records originating from Patrol, Assistant, MCP, or manual-controls. While that subordinate route is open, desktop and mobile navigation-keep Patrol selected and the browser title identifies `Activity history`;-removing the standalone navigation entry must not remove the shared review-dialog, route, API client, or durable action identity.+controls. While that route is open, desktop and mobile navigation select+Actions and the browser title identifies `Actions`. The first-class navigation+entry composes the existing shared review dialog, route, API client, and durable+action identity rather than creating another action client.### Protection posture presentation boundarydiff --git a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md b/docs/release-control/v6/internal/subsystems/patrol-intelligence.mdindex fd53bc981a..7df83173d6 100644--- a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md+++ b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md@@ -110,7 +110,7 @@ protection only from active objectives whose server-authored coverage state is`covered`.Compact receipts present only the verified action, verification trust class,time, and shared resource identity. Raw executor and readback summaries remain-available in Activity history; they must not be copied into the quiet Patrol+available in Actions history; they must not be copied into the quiet Patrolhome or force an operator to interpret transport and lifecycle telemetry.The effective autonomy label and plain-language consequence stay visible, but@@ -610,12 +610,12 @@ attention`, `approval needed`, `outcome verified`, `no active work`) insteadverification needed, failed fix, or setup attention, but it must not exposegeneric `detected`, `review finding`, raw loop-state, investigation-status,investigation-outcome, or confidence badges on the default Patrol page.- Patrol is also the daily entry point for governed operations that did not- originate in Patrol. Its compact `Activity history` handoff exposes the- universal pending-review count and opens the canonical action ledger without- copying ledger rows or action controls into Patrol. The ledger remains an- auditable subordinate route, not a second top-level inbox; `/actions` deep- links stay stable and keep Patrol selected in shared navigation.+ Patrol may hand off to governed operations that originated there. Its compact+ Actions handoff opens the canonical action ledger without copying ledger rows+ or action controls into Patrol. The ledger is also an auditable first-class+ workspace for operations originating in Patrol, Assistant, MCP, or manual+ controls. `/actions` deep links stay stable and select Actions in shared+ navigation.Patrol approval and remediation actions own approval, denial, reapproval,review, and Assistant handoff semantics, but their visible action chrome mustcompose the shared `Button` primitive for success, warning-solid, primary,diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 0393a6a952..309644ed76 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -793,11 +793,12 @@ container inventory table.The global Product Trust projection is owned at`frontend-modern/src/features/actions/` with the stable `/actions` route shell-in `frontend-modern/src/pages/Actions.tsx`, presented to users as `Activity-history`. Patrol is the primary operational home and may expose a compact-pending-count handoff into this route, but the ledger must not reappear as a-peer top-level utility tab and Patrol must not duplicate its rows or controls.-The route must consume durable+in `frontend-modern/src/pages/Actions.tsx`, presented to users as `Actions`.+The ledger is a peer top-level utility destination with its own selected state+and durable pending-approval count. Patrol remains the primary detection and+investigation home and may expose a compact handoff into this route, but it must+not duplicate ledger rows, action controls, or the Actions approval badge. The+route must consume durable`ActionAuditRecord.plan.policyDecision` and `result.actionResultV2` withoutderiving policy authority or collapsing execution, verification, and recoveryinto one outcome. Docker lifecycle controls may create a canonical plan anddiff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex 9e4eba4fd8..f820cc39b8 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,119 +1,25 @@{"version": 1,- "base_sha": "fe9c64a4d377d677b9eafaae446b5b081b0d490e",- "verified_at": "2026-08-18T09:48:47Z",+ "base_sha": "b396c93785e2e671f29bc295923ab5ad480d579b",+ "verified_at": "2026-08-18T10:08:58Z","result": "passed","changed_paths": [- "frontend-modern/src/api/aiChatDevStreamFixture.ts",- "frontend-modern/src/components/AI/Chat/hooks/useChat.ts",- "frontend-modern/src/components/AI/Chat/index.tsx",- "frontend-modern/src/components/Alerts/incidentAssistantHandoffModel.ts",- "frontend-modern/src/components/Infrastructure/ResourceOperatorStateSection.tsx",- "frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx",- "frontend-modern/src/components/Settings/AIModelSelectionSection.tsx",- "frontend-modern/src/components/Settings/AgentIntegrationsPanel.tsx",- "frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/AvailabilityTargetSlot.tsx",- "frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/TrueNASCredentialSlot.tsx",- "frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/VMwareCredentialSlot.tsx",- "frontend-modern/src/components/Settings/DiagnosticsResultsPanel.tsx",- "frontend-modern/src/components/Settings/InfrastructureAgentDoctorPage.tsx",- "frontend-modern/src/components/Settings/InfrastructureInstallerSection.tsx",- "frontend-modern/src/components/Settings/NodeModalClusterMembersSection.tsx",- "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/infrastructureAgentUpdateCommandsModel.ts",- "frontend-modern/src/components/Settings/infrastructureImportPlanModel.ts",- "frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx",- "frontend-modern/src/components/TokenRevealDialog.tsx",- "frontend-modern/src/components/UpdateBanner.tsx",- "frontend-modern/src/components/patrol/ApprovalSection.tsx",- "frontend-modern/src/components/shared/useContainerUpdateButtonState.ts",- "frontend-modern/src/content/help/ai.ts",- "frontend-modern/src/features/actions/ActionDecisionPacket.tsx",- "frontend-modern/src/features/actions/ActionReviewDialog.tsx",- "frontend-modern/src/features/actions/aptActionPresentation.ts",- "frontend-modern/src/features/alerts/AlertIntentPolicyPanel.tsx",- "frontend-modern/src/features/docker/DockerContainerLifecycleControls.tsx",- "frontend-modern/src/features/docker/DockerIdentityConflictNotice.tsx",- "frontend-modern/src/features/docker/dockerContainerLifecycleActions.ts",- "frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx",- "frontend-modern/src/features/patrol/patrolControlPresentation.ts",- "frontend-modern/src/features/patrol/patrolInvestigationContextModel.ts",- "frontend-modern/src/features/standalone/HostIdentityConflictNotice.tsx",- "frontend-modern/src/features/standalone/agentMachineTableModel.ts",- "frontend-modern/src/i18n/index.ts",- "frontend-modern/src/i18n/messages.de.ts",- "frontend-modern/src/i18n/messages.es.ts",- "frontend-modern/src/i18n/messages.ts",- "frontend-modern/src/stores/websocket.ts",- "frontend-modern/src/utils/actionAuditPresentation.ts",- "frontend-modern/src/utils/aiFindingPresentation.ts",- "frontend-modern/src/utils/alertThresholdsPresentation.ts",- "frontend-modern/src/utils/apiTokenPresentation.ts",- "frontend-modern/src/utils/discoveryPresentation.ts",- "frontend-modern/src/utils/licensePresentation.ts",- "frontend-modern/src/utils/relayPresentation.ts",- "frontend-modern/src/utils/resourceAnalysisPresentation.ts"+ "frontend-modern/src/AppLayout.tsx",+ "frontend-modern/src/components/shared/mobileNavBarModel.ts",+ "frontend-modern/src/pages/Actions.tsx",+ "frontend-modern/src/utils/assistantPageContext.ts"],"content_sha256": {- "frontend-modern/src/api/aiChatDevStreamFixture.ts": "73203e7794f2e732a7dc0b50df5b41e45e858df7a4126536acd4c93e47379511",- "frontend-modern/src/components/AI/Chat/hooks/useChat.ts": "ef7398972b813247af49861fb0918bb4539f043a6779543f79d5db761525c437",- "frontend-modern/src/components/AI/Chat/index.tsx": "3a896c83b64b4c3a9370e7fa979b9785232a8b09f2c403c917dd5ab52ae5da9c",- "frontend-modern/src/components/Alerts/incidentAssistantHandoffModel.ts": "9d12767d795c038ae8cf5ef83d3d76a0390671003beb8058bbd584abdd96a0c9",- "frontend-modern/src/components/Infrastructure/ResourceOperatorStateSection.tsx": "69714072d2458787f4914127fadee1b2125181e9d44982d26c00a47c08f8f70d",- "frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx": "9c20711471dd2c95efe8e6030b6ca46bd1db2500219618f25e2caf71c50fcc18",- "frontend-modern/src/components/Settings/AIModelSelectionSection.tsx": "87dbc433ac131af98331a4018a0b82f524053294076addb9a299c9f122a7db70",- "frontend-modern/src/components/Settings/AgentIntegrationsPanel.tsx": "2db2c6470704743a1844c410403acc8132c6b43f7cdf2c061946ff4d0799b8f9",- "frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/AvailabilityTargetSlot.tsx": "9748e2004e2efcbe76c29f56a5a07a8818ea967d64ac83e44e9ed7278e73cbca",- "frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/TrueNASCredentialSlot.tsx": "14f6a2b385bb2c048726636a447c3e62e1410beb79d8b1e531873047ef1b8e3a",- "frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/VMwareCredentialSlot.tsx": "82000ab351789a6f9f7ffcae740abe7776d8842e68eede84135b2ec8543176e8",- "frontend-modern/src/components/Settings/DiagnosticsResultsPanel.tsx": "da7130ee44a6b61a9447916465bec6548ca477b1c918e8ccdabf7b0565d13d25",- "frontend-modern/src/components/Settings/InfrastructureAgentDoctorPage.tsx": "5187bf82eebb5950fea336fd72b223b8d1f6ab97eeb418abc1bdf055b2c93d60",- "frontend-modern/src/components/Settings/InfrastructureInstallerSection.tsx": "fbc03c3d9d13490fb190c3fcbc58020f553d8494cb55626a6d6639d2ecb73aa0",- "frontend-modern/src/components/Settings/NodeModalClusterMembersSection.tsx": "dbb553e75e4ee057c1d33b84356342581a7362ae1569742955fd0f3820668213",- "frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx": "7240466d76e6ef4b4225977f82fee5f0b20d7a34e5eb067a6b2e3d9973ea9383",- "frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx": "edb75037be9e845505abed5088307fa170e6a62ba4a1ca57e5677c2d1a473635",- "frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx": "be737e03a7f6fbf89900c6821d4de5aff3613434856b3e55f22bb1154fadd617",- "frontend-modern/src/components/Settings/infrastructureAgentUpdateCommandsModel.ts": "0bedc70ba984d1e894a9470761a86108685ebf19e026de19c9c7f290b6be635c",- "frontend-modern/src/components/Settings/infrastructureImportPlanModel.ts": "0c062f5eedcc892d7bbfff65fd4bc7be9034b16813c2f4572e001878f511f867",- "frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx": "b96a121c7c60546cb3d61b9b3d2dc6557f6f3d276eaa98c664aae8803bd0cc77",- "frontend-modern/src/components/TokenRevealDialog.tsx": "94b5fd3104f06d6adb3ce10c9466eacc6eac5a3a1df6b5fac83728a54afa57e0",- "frontend-modern/src/components/UpdateBanner.tsx": "b63e3a968baae1970025b2d4e2a16b1fa4982980307cd87945420d831fb45834",- "frontend-modern/src/components/patrol/ApprovalSection.tsx": "d16b92c67b42a74071d06c2a191007d06f721947c56e1718363d1fa2a63d13b8",- "frontend-modern/src/components/shared/useContainerUpdateButtonState.ts": "9379c2672dc9fb79f44b6fbfd4d34871eef4f3c0effb26f022cbe73edb2d2cff",- "frontend-modern/src/content/help/ai.ts": "c00d01abff015784b40f38675df2b65510ced6ea0844ff7c86d529800b643283",- "frontend-modern/src/features/actions/ActionDecisionPacket.tsx": "4854edfefe43d0b32cd819e265008cee5e8a38fc79714f90c9695b713b094389",- "frontend-modern/src/features/actions/ActionReviewDialog.tsx": "a6b28e3731297ddfc6c4b837c7c5b58551d6fa18a38099dc86021a23729eccd0",- "frontend-modern/src/features/actions/aptActionPresentation.ts": "ebb1ba10b896746539866ceaea33db3f512329e2fc993d21cda34f89ee5b145f",- "frontend-modern/src/features/alerts/AlertIntentPolicyPanel.tsx": "736ae64aa98b67f544c2487ff1d905e59e2cc565b3807f91c119f5241d34131f",- "frontend-modern/src/features/docker/DockerContainerLifecycleControls.tsx": "4ec03d51b4ef7d1ed1b0a1e7513df1c77d9cf052659fb5a33efe438b4e4821b9",- "frontend-modern/src/features/docker/DockerIdentityConflictNotice.tsx": "3fc232aad32fe80944de39ae420d3b0e638c3880ee9a51ce5999ec4bfa712ccb",- "frontend-modern/src/features/docker/dockerContainerLifecycleActions.ts": "2d3038e972213399c2440b09580b45efa464aef876e0742c4e302d4fbf8bd75b",- "frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx": "28f46c52ec8f8f888f21b71882e78870ccf93e35dbc9da8e1dafaa550ef634b9",- "frontend-modern/src/features/patrol/patrolControlPresentation.ts": "3cd991c6802a380bfca106bab0df166e6508166499d583d9d8ff85c2060ca80f",- "frontend-modern/src/features/patrol/patrolInvestigationContextModel.ts": "6c1a7b7d3878ac44ff3b364c4719166f4cadabf4b27f5161b236d3f4836a0acd",- "frontend-modern/src/features/standalone/HostIdentityConflictNotice.tsx": "3e124e0e058b84993c61f5f4b6430131d59f6c1909f4880e7f82602713455c02",- "frontend-modern/src/features/standalone/agentMachineTableModel.ts": "14b1c0f0b1050d7722a8787e8a1fbe88d6854bb83532d39db36f6a4d4d8df308",- "frontend-modern/src/i18n/index.ts": "5e2744946a866e2539fedad0b395db12a77661fb5fd94acb61879081a8e78a4e",- "frontend-modern/src/i18n/messages.de.ts": "25b282259570d69029bcabe58ba2ecfb1734ffce629696ec8aa10698df057fc2",- "frontend-modern/src/i18n/messages.es.ts": "ac86cdb7be83867dbca2b3bef63a445ccffaac1b3372504e9aa4cd3d0e8ffc5e",- "frontend-modern/src/i18n/messages.ts": "7dcb19a594e97b0b92c979625c14d36a8563c3933ab5209a39f3e6b43d7357eb",- "frontend-modern/src/stores/websocket.ts": "a9ebccaec56604cbab2e204c897ca91f5a2ae9675ad7fd0643b294e19fbede3d",- "frontend-modern/src/utils/actionAuditPresentation.ts": "01eb79cf96abc674579a671913b83354a62541e3fb35b3811ddb4dbeab8195f6",- "frontend-modern/src/utils/aiFindingPresentation.ts": "8d4a8bbba79c46552112a237c62402c2ef9c0f436b8a7cb6189c5911f1c3ec9a",- "frontend-modern/src/utils/alertThresholdsPresentation.ts": "1d3573df8d61ece176d34c8d815711f6a884dc588c8d201fcad93976a2598c92",- "frontend-modern/src/utils/apiTokenPresentation.ts": "782d45f1babb667107dea4cdaa8166778bf200adf50745b05a255babb6d52521",- "frontend-modern/src/utils/discoveryPresentation.ts": "d65a43bfbfd3433425064f02df58656756828a309f55da1ca0c8237a1f17c04f",- "frontend-modern/src/utils/licensePresentation.ts": "cfa268d06f8364c0aef59ce8346ef4a0fbe0c164932a3276038e35d96f715206",- "frontend-modern/src/utils/relayPresentation.ts": "354228848ebe2943cbf0db89dba6e5cfcabb1cb2f7984b7a7dfd1dd2857588e6",- "frontend-modern/src/utils/resourceAnalysisPresentation.ts": "5a3254abf8c2613f595e27f38aa60ad9003c2c7b7c5c3c684ee26038c9f4ac6d"+ "frontend-modern/src/AppLayout.tsx": "de3657774c1f5b84297cca22d77f9a9d15956115b2ab4a84a22e0fb3b9e0ba46",+ "frontend-modern/src/components/shared/mobileNavBarModel.ts": "3560c932d36e645a14508804dd146146e449c83575ab118b567aa3a9d742c903",+ "frontend-modern/src/pages/Actions.tsx": "2ff95733423f2b2577052328232e0c7f927f3db57f0cbdec2093258fae900375",+ "frontend-modern/src/utils/assistantPageContext.ts": "bfca19b4e183777ee1535073d48cce92ce31980f4105bab337f33a28538a6a35"},- "routes": ["/patrol", "/actions", "/settings/pulse-intelligence/patrol"],+ "routes": ["/actions", "/patrol"],"viewports": [{"width": 1280,- "height": 900+ "height": 720},{"width": 390,@@ -125,17 +31,19 @@}],"states": [- "Live Patrol Inbox with ranked decisions and governed approval handoff",- "Patrol Protection workspace",- "Patrol Activity workspace with Actions and findings history handoffs",- "Actions open queue",- "Patrol settings after asynchronous shell load",+ "Actions open queue with the first-class desktop navigation state and pending-approval badge",+ "Actions history with completed, rejected, and failed outcomes",+ "Read-only governed action review dialog open and closed",+ "Patrol and Actions with independent attention and approval badges",+ "Actions empty state with the fixed mobile navigation destination selected","Canonical mobile product routes at compact and modern phone widths"],"interactions": [- "Used the live in-app Browser to inspect Patrol, Actions, and Patrol settings and confirmed zero rendered semicolon punctuation on each surface",- "Switched Patrol between Inbox, Protection, and Activity and confirmed each rendered workspace remained semicolon-free",- "Confirmed Patrol remains a primary System navigation tab while Actions remains the subordinate review route linked from Patrol",- "Passed the mobile Chrome canonical-route overflow sweep at 320x568 and 390x844, including Patrol"+ "Used the live in-app Browser to navigate from Patrol to Actions through the permanent desktop tab and confirmed the Actions URL, page title, selected state, and Assistant context",+ "Switched between Open and History and confirmed each Actions list and summary rendered correctly",+ "Opened and closed the governed action review dialog and confirmed the canonical decision packet remained available",+ "Confirmed phone-width Actions is directly visible and selected in the fixed bottom rail while Patrol remains unselected",+ "Passed the mobile Chrome canonical-route overflow sweep at 320x568 and 390x844 with Actions included",+ "Ran the copy-style audit and confirmed no user-visible semicolons"]}diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsxindex d9ad262104..5d7a6bda0e 100644--- a/frontend-modern/src/AppLayout.tsx+++ b/frontend-modern/src/AppLayout.tsx@@ -3,6 +3,7 @@ import { Portal } from 'solid-js/web';import type { JSX } from 'solid-js';import { useLocation, useNavigate } from '@solidjs/router';import BellIcon from 'lucide-solid/icons/bell';+import ListChecksIcon from 'lucide-solid/icons/list-checks';import SettingsIcon from 'lucide-solid/icons/settings';import Maximize2Icon from 'lucide-solid/icons/maximize-2';import Minimize2Icon from 'lucide-solid/icons/minimize-2';@@ -297,7 +298,7 @@ export function AppLayout(props: AppLayoutProps) {vmware: 'vSphere',standalone: 'Machines',alerts: 'Alerts',- actions: 'Activity history',+ actions: 'Actions',ai: 'Patrol',settings: 'Settings',};@@ -439,10 +440,7 @@ export function AppLayout(props: AppLayoutProps) {clearHeaderHideTimeout();});- const getNavigationActiveTab = () => {- const active = getActiveTabForPath(location.pathname);- return active === 'actions' ? 'ai' : active;- };+ const getNavigationActiveTab = () => getActiveTabForPath(location.pathname);const getActiveTabDesktop = getNavigationActiveTab;const getActiveTabMobile = getNavigationActiveTab;const assistantPageContext = createMemo(() => getAssistantPageContext(location.pathname));@@ -485,12 +483,6 @@ export function AppLayout(props: AppLayoutProps) {if (count <= 0) return undefined;return `${count} active attention ${count === 1 ? 'item' : 'items'}`;});- const patrolNavigationCount = createMemo(- () => (actionApprovalBadge()?.count ?? patrolAttentionCount()) || undefined,- );- const patrolNavigationCountLabel = createMemo(- () => actionApprovalBadge()?.label ?? patrolAttentionCountLabel(),- );// Platform/runtime nav is resource-admitted. A platform or runtime lens only// appears when the support manifest says the surface is supported and the@@ -605,11 +597,22 @@ export function AppLayout(props: AppLayoutProps) {route: '/patrol',tooltip: 'Review active operational attention and recent Patrol checks',badge: null,- count: patrolNavigationCount(),- countLabel: patrolNavigationCountLabel(),+ count: patrolAttentionCount() || undefined,+ countLabel: patrolAttentionCountLabel(),breakdown: undefined,icon: PulsePatrolLogo,},+ {+ id: 'actions',+ label: 'Actions',+ route: '/actions',+ tooltip: 'Review approvals, run ready work, and see recorded outcomes',+ badge: null,+ count: actionApprovalBadge()?.count,+ countLabel: actionApprovalBadge()?.label,+ breakdown: undefined,+ icon: ListChecksIcon,+ },];if (hasSettingsAccess()) {diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.tsindex 928a579afd..76e03825a4 100644--- a/frontend-modern/src/__tests__/App.architecture.test.ts+++ b/frontend-modern/src/__tests__/App.architecture.test.ts@@ -582,14 +582,18 @@ describe('App architecture', () => {expect(appLayoutSource).not.toContain("'/operations', '/patrol', '/ai'");expect(appLayoutSource).toContain("route: '/patrol',");expect(appLayoutSource).toContain("label: 'Patrol'");- expect(appLayoutSource).not.toContain("id: 'actions',");- expect(appLayoutSource).not.toContain("label: 'Actions',");- expect(appLayoutSource).toContain("return active === 'actions' ? 'ai' : active;");+ expect(appLayoutSource).toContain("id: 'actions',");+ expect(appLayoutSource).toContain("label: 'Actions',");+ expect(appLayoutSource).toContain("route: '/actions',");+ expect(appLayoutSource).toContain(+ 'const getNavigationActiveTab = () => getActiveTabForPath(location.pathname);',+ );expect(appLayoutSource).toContain("tooltip: 'Review active operational attention and recent Patrol checks'",);expect(appLayoutSource).toContain('const patrolAttentionCount = createMemo(');- expect(appLayoutSource).toContain('countLabel: patrolNavigationCountLabel()');+ expect(appLayoutSource).toContain('countLabel: patrolAttentionCountLabel()');+ expect(appLayoutSource).toContain('countLabel: actionApprovalBadge()?.label');expect(appLayoutSource).not.toContain("label: 'Needs Attention'");expect(appLayoutSource).not.toContain("route: '/operations',");expect(appLayoutSource).not.toContain('props.connected()');@@ -779,7 +783,8 @@ describe('App architecture', () => {expect(runtimeHomeSource).not.toContain('aiIntelligenceStore');expect(runtimeHomeSource).not.toContain('patrolOpenWork');expect(appLayoutSource).toContain("label: 'Patrol'");- expect(appLayoutSource).toContain('countLabel: patrolNavigationCountLabel()');+ expect(appLayoutSource).toContain('countLabel: patrolAttentionCountLabel()');+ expect(appLayoutSource).toContain("label: 'Actions'");});it('drops platform admission when the tenant changes', () => {diff --git a/frontend-modern/src/__tests__/AppLayout.test.tsx b/frontend-modern/src/__tests__/AppLayout.test.tsxindex 33811ab68e..d7295fde45 100644--- a/frontend-modern/src/__tests__/AppLayout.test.tsx+++ b/frontend-modern/src/__tests__/AppLayout.test.tsx@@ -173,7 +173,7 @@ describe('AppLayout navigation icons', () => {expect(systemGroup).toBeTruthy();const desktopTabs = within(systemGroup as HTMLElement).getAllByRole('tab');- expect(desktopTabs).toHaveLength(3);+ expect(desktopTabs).toHaveLength(4);desktopTabs.forEach((tab) => {expect(tab.querySelector('svg')).toBeTruthy();});@@ -190,7 +190,7 @@ describe('AppLayout navigation icons', () => {expect(within(systemGroup as HTMLElement).queryByRole('tab', { name: 'Patrol P' })).toBeNull();const mobileNav = screen.getByRole('navigation', { name: 'Mobile navigation' });- ['alerts', 'ai'].forEach((tabId) => {+ ['alerts', 'ai', 'actions'].forEach((tabId) => {const button = mobileNav.querySelector<HTMLElement>(`[data-tab-id="${tabId}"]`);expect(button).toBeTruthy();expect(button?.querySelector('svg')).toBeTruthy();@@ -232,24 +232,24 @@ describe('AppLayout navigation icons', () => {expect(within(mobileNav).queryByText('Needs Attention')).toBeNull();});- it('routes universal pending operations and the subordinate activity route through Patrol', () => {+ it('gives Actions its own navigation state and approval count', () => {actionInboxMockState.pendingActionCount = 3;renderLayout([], '/actions');const desktopNav = screen.getByRole('tablist', { name: 'Primary navigation' });const systemGroup = desktopNav.querySelector('[aria-label="System"]');expect(systemGroup).toBeTruthy();- const patrolTab = within(systemGroup as HTMLElement).getByRole('tab', {- name: 'Patrol: 3 actions await approval',+ const actionsTab = within(systemGroup as HTMLElement).getByRole('tab', {+ name: 'Actions: 3 actions await approval',});- expect(patrolTab.className).toContain('text-blue-600');- expect(within(systemGroup as HTMLElement).queryByRole('tab', { name: 'Actions' })).toBeNull();+ expect(actionsTab.className).toContain('text-blue-600');+ expect(within(systemGroup as HTMLElement).getByRole('tab', { name: 'Patrol' })).toBeTruthy();const mobileNav = screen.getByRole('navigation', { name: 'Mobile navigation' });expect(- within(mobileNav).getByRole('button', { name: 'Patrol: 3 actions await approval' }),+ within(mobileNav).getByRole('button', { name: 'Actions: 3 actions await approval' }),).toHaveAttribute('aria-current', 'page');- expect(document.title).toContain('Activity history');+ expect(document.title).toContain('Actions');});it('shows platform and runtime lens tabs with supported infrastructure evidence', () => {diff --git a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsxindex 2694b9fd78..ddec9ef83c 100644--- a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx+++ b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx@@ -95,6 +95,7 @@ describe('MobileNavBar', () => {]}utilityTabs={() => [makeUtility('settings', 'Settings'),+ makeUtility('actions', 'Actions'),makeUtility('ai', 'Patrol'),makeUtility('alerts', 'Alerts'),]}@@ -109,7 +110,7 @@ describe('MobileNavBar', () => {Array.from(fixedRail?.querySelectorAll('button[data-tab-id]') ?? []).map((button) =>button.getAttribute('data-tab-id'),),- ).toEqual(['proxmox', 'alerts', 'ai', 'more']);+ ).toEqual(['proxmox', 'alerts', 'ai', 'actions', 'more']);const more = screen.getByRole('button', { name: 'More navigation' });expect(more).toHaveAttribute('aria-haspopup', 'menu');diff --git a/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts b/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.tsindex 5baec3d6e3..106319304e 100644--- a/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts+++ b/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts@@ -224,6 +224,7 @@ describe('mobileNavBarModel.branchcov2', () => {[makePrimaryTab('standalone'), makePrimaryTab('docker'), makePrimaryTab('proxmox')],[makeUtilityTab({ id: 'settings' }),+ makeUtilityTab({ id: 'actions' }),makeUtilityTab({ id: 'ai' }),makeUtilityTab({ id: 'alerts' }),],@@ -233,6 +234,7 @@ describe('mobileNavBarModel.branchcov2', () => {'proxmox','alerts','ai',+ 'actions',]);expect(layout.overflowDestinations.map((destination) => destination.tab.id)).toEqual(['docker',diff --git a/frontend-modern/src/components/shared/mobileNavBarModel.ts b/frontend-modern/src/components/shared/mobileNavBarModel.tsindex 163a4435b5..b4d3c91482 100644--- a/frontend-modern/src/components/shared/mobileNavBarModel.ts+++ b/frontend-modern/src/components/shared/mobileNavBarModel.ts@@ -16,7 +16,7 @@ export type MobileNavBarPrimaryTab = {};export type MobileNavBarUtilityTab = {- id: 'alerts' | 'ai' | 'settings';+ id: 'alerts' | 'ai' | 'actions' | 'settings';label: string;route: string;tooltip: string;@@ -53,8 +53,12 @@ const MOBILE_NAV_PRIMARY_PRIORITY = ['standalone',] as const;-const MOBILE_NAV_UTILITY_PRIORITY = ['alerts', 'ai', 'settings'] as const;-const MOBILE_NAV_FIXED_UTILITY_IDS = new Set<MobileNavBarUtilityTab['id']>(['alerts', 'ai']);+const MOBILE_NAV_UTILITY_PRIORITY = ['alerts', 'ai', 'actions', 'settings'] as const;+const MOBILE_NAV_FIXED_UTILITY_IDS = new Set<MobileNavBarUtilityTab['id']>([+ 'alerts',+ 'ai',+ 'actions',+]);export function buildOrderedMobileNavTabs<T extends { id: string }>(tabs: T[],@@ -90,7 +94,7 @@ export function buildOrderedMobileNavUtilityTabs(/*** Keep the bottom bar to five predictable targets at most: the primary- * infrastructure destination, the two daily operations destinations, and+ * infrastructure destination, the three daily operations destinations, and* More. Every other admitted platform and utility remains available in More.*/export function buildMobileNavBarLayout(diff --git a/frontend-modern/src/pages/Actions.tsx b/frontend-modern/src/pages/Actions.tsxindex 86820bcc86..1d22b632b8 100644--- a/frontend-modern/src/pages/Actions.tsx+++ b/frontend-modern/src/pages/Actions.tsx@@ -139,8 +139,8 @@ export function Actions() {return (<div class="space-y-6"><PageHeader- title="Activity history"- description="Review every governed operation, approval, execution result, and verified outcome."+ title="Actions"+ description="Review approvals, run ready work, and see what happened."actions={<Buttonvariant="ghost"diff --git a/frontend-modern/src/routing/__tests__/navigation.test.ts b/frontend-modern/src/routing/__tests__/navigation.test.tsindex 50f8574b87..166265a5ef 100644--- a/frontend-modern/src/routing/__tests__/navigation.test.ts+++ b/frontend-modern/src/routing/__tests__/navigation.test.ts@@ -29,9 +29,7 @@ describe('navigation routing helpers', () => {expect(getActiveTabForPath('/settings/security')).toBe('settings');});- it('keeps Activity history as a stable subordinate route identity', () => {- // AppLayout presents this route beneath Patrol, while route identity stays- // distinct for the page title, Assistant context, and durable action review.+ it('keeps Actions as a stable first-class route identity', () => {expect(getActiveTabForPath('/actions')).toBe('actions');expect(getActiveTabForPath('/actions/history')).toBe('actions');});diff --git a/frontend-modern/src/utils/assistantPageContext.ts b/frontend-modern/src/utils/assistantPageContext.tsindex 36f6456e7f..525697cbe7 100644--- a/frontend-modern/src/utils/assistantPageContext.ts+++ b/frontend-modern/src/utils/assistantPageContext.ts@@ -12,7 +12,7 @@ export interface AssistantPageContextPresentation {const VIEW_LABELS: Record<Exclude<ActiveAppTabId, null>, string> = {alerts: 'Alerts',- actions: 'Activity history',+ actions: 'Actions',ai: 'Patrol',docker: 'Docker',kubernetes: 'Kubernetes',diff --git a/tests/integration/tests/04-mobile.spec.ts b/tests/integration/tests/04-mobile.spec.tsindex 6893f62ecd..540d33b78c 100644--- a/tests/integration/tests/04-mobile.spec.ts+++ b/tests/integration/tests/04-mobile.spec.ts@@ -56,6 +56,7 @@ const CANONICAL_MOBILE_SURFACE_ROUTES = ["/alerts/schedule","/alerts/history","/patrol",+ "/actions",] as const;const gotoMobileRoute = async (diff --git a/tests/integration/tests/81-actions-inbox.spec.ts b/tests/integration/tests/81-actions-inbox.spec.tsindex 2dc5b83245..67250658a9 100644--- a/tests/integration/tests/81-actions-inbox.spec.ts+++ b/tests/integration/tests/81-actions-inbox.spec.ts@@ -372,13 +372,17 @@ const routeActionFixtures = async (audit,events: [],readiness: {- ready: audit.state === "planned" || audit.state === "pending_approval",+ ready:+ audit.state === "planned" ||+ audit.state === "pending_approval",code:- audit.state === "planned" || audit.state === "pending_approval"+ audit.state === "planned" ||+ audit.state === "pending_approval"? "ready": "action_not_actionable",message:- audit.state === "planned" || audit.state === "pending_approval"+ audit.state === "planned" ||+ audit.state === "pending_approval"? "Action is ready for approval and dispatch.": "This action is no longer open for approval or dispatch.",refreshable: false,@@ -409,7 +413,7 @@ const routeActionFixtures = async (});};-test("Activity history exposes the canonical decision packet and durable calm history", async ({+test("Actions exposes the canonical decision packet and durable calm history", async ({page,}, testInfo) => {await page.route("**/api/actions?*", async (route) => {@@ -444,9 +448,7 @@ test("Activity history exposes the canonical decision packet and durable calm hiawait page.goto("/actions?action=action-1", {waitUntil: "domcontentloaded",});- await expect(- page.getByRole("heading", { name: "Activity history" }),- ).toBeVisible();+ await expect(page.getByRole("heading", { name: "Actions" })).toBeVisible();await expect(page.getByRole("dialog", { name: "Restart" })).toBeVisible();await expect(page.getByRole("dialog", { name: "Restart" }).getByRole("button", {diff --git a/tests/integration/tests/83-product-trust-accessibility.spec.ts b/tests/integration/tests/83-product-trust-accessibility.spec.tsindex 479c50e4a1..75c3035b65 100644--- a/tests/integration/tests/83-product-trust-accessibility.spec.ts+++ b/tests/integration/tests/83-product-trust-accessibility.spec.ts@@ -7,25 +7,69 @@ import { createAuthenticatedStorageState } from "./helpers";const __dirname = path.dirname(fileURLToPath(import.meta.url));type WorkerFixtures = { authStorageStatePath: string };const test = base.extend<{}, WorkerFixtures>({- storageState: async ({ authStorageStatePath }, use) => use(authStorageStatePath),- authStorageStatePath: [async ({ browser }, use, workerInfo) => {- const storageStatePath = path.resolve(__dirname, "..", "..", "tmp", "playwright-auth", `product-trust-a11y-${workerInfo.project.name}.json`);- fs.mkdirSync(path.dirname(storageStatePath), { recursive: true });- await createAuthenticatedStorageState(browser, storageStatePath);- try { await use(storageStatePath); } finally { fs.rmSync(storageStatePath, { force: true }); }- }, { scope: "worker" }],+ storageState: async ({ authStorageStatePath }, use) =>+ use(authStorageStatePath),+ authStorageStatePath: [+ async ({ browser }, use, workerInfo) => {+ const storageStatePath = path.resolve(+ __dirname,+ "..",+ "..",+ "tmp",+ "playwright-auth",+ `product-trust-a11y-${workerInfo.project.name}.json`,+ );+ fs.mkdirSync(path.dirname(storageStatePath), { recursive: true });+ await createAuthenticatedStorageState(browser, storageStatePath);+ try {+ await use(storageStatePath);+ } finally {+ fs.rmSync(storageStatePath, { force: true });+ }+ },+ { scope: "worker" },+ ],});-test("Activity history remains named, keyboard reachable, and free of horizontal overflow at phone width", async ({ page }, testInfo) => {+test("Actions remains named, directly reachable, keyboard accessible, and free of horizontal overflow at phone width", async ({+ page,+}, testInfo) => {await page.setViewportSize({ width: 390, height: 844 });- await page.route("**/api/actions?*", (route) => route.fulfill({ status: 200, contentType: "application/json", body: JSON.stringify({ view: "pending", actions: [], count: 0 }) }));+ await page.route("**/api/actions?*", (route) =>+ route.fulfill({+ status: 200,+ contentType: "application/json",+ body: JSON.stringify({ view: "pending", actions: [], count: 0 }),+ }),+ );await page.goto("/actions", { waitUntil: "domcontentloaded" });- await expect(page.getByRole("heading", { name: "Activity history", exact: true })).toBeVisible();- await expect(page.getByRole("tablist", { name: "Action views" })).toBeVisible();- await expect(page.getByRole("button", { name: "Refresh actions" })).toBeVisible();- const overflow = await page.evaluate(() => document.documentElement.scrollWidth > document.documentElement.clientWidth);+ await expect(+ page.getByRole("heading", { name: "Actions", exact: true }),+ ).toBeVisible();+ await expect(+ page.getByRole("tablist", { name: "Action views" }),+ ).toBeVisible();+ await expect(+ page.getByRole("button", { name: "Refresh actions" }),+ ).toBeVisible();+ await expect(page.locator('[data-tab-id="actions"]')).toHaveAttribute(+ "aria-current",+ "page",+ );+ await expect(page.locator('[data-tab-id="ai"]')).not.toHaveAttribute(+ "aria-current",+ "page",+ );+ const overflow = await page.evaluate(+ () =>+ document.documentElement.scrollWidth >+ document.documentElement.clientWidth,+ );expect(overflow).toBeFalsy();await page.keyboard.press("Tab");await expect(page.locator(":focus")).toBeVisible();- await testInfo.attach("actions-phone-width", { body: await page.screenshot(), contentType: "image/png" });+ await testInfo.attach("actions-phone-width", {+ body: await page.screenshot(),+ contentType: "image/png",+ });});