Skip to content

Deliver subagent results through a durable parent outbox #878

Closed

Description

@dcramer

Objective

Deliver terminal subagent results to parent conversations through a durable invocation-result outbox and idempotent parent-mailbox input.

Do not reuse provider resource-event subscriptions as the internal result protocol.

Scope

  • Persist a terminal invocation result and recoverable parent-notification state.
  • Create a stable parent inbound-message identity derived from the invocation.
  • Append the result to the parent mailbox idempotently, then send a conversation queue wake-up hint.
  • Treat queue delivery as at-least-once; exactly-once observable behavior comes from stable invocation and inbound-message identities.
  • Keep notification repair discoverable from durable invocation state when parent mailbox delivery or queue wake-up fails.
  • Deliver results even when the parent is idle or its originating turn already completed.

Completion

  • One invocation terminal result produces at most one parent inbound-message effect.
  • Duplicate outbox delivery and queue redelivery are idempotent.
  • Failed parent notification remains queryable and repairable.
  • Parent completion does not discard child results.
  • Internal result delivery does not depend on Slack or provider resource subscriptions.
  • Integration coverage proves success, duplicate delivery, missing wake repair, parent idleness, and permanent notification failure visibility.

Activity

  1. changed the title [-]Generalize conversation event subscriptions for internal agent results[/-] [+]Deliver subagent results through a durable parent outbox[/+] on Jul 23, 2026
  2. sentry-junior commented on Oct 15, 2026

    @sentry-junior
    Contributor

    The result delivery path is in #2106; the remaining gap is integration coverage showing permanent parent-notification failures stay visible and queryable.

  3. sentry-junior commented on Nov 9, 2026

    @sentry-junior
    Contributor

    Folding into #2567. Result delivery shipped in #2106; the remaining gap (keeping permanent parent-notification failures visible) is listed among #2567's child-result bugs.

    Closed during a tracker cleanup. Reopen if this still needs separate tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions