orca icon indicating copy to clipboard operation
orca copied to clipboard

[Bug]: Orca has stopped recognizing Codex agents

Open matheuspimentaa opened this issue 4 months ago • 3 comments

Operating system

Windows

Orca version

1.4.141.0

Details

Since the last update, Orca has stopped recognizing Codex agents. I use the projects connected via SSH.

Image

matheuspimentaa avatar Jul 14 '26 20:07 matheuspimentaa

Agent reproduction package (Windows orchestration 2026-07-16)

Host context: Windows 11 / Orca 1.4.143.0 / repo path used: docs/bug-reproductions/
Labels applied: see issue labels (has_repro or cannot_repro).
Security: Do not run user-uploaded binaries from issue attachments. Recreate fixtures from the steps/scripts below.


Issue 8763 — Orca has stopped recognizing Codex agents

Status: cannot_repro (local Windows)
Host: Windows 11 10.0.26200, Orca 1.4.143.0
Label: cannot_repro
Issue: https://github.com/stablyai/orca/issues/8763

Summary

Reporter claims Orca stopped recognizing Codex agents after an update, on SSH-connected projects. On this local Windows host with installed Orca 1.4.143, Codex is recognized widely and appears on PATH inside Orca terminals.

Environment

Item Value
Orca 1.4.143.0 (C:\Users\neil\AppData\Local\Programs\orca\Orca.exe)
Codex codex-cli 0.144.4 via C:\Users\neil\AppData\Roaming\npm\codex.ps1
Host setup local only (no SSH remote project registered)

Repro attempt

$env:PATH = "C:\Users\neil\AppData\Local\Programs\orca\resources\bin;" + $env:PATH
orca status
orca agent hooks status --json   # codex hooks: installed
orca worktree ps --json          # many agentType=codex
# Inside an Orca PowerShell terminal:
Get-Command codex   # -> C:\Users\neil\AppData\Roaming\npm\codex.ps1

Evidence

  • docs/bug-reproductions/evidence/agent-summary.json — 14 codex agent rows (plus 13 claude)
  • docs/bug-reproductions/evidence/hooks-status.json — codex hooks state: installed
  • docs/bug-reproductions/evidence/8366-orca-terminal-path-probe.json — Orca terminal PATH includes ...\Roaming\npm and resolves codex
  • docs/bug-reproductions/issues/8763.json — cached issue payload
  • Live host processes include codex.exe / codex.js sessions

Expected vs actual

Expected (reporter) Codex agents not recognized (esp. SSH)
Actual (this host, local) Codex recognized; hooks installed; sidebar/ps show agentType: "codex" with states done / historical

Notes / gaps

  • SSH path not tested — orca project list only has local github:stablyai/orca. If the regression is SSH-only, re-test with a Remote SSH project.
  • Issue body version was 1.4.141; this host is 1.4.143.
  • Related: #8645 / #8629 / #8269 (Codex hooks on Windows/WSL) if recognition depends on hooks.

Conclusion

Cannot reproduce “Codex not recognized” on local Windows 1.4.143 with Codex on PATH.


How another agent should use this

  1. Read this comment fully (status, expected vs actual, blockers).
  2. If a script is included above, copy it to a temp file and run it on a Windows 11 host with Orca installed (prefer production install under %LOCALAPPDATA%\Programs\orca).
  3. Capture evidence (CLI --json, screenshots, logs) under a local folder; optionally comment results back here.
  4. If status is cannot_repro / needs_setup, satisfy the listed prerequisites first, then re-attempt and flip labels: remove cannot_repro, add has_repro when conclusive.

OrcaWin avatar Jul 17 '26 00:07 OrcaWin

This SSH-only recognition report may share the root cause now reproduced in #11941 on current Orca v1.4.163 and Codex 0.146.0: local Claude/Codex and SSH Claude are visible, while SSH Codex emits no Orca hooks when its TUI reuses an older app-server without the pane-scoped ORCA_* environment. Linking rather than marking duplicate until the original environment is reconfirmed.

Turtle-Hwan avatar Aug 01 '26 12:08 Turtle-Hwan

Duplicate of #11941

This looks like the same SSH-only Codex status problem: SSH Codex sessions stop emitting Orca's status hooks when the TUI reuses an existing app-server. We're following it in #11941, so I'm closing this one. If your Codex agents still aren't recognized on a current build and it doesn't match that issue, please reopen with details.

OrcaWin avatar Oct 09 '26 06:10 OrcaWin