docs(sf): better message when /sf escalate resolve hits an already-resolved entry
The "already-resolved" branch returned a bare timestamp with no guidance. Auto-accepted escalations especially leave the user wondering what to do — the carry-forward was already injected into the next task, so this command can't retroactively undo the choice. Now the message distinguishes auto-accepted vs user-resolved and, for the auto-accepted case, points to `/sf memory note "..."` as the forward-looking corrective surface (it lands in memory_embeddings on next backfill and influences future ranking). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
daa192a572
commit
c1ce9aac15
1 changed files with 5 additions and 1 deletions
|
|
@ -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}`,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue