-
Notifications
You must be signed in to change notification settings - Fork 802
refactor: share Codex session execution #917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mldangelo-oai
wants to merge
19
commits into
main
Choose a base branch
from
mdangelo/codex/shared-codex-execution
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
adc9031
refactor: share Codex construction and stream reduction
mldangelo-oai 036dfa4
test: preserve the Node runtime location in worker fixtures
mldangelo-oai f6f99f9
test: match Windows managed child executable paths
mldangelo-oai 1f16e85
test: resolve shared SDK imports in MCP source fixtures
mldangelo-oai 2135d4c
fix: resolve shared Codex imports in standalone MCP builds
mldangelo-oai 0a37fd0
Merge main into shared execution
mldangelo-oai 6e425e4
Use the Codex client directly at execution boundaries
mldangelo-oai 3bbd4bd
Format Codex SDK import
mldangelo-oai e230677
Test worker shutdown at the real child-process boundary
mldangelo-oai 3808311
Preserve resolved provider settings in scan workers
mldangelo-oai 4ff8103
Pin worker provider and authentication selections per session
mldangelo-oai 0b43c3f
Resolve shared config dependency in standalone MCP builds
mldangelo-oai 8d1d8f9
Keep only the selected provider in worker configuration
mldangelo-oai f34a767
Preserve Python discovery in installed Deep Scan fixtures
mldangelo-oai 2877c44
Compare selected fixture Python by executable identity
mldangelo-oai d4a007b
Protect per-session worker configuration from model tools
5783953
Preserve literal worker denials and use runtime executor settings
mldangelo-oai b80972f
Preserve literal and glob worker denials with identical paths
mldangelo-oai a82da86
Wait for reconstructed worker fixtures to close before cleanup
mldangelo-oai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the selected custom provider contains a literal
experimental_bearer_tokenor authorization header,modelProviderConfigOverrideserializes the full provider definition into the Codex worker's command-line arguments. On Linux, repository-controlled worker tools running with the configured root-read profile can inspect the ancestor command line through/procor process-listing tools and return the credential in a model request. Although this head now denies access to the snapshot file, the new provider tests confirm these secret fields still survive intoconfigOverrides, leaving this separate disclosure path; pass secret material through a mechanism unavailable to sandboxed tools rather than argv.AGENTS.md reference: sdk/typescript/AGENTS.md:L8-L12
Useful? React with 👍 / 👎.