Skip to content

Commit 224785c

Browse files
fix(agents): surface blocked subagent completions
1 parent 1067321 commit 224785c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Docs: https://docs.openclaw.ai
2121

2222
### Fixes
2323

24+
- Agents/subagents: surface blocked child-run completions as errors instead of successful subagent finishes. (#80886) Thanks @TurboTheTurtle.
2425
- WhatsApp: update Baileys to `7.0.0-rc13` and drop the obsolete logger type patch.
2526
- 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)
2627
- 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)

src/agents/subagent-announce-output.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ export function applySubagentWaitOutcome(params: {
377377
}
378378
const waitError = typeof params.wait?.error === "string" ? params.wait.error : undefined;
379379
let outcome = next.outcome;
380+
// Capture/announcement callers can pass raw wait snapshots that bypass the primary normalizers.
380381
if (isBlockedLivenessState(params.wait?.livenessState)) {
381382
outcome = { status: "error", error: formatBlockedLivenessError(waitError) };
382383
} else if (params.wait?.status === "timeout") {

0 commit comments

Comments
 (0)