Skip to content

Provider handoff: continue a thread with a different provider mid-task #237

Closed

Description

@currentbits

Inspired by Synara's provider handoffs and T3 Code's mid-thread provider switching.

Let the user switch a thread to a different provider (claude -> codex -> kimi ...) while keeping the worktree, git state, and thread history. The new provider's first turn gets a recap/handoff summary seeded into its session, since provider-native context does not transfer.

Solenta already has fork/hand-off machinery (ThreadInfo.handoffFrom, one-time context prefix on first turn) used for orchestrator->worker forks; this is the user-facing provider-switch version of the same idea.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Research note (OpenAI Agents SDK): make the handoff payload typed and filtered. 'Handoff when responsibility moves, agent-as-tool when expertise is borrowed'; the receiving agent should get a structured brief with an explicit input filter controlling what history it sees, not the whole thread. Approval states should be persisted and resumable (approve hours later, run resumes consistently).

  3. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Deep-dive detail (Paseo): the handoff briefing template as a first-class artifact — zero-context structure with 'What was tried and why it failed' and 'preserve task semantics' sections. A concrete quality bar for the handoff prompt, testable.

  4. added a commit that references this issue on Oct 6, 2026
  5. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 9, 2026
  6. currentbits commented on Oct 9, 2026

    @currentbits
    OwnerAuthor

    Gap pass #1532 checked this against main @24d3c36b (v0.24.0): shipped in #1494 (9d1fb7d). setProvider (electron/services-threads.js:729) switches provider mid-task and keeps the worktree and history. The new provider's first turn then gets the thread's recent history replayed (:848).

    Ideas raised only in comments are not done: a structured handoff brief, a filter on how much history is passed, and approvals that persist and can resume. File them separately if they're still wanted.

  7. added
    plan:doing
    plan:done
    and removed
    plan:done
    plan:doing
    on Oct 9, 2026
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

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions