Repository navigation
Fail the Codex lane with a setup message when the codex CLI is missing - #133
Merged
Merged
Conversation
codex_lane.py now exits 2 with a clear message, before creating any lane output, when layers are pending and codex is not on PATH; a new host previously got a FileNotFoundError traceback per attempt. The dry run is unaffected. The new codex_lane.py hash is appended to lane-provenance.json. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
seathatflowsinourveins
enabled auto-merge (squash)
September 23, 2026 18:09
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
9 of 22 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On a new WSL or macOS host without the Codex CLI,
codex_lane.pyraised aFileNotFoundErrortraceback for every attempt. It now exits 2 with one setup message when layers are pending andcodexis not onPATH. This happens before it creates any lane output.--dry-runstill prints the commands without the CLI.The new
codex_lane.pyhash is appended tolane-provenance.json, which is append-only.Checks (local, this head)
tests.test_verdict_lane_vendoring,tests.test_codex_laneandtests.test_record_verdicts: 137 tests OK. The newMissingCliTestschecks exit 2, the message, and that nocodexprocess is started.scripts/validate.py,evidence_manifest.py --check,landscape.py,build_verdicts.py --checkandvalidate_convergence.py --all-recorded: all exit 0.origin/main..HEAD: no leaks.🤖 Generated with Claude Code