fix(modes): clarify Build vs YOLO — Build can still pause; YOLO = no stops
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>
This commit is contained in:
parent
b9ea000341
commit
6c132d5db0
2 changed files with 4 additions and 4 deletions
|
|
@ -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",
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue