Conversation
There was a problem hiding this comment.
💡 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".
| ### 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. |
There was a problem hiding this comment.
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 👍 / 👎.
No description provided.