Skip to content

[Bug]: Codex, Amp & Droid agent status not shown in task tree over SSH remote (works locally; Claude/Hermes OK over SSH) #7253

Closed

Description

@leter

Summary

Agent status rows for Codex, Amp, and Droid never appear in the worktree task tree when the workspace is an SSH remote. The same agents show up correctly when the project is local. Claude Code and Hermes do show up over SSH, so the SSH link itself is not fully broken — it looks like the per-agent hook status is not being routed back through the remote relay for some agents.

Environment

  • Mode: SSH remote workspace (agent processes run on the remote host, Orca desktop is local)
  • Orca desktop: 1.4.120.0 on Windows 11 25H2 (local)
  • Remote host: Linux (x86_64, Ubuntu, kernel 7.0)
  • Codex CLI: codex-cli 0.142.5
  • Amp: 0.0.1783081993-g921ca9
  • Claude Code: 2.1.199

Expected

Codex, Amp, and Droid sessions running in an SSH-remote worktree appear as agent rows in the worktree card / task tree, with live status (working / done / prompt preview), the same as they do locally.

Actual

  • ✅ Claude Code — row shows, live prompt/status update correctly (over SSH)
  • ✅ Hermes — row shows Done / status (over SSH)
  • ❌ Codex — no agent row appears at all
  • ❌ Amp — no agent row appears at all
  • ❌ Droid — no agent row appears at all

Locally (non-SSH) all of these show correctly.

Notes / suspected area

From the public source, agent status normally arrives via the per-agent hook services (src/main/codex/hook-service.ts, src/main/droid/hook-service.ts, src/main/amp/…, etc.) POSTing to the local listener. Over SSH this is instead routed through the relay (src/relay/agent-hook-server.ts, src/main/ssh/ssh-relay-session.ts, REMOTE_AGENT_HOOK_ENV, agent-hook-relay, per docs/design/agent-status-over-ssh.md). Because Claude/Hermes work but Codex/Amp/Droid don't, the failure looks specific to how those agents' hooks are installed/trusted or routed on the remote side — e.g. Codex requires a managed CODEX_HOME + a trust entry in config.toml, which may not be getting set up on the remote.

Repro

  1. Open an SSH remote workspace / worktree in Orca (Windows 11 desktop → Linux remote host).
  2. Launch Codex, Amp, and Droid sessions in that worktree (through Orca).
  3. Also launch Claude Code (for comparison).
  4. Observe the worktree card / task tree: Claude gets an agent row; Codex, Amp, and Droid do not.

Happy to grab logs or check hook-install status on the remote if you tell me where to look.

Activity

  1. changed the title [-][Bug]: Codex & Amp agent status not shown in task tree over SSH remote (works locally; Claude/Hermes OK over SSH)[/-] [+][Bug]: Codex, Amp & Droid agent status not shown in task tree over SSH remote (works locally; Claude/Hermes OK over SSH)[/+] on Jul 3, 2026
  2. added a commit that references this issue on Jul 9, 2026
  3. added theissue type on Jul 12, 2026
  4. 6 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions