[4/5] Inspect bundled Codex CLI correctly - #54
Merged
Conversation
ebarti
marked this pull request as ready for review
July 28, 2026 16:49
ebarti
force-pushed
the
agent/sdk-evolution-evidence-integrity
branch
from
July 28, 2026 17:56
754ed04 to
7bd2725
Compare
ebarti
force-pushed
the
agent/sdk-evolution-cli-bin-snapshots
branch
from
July 28, 2026 17:58
ccaa476 to
6b0af81
Compare
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
openai-codex-cli-bindistribution to its realcodex_cli_binimport modulebundled_codex_path(), and an existing regular file before the binary probe passesbinary-distributionprobe identity for every in-process and embedded failure pathStack
Review notes
Two correctness passes covered wrong-module snapshots, metadata/import/helper/conversion/file-check failures, invalid helper returns, regular-file semantics, embedded probe labels, cross-platform path forms, diagnostic bounds, and path-bearing messages with spaces. No actionable findings remain.
Validation
PYTHONPATH=. .venv/bin/python -m pytest -q— 477 passed, 8 skipped.venv/bin/ruff check ..venv/bin/mypygit diff --checkSecurity-diff scans were intentionally not part of this phase review.