fix(orchestrator): harden Grok v2 lifecycle (#3578)

Integrate the current Grok settlement, monitor/subagent lifecycle, interrupt containment, steer visibility, and image support stack into the orchestration-v2 branch.

Co-authored-by: codex <[email protected]>
This commit is contained in:
Mike Olsonandcodex authored and Julius Marminge committed 2026-08-15 16:49:58 +02:00
1 parent 0282ab8608
commit e16d4e514b
53 files changed
+15859 -985

No files matched your search

+4 -1
View File
@@ -87,7 +87,10 @@ function resolveThreadAwarenessPhaseV2(
if (thread.pendingRuntimeRequest?.kind === "user_input") {
return "waiting_for_input";
}
if (thread.pendingRuntimeRequest !== null) {
if (
thread.pendingRuntimeRequest !== null &&
thread.pendingRuntimeRequest.kind !== "auth_refresh"
) {
return "waiting_for_approval";
}
switch (thread.status) {