Feature request (Plan mode): add an optional message box when confirming Plan → Execute in Codex VS Code

I’ve been really enjoying Codex, and a lot of the community workflows/guides here have genuinely improved how I use it. I’m currently using the VS Code extension on Windows (and patiently waiting for the standalone app).

One workflow that’s been working great for me is doing a final Plan mode pass before I let Codex execute.

Issue: I often rely on a small set of “execution directives” (commands/rules) that I provide right before execution (e.g., constraints about which files to touch, how to run tests, logging, safety checks, etc.). In normal execution, Codex respects these really well.

But in Plan mode, after Codex produces the plan, the UI only lets me click Approve/Implement Plan (or deny). There’s no place to attach those directives at the moment of execution. Even if I put instructions in AGENTS.md like “when in Plan mode, always apply these directives,” it still sometimes proceeds and then later says something like: “Since you didn’t provide your commands, I didn’t do X.”

Suggested fix / UX tweak:
After Codex presents the final plan and we click Approve/Implement, add an optional message box that gets sent along with the “Implement Plan” action. That way we can add last-second constraints/directives that should apply during execution, without having to redo the entire plan or hope it picks it up from docs.

1 Like

Excellent question. (No I am not a bot :rofl:)

I try to stay current with the changes, but there are only so many seconds in a day.

If hooks align with your use case, you may find this comment helpful:

If that does not address your need, I recommend searching the GitHub OpenAI Codex issues first. If nothing relevant appears, consider opening a new issue with a clear feature request.

Open issues search:
https://github.com/openai/codex/issues?q=is%3Aissue%20state%3Aopen

1 Like

Nice, appreciate the pointer! I’ll take a look.

1 Like

There are 2 ways to do this in vs code afaik:

  • When it asks to implement, it is possible to click the option 2 and describe it
  • Dismiss, and send another prompt. Or if you are ready, tell it to “implement it”. I do this often when i plan with x-high effort and want to change to another model with medium effort for implementation.

The event seems like a great idea too, let’s hope it gets added.