diff --git a/frontend-modern/src/components/Settings/ConnectionsExplainer.tsx b/frontend-modern/src/components/Settings/ConnectionsExplainer.tsx index fdafda7e6..12a325e58 100644 --- a/frontend-modern/src/components/Settings/ConnectionsExplainer.tsx +++ b/frontend-modern/src/components/Settings/ConnectionsExplainer.tsx @@ -21,8 +21,6 @@ const persistDismissed = () => { } }; -const ALWAYS_ON_CAPABILITIES = ['Hardware metrics']; - const OPT_IN_CAPABILITIES = ['Assistant commands', 'Patrol remediation']; const AGENT_FACTS = [ @@ -113,34 +111,18 @@ export const ConnectionsExplainer: Component = () => { only path.

-
-
-
- Always on -
-
- - {(label) => ( - - {label} - - )} - -
+
+
+ Off by default, opt in per host
-
-
- Off by default, opt in per host -
-
- - {(label) => ( - - {label} - - )} - -
+
+ + {(label) => ( + + {label} + + )} +
diff --git a/frontend-modern/src/components/Settings/__tests__/ConnectionsExplainer.test.tsx b/frontend-modern/src/components/Settings/__tests__/ConnectionsExplainer.test.tsx index 239246058..f3bb1c26b 100644 --- a/frontend-modern/src/components/Settings/__tests__/ConnectionsExplainer.test.tsx +++ b/frontend-modern/src/components/Settings/__tests__/ConnectionsExplainer.test.tsx @@ -29,12 +29,23 @@ describe('ConnectionsExplainer', () => { expect(screen.getByText(/Primary source for workloads/i)).toBeInTheDocument(); }); - it('surfaces concrete agent capabilities and trust facts users care about', () => { + it('calls out that Assistant / Patrol command execution is opt-in, not default', () => { render(() => ); - for (const capability of ['Hardware metrics', 'Assistant commands', 'Patrol remediation']) { + expect(screen.getByText(/off by default, opt in per host/i)).toBeInTheDocument(); + for (const capability of ['Assistant commands', 'Patrol remediation']) { expect(screen.getByText(capability)).toBeInTheDocument(); } + // The old "Always on: Hardware metrics" framing read as unavoidable + // surveillance. The agent paragraph already names what it collects; + // we don't restate it as an always-on chip. + expect(screen.queryByText(/^Always on$/i)).toBeNull(); + expect(screen.queryByText('Hardware metrics')).toBeNull(); + }); + + it('surfaces trust facts users care about', () => { + render(() => ); + for (const fact of ['Single Go binary', '~13 MB download', 'No runtime dependencies', 'Open source']) { expect(screen.getByText(fact)).toBeInTheDocument(); }