diff --git a/src/resources/extensions/sf/escalation.ts b/src/resources/extensions/sf/escalation.ts index 963ed007b..63ddd03fc 100644 --- a/src/resources/extensions/sf/escalation.ts +++ b/src/resources/extensions/sf/escalation.ts @@ -328,9 +328,13 @@ export function resolveEscalation( }; } if (art.respondedAt) { + const wasAuto = art.userRationale?.startsWith("auto-mode:"); + const detail = wasAuto + ? ` (auto-accepted in auto-mode → choice="${art.userChoice}"; the carry-forward was already injected into the downstream task, so this can't be retroactively changed via /sf escalate resolve. Capture the corrective decision as \`/sf memory note "..."\` so future tasks pick it up.)` + : ` (resolved by user → choice="${art.userChoice}").`; return { status: "already-resolved", - message: `Escalation for ${taskId} was already resolved at ${art.respondedAt}.`, + message: `Escalation for ${taskId} was already resolved at ${art.respondedAt}${detail}`, }; }