From 06013ae397dfc76db5d053526558b7b7d73da546 Mon Sep 17 00:00:00 2001 From: Sreeram Sreedhar Date: Fri, 31 Jul 2026 16:33:48 +0530 Subject: [PATCH] fix(web): make the connection-wide tool default say what it does MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Ask before running" was the label next to an Ask/Allow toggle, so the row stated one of the two states it was asking you to choose between. Now reads: Default โ†’ "Actions that change things ยท Creating, editing, sending โ€” for tools without their own setting below" with [Ask] [Always allow]. Adds the bounds underneath, because the setting is narrower than "allow everything" and nothing said so: raw queries and code always ask whatever this is set to, and scheduled runs and borrowed access only ever use tools allowed individually. Someone flipping this to Always allow could otherwise reasonably assume their automations had just been given write access. Per-tool pills now read "Always allow" too, matching this control and the Slack approval card's button. Co-Authored-By: Claude --- .../settings/company-brain-tool-approvals.tsx | 46 +++++++++++++------ 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/apps/web/components/settings/company-brain-tool-approvals.tsx b/apps/web/components/settings/company-brain-tool-approvals.tsx index 741a3d41..0a9bc907 100644 --- a/apps/web/components/settings/company-brain-tool-approvals.tsx +++ b/apps/web/components/settings/company-brain-tool-approvals.tsx @@ -111,7 +111,7 @@ function ToolRow({ disabled={disabled} options={[ { id: "ask", label: "Ask" }, - { id: "allow", label: "Allow" }, + { id: "allow", label: "Always allow" }, ]} onChange={(id) => onChange(id as ToolApprovalDecision)} /> @@ -225,25 +225,33 @@ export default function CompanyBrainToolApprovals({ ) : ( <>
- Actions that change things + Default
-

- Ask before running - - Applies to any tool without its own setting - -

+
+

+ Actions that change things +

+

+ Creating, editing, sending โ€” for tools without their own + setting below. +

+
update.mutate({ @@ -252,6 +260,16 @@ export default function CompanyBrainToolApprovals({ } />
+

+ Raw queries and code always ask, whatever this is set to. + Scheduled runs and borrowed access only use tools allowed + individually below. +