From 8bdab4ac56c4a834f764359d1cb4a59fe1fcb65f Mon Sep 17 00:00:00 2001 From: Lyon <88232613+pikasTech@users.noreply.github.com> Date: Wed, 24 Jun 2026 14:35:14 +0800 Subject: [PATCH] fix(workbench): require explicit terminal trace authority (#2043) --- internal/cloud/workbench-turn-projection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cloud/workbench-turn-projection.ts b/internal/cloud/workbench-turn-projection.ts index 08b3dcee..67b1ac66 100644 --- a/internal/cloud/workbench-turn-projection.ts +++ b/internal/cloud/workbench-turn-projection.ts @@ -251,7 +251,7 @@ function terminalTraceEventEvidence(events = []) { const event = events[index]; if (!event || typeof event !== "object") continue; if (retryableProviderInterruptionEvidence(event)) continue; - const terminal = event.terminal === true || event.final === true || event.replyAuthority === true; + const terminal = event.terminal === true; if (!terminal) continue; const status = terminalStatusFromValue(event.status ?? event.terminalStatus) ?? (event.error || event.errorCode ? "failed" : "completed"); return {