From 925dfa6da51f9fa070025b05e4e33ffd176e6c59 Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Sun, 8 Nov 2026 15:23:07 -0500 Subject: [PATCH] fix(orchestration): keep the terminal_busy code and its data on the wire --- src/main/runtime/rpc/errors.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/runtime/rpc/errors.ts b/src/main/runtime/rpc/errors.ts index 5b57b3ab3e6..4fe418b297c 100644 --- a/src/main/runtime/rpc/errors.ts +++ b/src/main/runtime/rpc/errors.ts @@ -157,6 +157,8 @@ const STRUCTURED_RUNTIME_PASSTHROUGH_CODES: ReadonlySet = new Set([ 'worker_prompt_too_large', 'terminal_worktree_mismatch', 'terminal_is_coordinator', + // Another open Dispatch holds the terminal; data names it and says no effects were applied. + 'terminal_busy', // The user chose Keep open; only they can undo it, so a coordinator must not retry blindly. 'terminal_kept_open', 'worker_cannot_coordinate_own_run',