fix(orchestrator): Harden Grok v2 runtime lifecycle

Settle root turns from provider signals and preserve post-settle continuations.

Track asynchronous subagent and monitor work, allow image prompts, and keep steered messages visible.

Separate soft steering from hard Stop while containing and reaping native process trees.
This commit is contained in:
Mike Olson authored and Julius Marminge committed 2026-08-07 13:24:47 +02:00
1 parent 4a33b6715c
commit aebfec6eb9
7 files changed
+5325 -96

No files matched your search

+5
View File
@@ -95,6 +95,11 @@ function logResidualCallbackResponse(kind: string): void {
NodeFS.appendFileSync(residualCallbackResponseLogPath, `${kind}\n`, "utf8");
}
function logResidualCallbackResponse(kind: string): void {
if (!residualCallbackResponseLogPath) return;
NodeFS.appendFileSync(residualCallbackResponseLogPath, `${kind}\n`, "utf8");
}
process.once("SIGTERM", () => {
logExit("SIGTERM");
process.exit(0);