OpenClaw Sub-agents: Don't Treat a Reply as a Completion Receipt

OpenClaw's sessions_spawn is non-blocking. It returns a runId and child session when the work is accepted, not when it is complete. This means a parent orchestration session can receive partial output, summarize it, and report success while a child is still running, failed, or lost.
Wait for Completion with sessions_yield
OpenClaw documents sessions_yield as the correct way to wait for completion events. Instead of counting replies, the parent should yield and block until the child session reaches a terminal state.
Durable Workflows with Task Flow
For durable workflows, Task Flow links multi-step work to individual background-task records. This gives you a persistent record of each task's state, making reconciliation possible.
Reconcile Every Child Before Success
The author recommends reconciling every required child before allowing the parent to finish. The reconciliation should include:
parent_run_idchild_run_idterminal_stateverification_receiptcompletion_blocker
Missing or contradictory state should produce incomplete_reconciliation, not success. A failed, cancelled, or lost child may justify a partial or blocked outcome — but only with evidence.
Test Your Orchestrator
Test your setup with three harmless children: one that succeeds, one that returns partial output then fails, and one that remains pending. The parent should refuse success until every child has an authoritative terminal state and the required verification is complete.
If your current orchestrator simply counts replies, it's time to audit it against these requirements.
📖 Read the full source: r/clawdbot
👀 See Also

Structuring Claude Code Agents with CLAUDE.md and .claude/ Directory Patterns
A developer shares their approach to running multiple AI agents using Claude Code, with each agent having its own directory containing a CLAUDE.md file and a .claude/ directory with rules and skills. The key insight is separating always-on context from on-demand workflows to optimize token usage and response quality.

Building Claude Skills to Automate Cognitive Processes
Claude Code includes a built-in skill-creator that lets you build AI-powered skills by describing processes in natural language instead of writing code. The source describes creating a startup validation skill that reduced a 2-day manual process to 15 minutes.

Four aarch64-specific failure modes when running vLLM on Blackwell GB10 with CUDA 13.0
A developer encountered four specific failure modes when setting up vLLM v0.7.1 with DeepSeek-R1-32B on a Blackwell GB10 system running aarch64 architecture with CUDA 13.0, including ABI mismatches and missing dependencies.

OpenClaw 3.22 Upgrade Checklist: Practical Steps from a Developer Who Got Burned
A developer shares specific upgrade steps for OpenClaw 3.22, including checking for deprecated environment variables, creating backups, running migration commands, and verifying plugin compatibility.