Skip to content

Add durable agent bindings and child execution #879

Closed

Description

@dcramer

Objective

Add durable agent bindings and invocations, then prove a child conversation can execute independently through the shared conversation worker without model-facing tools.

Scope

  • Add a stable agent binding for named continuity and execution policy.
  • Add a durable invocation for each delegated task, including input, lifecycle, terminal result, and parent-notification state.
  • Create or reuse a child conversation with immutable parentConversationId lineage.
  • Allow child conversation work to be runnable without a conversation-level provider delivery destination; the invocation supplies bounded execution authority and an internal result target.
  • Enqueue invocation input as stable child mailbox work.
  • Run the child through the same lease, start/resume decision, session records, execution slices, terminalization, and recovery workflow proven by Unify new and resumed turns in the conversation worker #876 and Migrate agent dispatch onto the conversation worker #882.
  • Persist one terminal invocation result; parent delivery is added in Deliver subagent results through a durable parent outbox #878.
  • Keep recursive delegation disabled.

Completion

  • Named bindings may reuse one isolated child conversation; ephemeral work creates a new child conversation.
  • Every invocation has a stable id used as, or to derive, the mailbox idempotency key.
  • Child work survives execution-slice timeout, worker loss, queue redelivery, and missing wake-ups.
  • Destinationless child conversation work can be woken, leased, started, and resumed through the normal conversation queue.
  • Parent completion or idleness does not cancel the child.
  • One invocation produces at most one durable terminal result.
  • Child authority, credentials, tools, visibility, and workspace scope do not exceed the parent-provided bounds.
  • The proof works without model-facing spawn/result tools.

Activity

  1. added
    enhancement
    on Jul 13, 2026
  2. changed the title [-]Add durable subagent conversations and independent queue execution[/-] [+]Add durable agent bindings and child execution[/+] on Jul 23, 2026
  3. sentry-junior commented on Aug 6, 2026

    @sentry-junior
    Contributor

    Follow-up outside this slice (tracked on master #883 and #881): child runs disable interactive-auth today and hard-fail missing credentials. May later need a path to force interactive auth when a delegated tool requires credentials the parent can already request.

  4. added a commit that references this issue on Aug 7, 2026
    a19cfb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfeature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions