Skip to content

fix: find harness CLIs from service environments - #350

Merged
flexdinesh merged 1 commit into
mainfrom
fix-codex-path-lookup
Dec 4, 2026
Merged

flexdinesh merged 1 commit into
mainfrom
fix-codex-path-lookup

Conversation

@flexdinesh

Copy link
Copy Markdown
Owner
  • Resolve Codex, Claude Code, and T3 on their host machine using the process PATH, cached login-shell PATH, and common installer directories. This covers pnpm installations under ~/Library/pnpm/bin and runtimes supplied by shell configuration.
  • Pass the resolved PATH to child processes so CLI shims can launch their runtimes. Codex and Claude retry a missing executable on an explicit check or connect.
  • Verified with a pnpm-style shim, an isolated Stage server, mise run check, mise run build, mise run service:smoke, and TARGETS=all mise run dist. Linux amd64 was smoke-tested natively. Linux arm64 and macOS were cross-built.
  • Rebuilt and reran affected packages after rebasing. A daemon-restart test flaked on both the branch and unmodified main. The Codex package passed on rerun.

@flexdinesh
flexdinesh merged commit ed91d93 into main Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant