Skip to content

Conversation

@zhao-oai
Copy link
Contributor

@zhao-oai zhao-oai commented Dec 5, 2025

Currently, we only show the “don’t ask again for commands that start with…” option when a command is immediately flagged as needing approval. However, there is another case where we ask for approval: When a command is initially auto-approved to run within sandbox, but it fails to run inside sandbox, we would like to attempt to retry running outside of sandbox. This will require a prompt to the user.

This PR addresses this latter case

@zhao-oai zhao-oai force-pushed the dev/zhao/sandbox-deny-amendment branch 3 times, most recently from 35d468b to bd130e4 Compare December 6, 2025 00:32
@zhao-oai
Copy link
Contributor Author

zhao-oai commented Dec 6, 2025

@codex review

@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@zhao-oai zhao-oai force-pushed the dev/zhao/sandbox-deny-amendment branch from bd130e4 to 5a520f0 Compare December 6, 2025 01:23
@zhao-oai zhao-oai requested a review from bolinfest December 6, 2025 01:25
Copy link
Collaborator

@bolinfest bolinfest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, but please try to tighten up the docstrings/naming.

@zhao-oai zhao-oai force-pushed the dev/zhao/sandbox-deny-amendment branch 3 times, most recently from 3f2d70e to ced46c8 Compare December 8, 2025 17:36
@zhao-oai zhao-oai force-pushed the dev/zhao/sandbox-deny-amendment branch from ced46c8 to f722e95 Compare December 8, 2025 17:39
@zhao-oai zhao-oai enabled auto-merge (squash) December 8, 2025 17:41
@zhao-oai zhao-oai merged commit c2bdee0 into main Dec 8, 2025
26 checks passed
@zhao-oai zhao-oai deleted the dev/zhao/sandbox-deny-amendment branch December 8, 2025 17:55
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants