Skip to content

Subagent results not delivered to main session (announce delivery fails) #26741

@creator-hian

Description

@creator-hian

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

  1. Spawn a subagent with sessions_spawn(agentId="memos-v2", task="...")
  2. Subagent executes and returns done status
  3. 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 retries but issue persists
  • v2026.2.22 added announceTimeoutMs configuration

Additional Context

This affects:

  • memos-v2 agent (CRUD operations)
  • Any subagent spawned via sessions_spawn
  • Results are generated but not routed back to requester

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions