mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
Summary: - prepend the configured zsh fork executable directory to PATH for zsh-fork shell-command and unified-exec launches - preserve that PATH value through shell snapshot wrapping so #!/usr/bin/env zsh can resolve to the packaged fork - keep Unix-only zsh-fork PATH mutation out of Windows clippy-visible mutability - cover duplicate PATH entries and snapshot preservation in codex-core runtime tests Test Plan: - just fmt - just fix -p codex-core - cargo test -p codex-core zsh_fork_path_prepend Notes: - cargo test -p codex-core currently aborts in unrelated thread_manager::tests::resume_and_fork_do_not_restore_thread_environments_from_rollout with a stack overflow; rerunning that single test reproduces the same stack overflow.