From 8f43a6d801d209d129b2d4fef663899cda75f6a1 Mon Sep 17 00:00:00 2001 From: Nicky Leach Date: Tue, 27 Oct 2026 14:58:49 -0700 Subject: [PATCH] Keep setup rationale in the pull request Remove the explanatory source comment to follow the contributor policy. The runtime expression and the 140 passing regression tests are unchanged. The previous commit passed all automated CI checks. Co-Authored-By: Paperclip --- ui/src/components/new-agent/NewAgentSetup.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/components/new-agent/NewAgentSetup.tsx b/ui/src/components/new-agent/NewAgentSetup.tsx index 18566224a84..3e22e012835 100644 --- a/ui/src/components/new-agent/NewAgentSetup.tsx +++ b/ui/src/components/new-agent/NewAgentSetup.tsx @@ -414,7 +414,6 @@ function Setup({ ); const needsCurrentSetup = ["codex_local", "claude_local", "opencode_local", "pi_local"].includes(adapterType); const preparingComputer = created?.pauseReason === "setup" && ["preparing", "pausing"].includes(created.lifecycleState ?? ""); - // Drafts from the name/adapter dialog can inherit the policy's environment. const environmentSelectionSaved = (!environmentOverride && created?.defaultEnvironmentId == null) || (created?.defaultEnvironmentId ?? null) === (environmentOverride || (forced.forced || managedOnly ? environmentId : null)); const ready = Boolean(created) && environmentSelectionSaved && !environmentSaving && !preparingComputer && connectionSettingsReady && (!needsCurrentSetup || (