Skip to content

feat(relay): let macOS/Linux receivers locate or pin the Codex executable explicitly #171

Closed

Description

@abruption

Summary

macOS and Linux receiver bindings cannot pin the Codex executable. codexBin is accepted only for WSL bindings, where it must be codex.exe together with codexPython (validate_wsl_codex). A Unix receiver therefore depends on the service manager's PATH. launchd's default PATH does not include common install locations such as ~/.local/bin (standalone Codex) or /opt/homebrew/bin (Homebrew cask). In the RC4 campaign (#164), this made every macOS Codex delivery fail (see #176).

Options

  1. Allow codexBin for Unix Codex bindings: an absolute path to an executable named codex, validated as a regular executable. Resolve symlinks deliberately, because standalone Codex installs use versioned symlinks.
  2. Or keep PATH-based discovery and document that the service PATH must contain the directory of the same Codex binary the target TUI uses. doctor or receiver startup should fail closed with a clear reason when it is missing.

Acceptance

  • The policy validation and docs agree on how a macOS or Linux receiver locates Codex.
  • Receiver startup or a resolve check reports a missing executable before any send.
  • Paired-device docs cover launchd and systemd examples in all four languages.

Activity

  1. added this to the v1.0.1 milestone on Sep 24, 2026
  2. changed the title [-]fix(relay): report pre-delivery native failures as refused instead of native_outcome_unknown[/-] [+]feat(relay): let macOS/Linux receivers locate or pin the Codex executable explicitly[/+] on Sep 24, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions