diff --git a/CHANGELOG.md b/CHANGELOG.md index b4dba6b3b14..f635e8fe4fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Docs: https://docs.openclaw.ai ### Fixes +- Agents/subagents: surface blocked child-run completions as errors instead of successful subagent finishes. (#80886) Thanks @TurboTheTurtle. - WhatsApp: update Baileys to `7.0.0-rc13` and drop the obsolete logger type patch. - Infra/json: retry transient `File changed during read` races while loading JSON state so config and state reads recover instead of failing the turn. (#84285) - Providers/Ollama: resolve configured Ollama Cloud `OLLAMA_API_KEY` markers to the real discovery key so cloud provider entries keep authenticated model catalog access. (#85037) diff --git a/src/agents/subagent-announce-output.ts b/src/agents/subagent-announce-output.ts index ecf3c3b02e5..7481cfc22e1 100644 --- a/src/agents/subagent-announce-output.ts +++ b/src/agents/subagent-announce-output.ts @@ -377,6 +377,7 @@ export function applySubagentWaitOutcome(params: { } const waitError = typeof params.wait?.error === "string" ? params.wait.error : undefined; let outcome = next.outcome; + // Capture/announcement callers can pass raw wait snapshots that bypass the primary normalizers. if (isBlockedLivenessState(params.wait?.livenessState)) { outcome = { status: "error", error: formatBlockedLivenessError(waitError) }; } else if (params.wait?.status === "timeout") {