fix(cli): preserve ambient Codex filesystem denials - #469
Open
daneschneider-oai wants to merge 3 commits into
Open
fix(cli): preserve ambient Codex filesystem denials#469daneschneider-oai wants to merge 3 commits into
daneschneider-oai wants to merge 3 commits into
Conversation
3 tasks
daneschneider-oai
force-pushed
the
codex/cli-inherit-ambient-deny-rules
branch
from
August 19, 2026 19:19
8cd4f17 to
6ffd750
Compare
daneschneider-oai
marked this pull request as ready for review
August 19, 2026 19:41
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
Codex Security uses a generated Codex home. Preserve filesystem denials from the caller's effective Codex permission configuration when starting a scan, without changing the scanner's intended write access.
Changes
0.148.0-alpha.21release.Testing
bun test --randomize --seed 12345: 1,440 passed, 23 skipped, zero failures.pnpm run test(seed2017813557): 1,440 passed, 23 skipped, zero failures.pnpm run types,pnpm run format, andpnpm run build: passed.codex-cli 0.148.0-alpha.21permission-profile inspection: accepted the intended literal-path and glob overrides without starting a model turn.git diff --check: passed.Risk and rollout
The administrator guide lands with the runtime change, so its README link resolves when this PR merges. The Codex dependencies remain exact prerelease pins: the published stable
0.148.0TypeScript SDK does not contain the required raw-override API. Configurations whose deny rules cannot be represented exactly fail before a scan starts. Permission inspection and execution are separate processes, so a concurrent policy change between them is still possible; this is not an atomic runtime enforcement guarantee.Public disclosure review