You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Orca orchestration currently binds a Run coordinator to a live terminal and stable pane. A standalone authenticated client—such as a launcher, desktop integration, or automation controller—can reach the runtime but cannot create or resume a Run, consume its durable FIFO delivery, reply, or acknowledge without borrowing a terminal handle. That weakens integration safety: global inbox reads provide visibility but not coordinator authority.
Proposed solution
Support a bearerless external coordinator principal backed by an existing authenticated saved runtime environment. The runtime should:
advertise a dedicated orchestration.external-coordinator.v1 capability;
accept orchestration run-create --external --environment <saved-environment> only from an authenticated runtime-scoped pairing that negotiated that capability;
bind the Run to the authenticated caller fingerprint and consumer generation;
authorize Run current/check/reply/ack through that fingerprint without a terminal handle;
partition mutation replay by fingerprint, Run, and generation;
revoke/fence external authority when terminal ownership is rebound;
preserve existing terminal, ad-hoc pairing-code, mobile, remote, and SSH behavior.
Alternatives or additional context
Rejected alternatives:
borrowing or fabricating terminal handles;
treating global inbox reads as acknowledgement authority;
minting a new bearer token that could leak through environment inheritance, logs, JSON output, or mutation receipts.
A local implementation and focused proof are ready on branch dallascrilley/nonterminal-coordinator-id.
Orca requires a stable terminal/pane for the coordinator
Strong +1 from a real external-controller use case.
We built a Windows Orca Controller bridge intended to supervise longer-running multi-agent development. One of the major obstacles was exactly the assumption described here: orchestration authority ultimately wants a live Orca terminal / stable pane identity.
From an external controller this produces an awkward dependency inversion: the controller is perfectly capable of maintaining durable Run state and talking to the Orca runtime, but it must borrow or preserve a UI terminal merely to possess coordinator authority.
In our testing this surfaced through stable_pane_required / stable-pane ownership constraints and made unattended coordination substantially more fragile than the worker execution itself.
An authenticated non-terminal coordinator identity would be extremely valuable for:
Windows services / watchdogs;
desktop controller bridges;
CI or automation supervisors;
long-running coordinators that should survive UI terminal churn;
restarting the orchestration controller without manufacturing a fake terminal identity.
The security direction proposed here also seems preferable to weakening the stable-pane checks. We do not want Orca simply accepting arbitrary fabricated handles. We want a real authenticated coordinator principal whose authority can be durably bound and fenced.
This limitation was one of the reasons we ultimately moved our active development workflow away from Orca. Support for a proper external coordinator would materially change the usefulness of Orca for us.
Hi @dallascrilley, thanks for opening this and for the design on dallascrilley/nonterminal-coordinator-id. We hit the same wall: a personal agent daemon (and Hermes users through an MCP server) needs to start Orca workers and get their worker_done / escalation mail without owning a terminal pane.
Your branch is about 11k commits behind main now, so we ported it onto current main to see whether it still fits. It does, with your shape kept as is:
The external coordinator is a paired runtime client: a saved environment (orca environment add, including a loopback pairing for "This computer"). There is no new token, and local-socket callers can never qualify.
run-create --external --environment <env>; later commands with --environment act as that coordinator, and check --wait is the wake path.
Receipts are partitioned per Run and consumer generation, so a terminal run-use takes the Run over and fences the external caller (consumer_fenced).
Gated by orchestration.external-coordinator.v1; older runtimes refuse cleanly in the CLI.
One schema migration, docs and the orchestration skill guide updated.
Would you like to finish and open the PR yourself? We can hand you the rebased branch. Or are you OK with us opening it with Fixes #15828 and you credited as co-author on every commit? Either works for us.
Maintainers: is this shape (paired device as the coordinator identity) acceptable before we open the PR, or would you rather see it split differently? We also have a small follow-up for #37407 on a separate branch: orchestration.events, a long poll that returns message and per-dispatch worker_state events (working / blocked / done) with a cursor, plus orca orchestration watch printing them as NDJSON. It lets an external coordinator see where each worker is without reading terminals. It is independent of this one and gated by its own capability.
We will run both against a dev build end to end before opening anything.
Strong +1. A program-based coordinator should be a first-class orchestration participant.
We are intentionally replacing our LLM coordinator with deterministic scheduling code. Requiring that program to impersonate an interactive terminal or maintain an unnecessary agent session creates avoidable complexity.
Please support authenticated external coordinator identities with:
Persistent Run ownership.
Scoped orchestration permissions.
Durable mailbox access.
Event subscription and explicit acknowledgement.
Restart-safe identity recovery.
Auditable ownership transfers.
Support for headless and paired remote runtimes.
An external program should be able to manage the complete orchestration lifecycle without requiring an LLM or a visible terminal.
This is a foundational capability for treating Orca as production-grade agent execution infrastructure.
Activity
haden111 commentedon Sep 4, 2026
Orca requires a stable terminal/pane for the coordinator
Strong +1 from a real external-controller use case.
We built a Windows Orca Controller bridge intended to supervise longer-running multi-agent development. One of the major obstacles was exactly the assumption described here: orchestration authority ultimately wants a live Orca terminal / stable pane identity.
From an external controller this produces an awkward dependency inversion: the controller is perfectly capable of maintaining durable Run state and talking to the Orca runtime, but it must borrow or preserve a UI terminal merely to possess coordinator authority.
In our testing this surfaced through
stable_pane_required/ stable-pane ownership constraints and made unattended coordination substantially more fragile than the worker execution itself.An authenticated non-terminal coordinator identity would be extremely valuable for:
The security direction proposed here also seems preferable to weakening the stable-pane checks. We do not want Orca simply accepting arbitrary fabricated handles. We want a real authenticated coordinator principal whose authority can be durably bound and fenced.
This limitation was one of the reasons we ultimately moved our active development workflow away from Orca. Support for a proper external coordinator would materially change the usefulness of Orca for us.
krzysztofkobra commentedon Nov 8, 2026
Hi @dallascrilley, thanks for opening this and for the design on
dallascrilley/nonterminal-coordinator-id. We hit the same wall: a personal agent daemon (and Hermes users through an MCP server) needs to start Orca workers and get theirworker_done/escalationmail without owning a terminal pane.Your branch is about 11k commits behind
mainnow, so we ported it onto currentmainto see whether it still fits. It does, with your shape kept as is:orca environment add, including a loopback pairing for "This computer"). There is no new token, and local-socket callers can never qualify.run-create --external --environment <env>; later commands with--environmentact as that coordinator, andcheck --waitis the wake path.run-usetakes the Run over and fences the external caller (consumer_fenced).orchestration.external-coordinator.v1; older runtimes refuse cleanly in the CLI.Would you like to finish and open the PR yourself? We can hand you the rebased branch. Or are you OK with us opening it with
Fixes #15828and you credited as co-author on every commit? Either works for us.Maintainers: is this shape (paired device as the coordinator identity) acceptable before we open the PR, or would you rather see it split differently? We also have a small follow-up for #37407 on a separate branch:
orchestration.events, a long poll that returnsmessageand per-dispatchworker_stateevents (working / blocked / done) with a cursor, plusorca orchestration watchprinting them as NDJSON. It lets an external coordinator see where each worker is without reading terminals. It is independent of this one and gated by its own capability.We will run both against a dev build end to end before opening anything.
0xAlbertChen commentedon Nov 30, 2026
Strong +1. A program-based coordinator should be a first-class orchestration participant.
We are intentionally replacing our LLM coordinator with deterministic scheduling code. Requiring that program to impersonate an interactive terminal or maintain an unnecessary agent session creates avoidable complexity.
Please support authenticated external coordinator identities with:
An external program should be able to manage the complete orchestration lifecycle without requiring an LLM or a visible terminal.
This is a foundational capability for treating Orca as production-grade agent execution infrastructure.
Related: #9228, #37407, #11229.