-
-
Notifications
You must be signed in to change notification settings - Fork 52.5k
Closed
Description
Summary
When spawning a subagent via sessions_spawn, the subagent executes successfully (status: done) but the results are not delivered back to the main session.
Environment
- OpenClaw version: 2026.2.24 (Docker)
- Subagent model: openai-codex/gpt-5.1-codex-mini
- Channel: Telegram
- Host: Docker container
Steps to Reproduce
- Spawn a subagent with
sessions_spawn(agentId="memos-v2", task="...") - Subagent executes and returns
donestatus - Check main session - results are NOT delivered
Expected Behavior
Subagent results should be announced/delivered to the requester session automatically.
Actual Behavior
- Subagent executes successfully (status: done)
- Subagent session logs show the response is generated correctly
- But no message appears in main session (Telegram)
Evidence
Subagent Status
status: done
runtimeMs: 15826
model: openai-codex/gpt-5.1-codex-mini
totalTokens: 7013 (in 6.2k / out 1.5k)
Subagent Session Log (shows response was generated)
{"type":"message","role":"assistant","content":[{"type":"text","text":"Result: fetched 3 memos..."}]}Main Session Log (no delivery)
✅ Subagent memos-v2 finished
[Subagent Context] You are running as a subagent...
[Subagent Task]: ...
Only the task description is echoed back, not the actual result.
Workaround
Currently using main agent to execute tasks directly instead of subagents.
Related
- v2026.2.24 added
direct-announce retriesbut issue persists - v2026.2.22 added
announceTimeoutMsconfiguration
Additional Context
This affects:
- memos-v2 agent (CRUD operations)
- Any subagent spawned via sessions_spawn
- Results are generated but not routed back to requester
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels