Skip to content

Orchestration skills: handoff, advisor, committee as one-commands #338

Closed

Description

@currentbits

Inspired by Paseo's agent-orchestration skills (Show HN June 2026): /handoff (plan with Claude, implement with Codex), /advisor (second-opinion agent on demand), /committee (two contrasting agents root-cause a problem together).

Package Solenta's multi-provider strengths as named, invocable orchestration patterns rather than manual thread choreography. Each is a composition of existing machinery (forks, #237 handoffs, #259 cross-model review) with a one-word entry point in the composer.

Activity

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

    @currentbits
    OwnerAuthor

    Deep-dive detail (Paseo committee): the convergence loop is the differentiator vs parallel best-of-N — two contrasting-provider agents get the same prompt, then their DISAGREEMENTS are routed through each other until consensus. Adversarial convergence, not just racing.

  3. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Research note (Anthropic multi-agent patterns, Aug 2026): the conformity finding is the strongest argument yet for CROSS-PROVIDER orchestration. Same-model agents are low-variance: 18 of 30 picked the identical branch name; agents make the same bad decision systemically. Diversity must be injected deliberately — Solenta's multi-provider roster is the structural antidote. Also: in their game-building swarms, newer models 'solved' PR conflicts only by siloing (high file ownership, no real collaboration); only the newest model shared code AND merged. Multi-agent code collaboration needs explicit structure — siloing is the default failure mode.

  4. added
    plan:doing
    and removed
    plan:todo
    on Aug 18, 2026
  5. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Implementation landing on coder/orchestration-skills-handoff-advisor-com-21afa0.

    Shape: /handoff [@provider] <task>, /advisor [@provider] <question>, /committee [@a] [@b] <problem>. Parsing and prompt text are pure (electron/orchcommands.js); the fan-out is dispatchOrchCommand in electron/runner.js, intercepted in startRun next to the existing pendingFork hop.

    Decisions worth recording:

    • Intercepted in the runner, not the renderer. The composer menu only inserts text, so the commands also work from an agent, a notice or the CLI path. The cheap /-prefix test keeps the provider probe off the ordinary send path, and fromNotice turns are never parsed — a worker quoting the command back would otherwise fan out again.
    • Defaults contrast deliberately. Without @provider args the workers come from the installed set excluding the caller's own provider — the conformity finding in the research note above is the reason the default must not collapse to one model.
    • Only /handoff takes a worktree. A worker worktree branches from the default branch, and a second opinion on the default branch is not a second opinion on the work in progress, so /advisor and /committee read the caller's checkout (read-only by contract, not by sandbox) and are pointed at it in their prompt.
    • Committee convergence runs between the members, not through the lead. Each member gets its peers' thread ids and argues via peer_send, capped at three rounds and by CREW_AUTO_TURN_CAP; the lead is woken by the ordinary worker-finished notices. No new state on the lead thread, nothing to clear.
    • A worker that fails to start is dropped as an orphan; peers already running are kept and the lead's event says which never went out. Only an empty fan-out throws.

    Built with two Grok workers in parallel against a committed contract stub (pure module / composer menu), which is the same pattern this issue is about.

  6. added
    plan:done
    and removed
    plan:doing
    on Aug 18, 2026
  7. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Implementation complete on coder/orchestration-skills-handoff-advisor-com-21afa0, ready to merge.

    electron/orchcommands.js            parse + worker prompts + dispatch note (pure)
    electron/runner.js                  dispatchOrchCommand, intercepted in startRun
    src/components/Composer.tsx         / menu (discoverability only, 128 lines)
    electron/test/orchcommands.test.js  13 unit tests
    electron/test/orch-commands.test.js  5 seam tests (real parser -> real runner -> real store)
    test/composerCommands.test.tsx       6 menu tests
    docs/ARCHITECTURE.md, src/shared/ipc.ts
    

    Renderer 938/938, electron 1193 with one load-sensitive memory-sup timeout that passes in isolation and is untouched by this change. tsc --noEmit clean.

    Built with two Grok workers in parallel off a committed contract stub; the seam test is what proved the join, and it passed first try.

  8. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 22: the composer `/` popup is still only these three verbs. That is the right home for handoff/advisor/committee, but CLI users type `/compact` / `/rewind` / `/usage` into the same slot and today those strings go to the model.

    Filed #472 to grow the palette. Keep this ticket as the runner for the three orch skills. #472 is discoverability + wiring of verbs we already have tickets for.

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