Skip to content

Conversation

@owenlin0
Copy link
Contributor

Extending the trigger-cmd-approval subcommand to automatically approve the command to see the full flow of an exec approval.

@owenlin0 owenlin0 marked this pull request as ready for review November 18, 2025 23:09
@owenlin0 owenlin0 requested a review from celia-oai November 18, 2025 23:09
Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +24 to +26
use codex_app_server_protocol::CommandExecutionRequestAcceptSettings;
use codex_app_server_protocol::CommandExecutionRequestApprovalParams;
use codex_app_server_protocol::CommandExecutionRequestApprovalResponse;
Copy link
Contributor

Choose a reason for hiding this comment

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

P1 Badge Drop references to missing CommandExecutionRequest types

Imports and the new handler reference CommandExecutionRequest* types and a ServerRequest::CommandExecutionRequestApproval variant, but the codex_app_server_protocol crate only defines ApplyPatchApproval and ExecCommandApproval requests (see app-server-protocol/src/protocol/common.rs:428-433). Because those symbols do not exist in the dependency, this crate will not compile after this commit. Add the corresponding protocol types/variant or remove these references to restore a successful build.

Useful? React with 👍 / 👎.

@owenlin0 owenlin0 merged commit b3a824a into main Nov 18, 2025
25 checks passed
@owenlin0 owenlin0 deleted the owen/auto_approve_trigger_cmd_approval branch November 18, 2025 23:25
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 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