From 6c132d5db0b36b025eec576cf46bc53d4d585a9e Mon Sep 17 00:00:00 2001 From: Mikael Hugo Date: Sat, 9 May 2026 19:57:56 +0200 Subject: [PATCH] =?UTF-8?q?fix(modes):=20clarify=20Build=20vs=20YOLO=20?= =?UTF-8?q?=E2=80=94=20Build=20can=20still=20pause;=20YOLO=20=3D=20no=20st?= =?UTF-8?q?ops?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build mode: autonomous + broad permissions, may still pause at gates or risky operations. YOLO: Build + deep model + no stops, no confirmations at all. - Fix Ask→Build confirm dialog message (was wrongly saying 'no further prompts') - Fix YOLO notify messages to be accurate about what YOLO uniquely adds - YOLO-off message clarifies Build may still pause Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/resources/extensions/sf/auto.js | 2 +- .../extensions/sf/steerable-autonomous-extension.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/resources/extensions/sf/auto.js b/src/resources/extensions/sf/auto.js index 168e9bf65..639687561 100644 --- a/src/resources/extensions/sf/auto.js +++ b/src/resources/extensions/sf/auto.js @@ -1400,7 +1400,7 @@ export async function startAuto(ctx, pi, base, verboseMode, options) { const confirmed = await showConfirm(ctx, { title: "Switch to Build mode?", message: - "You're in Ask mode. Autonomous execution requires Build mode — SF will execute without further prompts.", + "You're in Ask mode. Build mode runs autonomously with broad permissions — SF may still pause at gates or risky operations. Use Ctrl+Y for YOLO (no stops at all).", confirmLabel: "Switch to Build", declineLabel: "Stay in Ask", }); diff --git a/src/resources/extensions/sf/steerable-autonomous-extension.js b/src/resources/extensions/sf/steerable-autonomous-extension.js index 174643c71..3478b940d 100644 --- a/src/resources/extensions/sf/steerable-autonomous-extension.js +++ b/src/resources/extensions/sf/steerable-autonomous-extension.js @@ -89,11 +89,11 @@ export default function steerableAutonomousExtension(api) { } if (enabled) { const msg = wasAsk - ? "🚀 YOLO — switched to Build · autonomous · deep · unrestricted" - : "🚀 YOLO — autonomous · deep · unrestricted · no git prompts"; + ? "🚀 YOLO — Build mode · no stops · no confirmations" + : "🚀 YOLO — no stops · no confirmations · deep model"; ctx.ui.notify(msg, "success"); } else { - ctx.ui.notify("YOLO OFF — mode restored", "info"); + ctx.ui.notify("YOLO OFF — Build mode restored (may still pause at gates)", "info"); } }, });