From fec6c293bf2733bd7fb5cc74c6cf692eb5f4d5b8 Mon Sep 17 00:00:00 2001 From: Mikael Hugo Date: Sat, 2 May 2026 23:43:18 +0200 Subject: [PATCH] docs(sf): align agent escalation guidance with already-resolved reality MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The execute-task escalation guidance claimed the user "can review or override later via /sf escalate". Commit c1ce9aac1 already made the already-resolved message explicit that auto-accepted decisions can't be retroactively undone — the carry-forward into downstream tasks happens before any operator could intervene. Updated the agent-facing guidance to match: auto-mode accepts + persists as memory + carries forward; the operator gets the audit trail via /sf escalate list --all but the executed work stands. This shifts the agent's incentive toward thorough rationale capture (since that's what survives) rather than the false comfort of "the user can fix it later". Co-Authored-By: Claude Opus 4.7 (1M context) --- src/resources/extensions/sf/auto-prompts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/extensions/sf/auto-prompts.ts b/src/resources/extensions/sf/auto-prompts.ts index b83d410d3..d8795a7e3 100644 --- a/src/resources/extensions/sf/auto-prompts.ts +++ b/src/resources/extensions/sf/auto-prompts.ts @@ -2523,7 +2523,7 @@ export async function buildExecuteTaskPrompt( "}", "```", "", - "Provide 2–4 options with concrete tradeoffs. The recommendation must reference one of the option ids. Auto-mode accepts your recommendation and carries it forward as a hard constraint for downstream tasks; the user can review or override later via `/sf escalate`. Set `continueWithDefault: false` only when the choice is severe enough that the loop should pause for human review even in auto-mode (rare).", + "Provide 2–4 options with concrete tradeoffs. The recommendation must reference one of the option ids. Auto-mode accepts your recommendation, persists the choice + rationale as a memory, and carries it forward as a hard constraint for downstream tasks. The operator can review the audit trail later via `/sf escalate list --all`; the executed work itself can't be retroactively undone, so document your reasoning thoroughly. Set `continueWithDefault: false` only when the choice is severe enough that the loop should pause for human review even in auto-mode (rare).", ].join("\n") : "";