Skip to content

sessions_spawn completion notification fires indefinitely (dedup failure) #19197

@slatem

Description

@slatem

Bug Report

Version: Latest (as of 2026-02-17)
Severity: High — causes runaway token spend

Description

A sessions_spawn subagent completion notification keeps firing every ~5-10 seconds indefinitely after the spawned task completes. The notification is never marked as delivered/acknowledged, creating an infinite loop.

Reproduction

  1. Spawn a subagent via sessions_spawn (in our case, task: renzo-fba-price-check, session: c88dd8e0)
  2. Subagent completes successfully
  3. Completion notification fires back to the parent session
  4. Parent session processes notification and responds with NO_REPLY
  5. Notification fires again ~5-10 seconds later
  6. Loop continues indefinitely

Observed Impact

  • Notification loop ran for 8+ hours (11:52 PM to 7:53 AM EST, Feb 16-17 2026)
  • Hundreds of duplicate NO_REPLY cycles
  • Significant token waste on the parent session

Expected Behavior

Completion notification should fire once, be acknowledged, and not repeat.

Likely Cause

The completion notification delivery/acknowledgment mechanism is not persisting the "delivered" state, so the notification re-enters the queue on each heartbeat or poll cycle.

Environment

  • OpenClaw gateway on macOS (Darwin arm64)
  • Multiple agent sessions via Slack
  • Spawned session completed successfully (no error state)

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions