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
{{ message }}
Repository navigation
[Bug]: WSL OMP orchestration worker is not reusable after worker_done #7377
An OMP agent launched from Orca's agent picker inside a WSL-backed git worktree accepts orchestration dispatches and can report worker_done, but the same worker stops being reusable after a completed dispatch.
Observed flow:
Start an OMP agent from the Orca UI agent picker in a WSL git worktree.
Dispatch a task with orca-ide orchestration dispatch --inject.
The worker receives the task and sends worker_done.
Dispatch a larger task to the same OMP terminal with --inject; after a clarification via decision_gate, it completes and sends worker_done.
Try to dispatch a follow-up/correction task to the same terminal handle with --inject.
Actual result:
Cannot dispatch --inject to terminal <handle>: no recognized agent detected...
The terminal still exists and is writable. Its title remains something like:
π: Orca dispatched worker brief
Plain orchestration inbox delivery also appears stuck after completion:
orca-ide orchestration send ... creates a message, but it remains read: 0 and delivered_at: null.
orca-ide orchestration check --terminal <handle> --unread --inject formats the message, but still does not deliver it to the worker prompt.
Expected result:
The worker preamble says a worker should remain available after worker_done, poll orca orchestration check, and accept a fresh preamble + TASK if re-dispatched. The same OMP worker terminal should therefore remain recognized as an agent and be reusable for follow-up dispatches.
This may be related to WSL OMP status/inbox delivery, but it is a separate orchestration failure: injected dispatches work, worker_done works, and then the same OMP worker becomes non-reusable after completion.
Retested on v1.4.123 with Windows 11 + WSL2 Ubuntu.
Good news: part of this is now fixed/improved compared with the original report.
What now works:
Creating an OMP worker from the CLI with an explicit WSL worktree selector now opens as a native/recognized OMP agent tab, not just a plain terminal running omp:
Two sequential orchestration dispatch --inject tasks to the same CLI-created OMP worker handle succeeded, and both returned worker_done.
So the CLI-created worker path appears much better after #6750 / v1.4.123, as long as the caller uses an explicit path: or id: worktree selector.
Still broken / remaining issue:
Plain orchestration inbox delivery to that same OMP worker does not reach the OMP prompt.
Repro:
orca-ide orchestration send \
--to <omp-worker-handle> \
--subject "Inbox smoke 2" \
--body "If you see this, reply to this message." \
--json
The message is created successfully, but OMP does not receive it or react to it. A later non-consuming check shows the message still unread and undelivered:
For comparison, running orchestration check --terminal <omp-worker-handle> --unread --inject --json from the coordinator returns a formatted message block to the caller, but that appears to read/consume the worker inbox entry from the DB; it does not inject into the worker terminal prompt.
FYI: hit the same terminal-level symptom (no recognized agent detected on dispatch --inject, worker permanently un-dispatchable) on macOS with Orca 1.4.141 — i.e. after the 1.4.131 retest window that closed this. The trigger there differs (runtime restart kills the agent process inside surviving terminals; a relaunch via orca terminal send is never re-recognized — likely the #7797 detection gap rather than this issue's original WSL path). Filed with a full repro as #8808 rather than reopening, per the WSL scope of the retest here.
Activity
euclodius commentedon Jul 5, 2026
Retested on v1.4.123 with Windows 11 + WSL2 Ubuntu.
Good news: part of this is now fixed/improved compared with the original report.
What now works:
omp:orchestration dispatch --injecttasks to the same CLI-created OMP worker handle succeeded, and both returnedworker_done.So the CLI-created worker path appears much better after #6750 / v1.4.123, as long as the caller uses an explicit
path:orid:worktree selector.Still broken / remaining issue:
Plain orchestration inbox delivery to that same OMP worker does not reach the OMP prompt.
Repro:
The message is created successfully, but OMP does not receive it or react to it. A later non-consuming check shows the message still unread and undelivered:
{ "subject": "Inbox smoke 2", "type": "status", "read": 0, "delivered_at": null }For comparison, running
orchestration check --terminal <omp-worker-handle> --unread --inject --jsonfrom the coordinator returns a formatted message block to the caller, but that appears to read/consume the worker inbox entry from the DB; it does not inject into the worker terminal prompt.Notes:
--worktree activeis still not reliable from WSL because of the UNC/cwd fallback issue tracked in [Bug]: WSL orca-ide CLI loses cwd when Windows cmd.exe falls back from UNC path #6965, so this retest used an explicit WSL UNCpath:selector.Jinwoo-H commentedon Jul 10, 2026
Retested on Orca 1.4.131 with Windows + Ubuntu WSL and OMP 16.2.11.
Verified:
orchestration dispatch --injecttasks after twoworker_donecompletions;delivered_atand appeared in the OMP prompt.The original reuse failure is no longer reproducible, and the remaining status/inbox path is covered by #7642 and #7641. Closing as fixed.
guiguandotnet commentedon Jul 15, 2026
FYI: hit the same terminal-level symptom (
no recognized agent detectedondispatch --inject, worker permanently un-dispatchable) on macOS with Orca 1.4.141 — i.e. after the 1.4.131 retest window that closed this. The trigger there differs (runtime restart kills the agent process inside surviving terminals; a relaunch viaorca terminal sendis never re-recognized — likely the #7797 detection gap rather than this issue's original WSL path). Filed with a full repro as #8808 rather than reopening, per the WSL scope of the retest here.