codex icon indicating copy to clipboard operation
codex copied to clipboard

[Feature request] More structure for diffs

Open kendonB opened this issue 1 year ago • 1 comments

Each diff would be easier to assess with a brief, plain English explanation, and safer with an associated git commit. Currently codex gives just the diff.

I would go for some logic like:

  • If the changes arising from a prompt will be more than a few lines:
    • First offer the user the plan to sign off on
    • Then offer the user each diff, preceded by a brief explanation of what the diff does with reference to the agreed plan
    • At the end, provide the final summary followed by offering the user a git commit, with the current branch as the default, but one of the menu items being a new branch.

kendonB avatar Apr 17 '25 02:04 kendonB

Thank you for the feedback! Please try the latest version of Codex CLI to see if this feature is still needed. If it is, we'd love to hear more about it in a discussion or see a PR to the codex-rs/ implementation.

codex-maintainers avatar Aug 07 '25 18:08 codex-maintainers