Skip to content

Conversation

@zhao-oai
Copy link
Contributor

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

No description provided.

@zhao-oai zhao-oai enabled auto-merge (squash) December 9, 2025 21:19
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

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".

Comment on lines +17 to +20
### Editing `.execpolicy` files

1. Create a policy directory: `mkdir -p ~/.codex/policy`.
2. Add one or more `.codexpolicy` files in that folder. Codex automatically loads every `.codexpolicy` file in there on startup.
2. Add one or more `.execpolicy` files in that folder. Codex automatically loads every `.execpolicy` file in there on startup.
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 Correct policy file extension in quickstart

The quickstart now instructs users to create .execpolicy files (here on lines 17‑20), but the loader only reads files ending in .codexpolicy (POLICY_EXTENSION and the directory scan in core/src/exec_policy.rs lines 34–35, 304–307). Following the updated docs will produce files that Codex never loads, so policies are silently ignored and commands run without the expected approval prompts. The extension should stay .codexpolicy or the loader should be updated in tandem.

Useful? React with 👍 / 👎.

@zhao-oai zhao-oai merged commit 05e546e into main Dec 9, 2025
11 checks passed
@zhao-oai zhao-oai deleted the zhao-oai-patch-1 branch December 9, 2025 21:23
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 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