Add Codex human-gate delivery permissions - #41
Open
dapi wants to merge 3 commits into
Open
Conversation
dapi
marked this pull request as ready for review
August 4, 2026 18:08
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 freeto 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.
What changed
restrictedand explicit opt-infull-deliveryhuman-gate permission modesWhy
Issue #37 showed that the old launcher contract could reject current Codex CLI syntax and could not complete normal GitHub delivery under
workspace-write. The new semantic mode keeps least privilege by default while allowing explicitly authorized end-to-end delivery.Impact
Existing users remain on
restricted. Users who explicitly selectfull-deliveryrun Codex unsandboxed and can commit, push, and create or update a PR when their GitHub authentication and repository permissions allow it. Product, security, production, and destructive decisions still requireSTATUS: HUMAN_GATE.Validation
make testbash -n test/e2e/human-gate.shshellcheck test/e2e/human-gate.sh0.145.0parser/help validation for both generated command formsManual evidence gate
The live
full-deliveryfixture scenario was not run because repository policy requires a separate explicit request for live agent E2E. It is guarded by bothSTART_ISSUE_E2E=1andSTART_ISSUE_E2E_FULL_DELIVERY=1.Closes#37